﻿/* =========================================
   AYHAN - Master Stylesheet (All Pages)
   ========================================= */

:root {
    --primary: #092B1B;
    --secondary: #123B28;
    --dark: #061B12;
    --gold: #D6AD58;
    --light-gold: #F2D995;
    --cream: #F7F5EF;
    --text: #26352B;
    --white: #FFFFFF;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary);
}

.fs-7 {
    font-size: 0.85rem;
}

.text-dark-green {
    color: var(--primary) !important;
}

.text-gold {
    color: var(--gold) !important;
}

.bg-dark-green {
    background-color: var(--primary) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
}

.bg-cream {
    background-color: var(--cream) !important;
}

.bg-light-green {
    background-color: #f4f7f5 !important;
}

.border-gold {
    border-color: var(--gold) !important;
}

/* ===== Buttons ===== */
.btn-primary-custom {
    background-color: var(--primary);
    color: var(--gold);
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    font-weight: 500;
}

    .btn-primary-custom:hover {
        background-color: var(--dark);
        border-color: var(--gold);
        color: var(--light-gold);
        box-shadow: 0 4px 15px rgba(9, 43, 27, 0.3);
    }

.btn-outline-custom {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    font-weight: 500;
}

    .btn-outline-custom:hover {
        background-color: var(--primary);
        color: var(--gold);
    }

.btn-gold {
    background-color: var(--gold);
    color: var(--dark);
    font-weight: 700;
    transition: all 0.3s ease;
}

    .btn-gold:hover {
        background-color: var(--light-gold);
        color: var(--dark);
    }

/* ===== Header ===== */
.site-header {
    z-index: 1050;
}

.search-box input {
    padding-right: 40px;
    font-size: 0.9rem;
}

.search-box i {
    z-index: 5;
}

/* ===== Decorations ===== */
.deco-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    top: -100px;
    right: -100px;
    background: var(--gold);
    opacity: 0.1;
    z-index: 0;
}

.deco-circle-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    background: var(--primary);
    opacity: 0.05;
    z-index: 0;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card {
    transition: all 0.3s;
    border-color: #eee !important;
}

    .why-card:hover {
        border-color: var(--gold) !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

/* ===== Footer ===== */
footer a {
    transition: color 0.3s;
}

    footer a:hover {
        color: var(--gold) !important;
    }

.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    transition: all 0.3s;
}

    .social-icon:hover {
        background-color: var(--gold);
        color: var(--dark);
    }

/* ===== Animations ===== */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp .9s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: .2s;
}

.delay-2 {
    animation-delay: .4s;
}

.delay-3 {
    animation-delay: .6s;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-delay-1 {
    transition-delay: .15s;
}

.reveal-delay-2 {
    transition-delay: .3s;
}

.reveal-delay-3 {
    transition-delay: .45s;
}

.reveal-delay-4 {
    transition-delay: .6s;
}

/* =========================================
   PAGE: HOME
   ========================================= */
.hero-section {
    background: linear-gradient(135deg, var(--cream) 0%, #fff 100%);
    min-height: 85vh;
    padding: 60px 0;
    position: relative;
}

.hero-img {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.brand-badge {
    width: 120px;
    height: 120px;
    bottom: -20px;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

.feature-box {
    transition: transform 0.3s;
}

    .feature-box:hover {
        transform: translateY(-5px);
    }

.category-img-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.category-item:hover .category-img-wrapper {
    border-color: var(--gold);
    box-shadow: 0 10px 20px rgba(214, 173, 88, 0.2);
}

.category-item {
    display: block;
    color: inherit;
}

    .category-item:hover h6 {
        color: var(--gold) !important;
    }

.product-card {
    transition: all 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
    }

.product-img-wrapper img {
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.wishlist-btn {
    transition: all 0.3s;
}

    .wishlist-btn:hover {
        background-color: var(--cream);
    }

        .wishlist-btn:hover i {
            color: #dc3545;
        }

.promo-banner {
    background-color: var(--primary);
    background-image: radial-gradient(circle at 100% 0%, var(--secondary) 0%, transparent 50%);
}

.promo-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D6AD58' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.article-card img {
    transition: transform 0.5s;
}

.article-card:hover img {
    transform: scale(1.05);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   PAGE: ABOUT US
   ========================================= */
.about-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
}

    .about-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D6AD58' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

    .about-hero .breadcrumb-item a {
        color: var(--light-gold);
        text-decoration: none;
        font-size: .85rem;
    }

    .about-hero .breadcrumb-item.active {
        color: rgba(255,255,255,.6);
        font-size: .85rem;
    }

    .about-hero .breadcrumb-item + .breadcrumb-item::before {
        color: rgba(255,255,255,.4);
    }

    .about-hero h1 {
        color: var(--white);
        font-size: clamp(2rem, 5vw, 3.5rem);
        line-height: 1.3;
        position: relative;
        z-index: 1;
    }

    .about-hero p {
        color: rgba(255,255,255,.7);
        max-width: 600px;
        margin: 1rem auto 0;
        line-height: 2;
        position: relative;
        z-index: 1;
    }

.story-img-wrap {
    position: relative;
}

    .story-img-wrap img {
        border-radius: 30px;
        width: 100%;
        height: 480px;
        object-fit: cover;
        box-shadow: 0 30px 60px rgba(9,43,27,.2);
    }

    .story-img-wrap::after {
        content: '';
        position: absolute;
        inset: 20px -20px -20px 20px;
        border: 2px solid var(--gold);
        border-radius: 30px;
        z-index: -1;
    }

.story-badge {
    position: absolute;
    bottom: -30px;
    left: 30px;
    background: var(--primary);
    color: var(--gold);
    padding: 20px 30px;
    border-radius: 20px;
    border: 2px solid var(--gold);
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,.15);
}

    .story-badge .num {
        font-size: 2rem;
        font-weight: 900;
        line-height: 1;
    }

    .story-badge .lbl {
        font-size: .8rem;
        color: rgba(255,255,255,.7);
    }

.timeline {
    position: relative;
    padding-right: 40px;
}

    .timeline::before {
        content: '';
        position: absolute;
        right: 10px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(180deg, var(--gold), var(--primary));
    }

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

    .timeline-item::before {
        content: '';
        position: absolute;
        right: -34px;
        top: 5px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: var(--gold);
        border: 3px solid var(--white);
        box-shadow: 0 0 0 3px var(--gold);
    }

.timeline-year {
    display: inline-block;
    background: var(--cream);
    color: var(--primary);
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: .85rem;
    margin-bottom: 8px;
}

.value-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all .4s ease;
    position: relative;
    overflow: hidden;
}

    .value-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 4px;
        background: var(--gold);
        transition: width .4s ease;
    }

    .value-card:hover {
        transform: translateY(-8px);
        border-color: var(--gold);
        box-shadow: 0 20px 40px rgba(9,43,27,.08);
    }

        .value-card:hover::before {
            width: 100%;
        }

.stat-box {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 24px;
    background: var(--primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

    .stat-box::after {
        content: '';
        position: absolute;
        width: 150px;
        height: 150px;
        background: var(--gold);
        opacity: .08;
        border-radius: 50%;
        top: -50px;
        right: -50px;
    }

    .stat-box .stat-num {
        font-size: 2.8rem;
        font-weight: 900;
        color: var(--gold);
        line-height: 1;
    }

    .stat-box .stat-lbl {
        color: rgba(255,255,255,.7);
        font-size: .9rem;
        margin-top: .5rem;
    }

.cta-about {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    border-radius: 32px;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

    .cta-about::before {
        content: '';
        position: absolute;
        width: 400px;
        height: 400px;
        background: var(--gold);
        opacity: .08;
        border-radius: 50%;
        top: -150px;
        left: -100px;
    }

    .cta-about::after {
        content: '';
        position: absolute;
        width: 300px;
        height: 300px;
        background: var(--gold);
        opacity: .05;
        border-radius: 50%;
        bottom: -100px;
        right: -80px;
    }

/* =========================================
   PAGE: CONTACT US
   ========================================= */
.contact-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
}

    .contact-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D6AD58' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

    .contact-hero .breadcrumb-item a {
        color: var(--light-gold);
        text-decoration: none;
        font-size: .85rem;
    }

    .contact-hero .breadcrumb-item.active {
        color: rgba(255,255,255,.6);
        font-size: .85rem;
    }

    .contact-hero .breadcrumb-item + .breadcrumb-item::before {
        color: rgba(255,255,255,.4);
    }

    .contact-hero h1 {
        color: var(--white);
        font-size: clamp(2rem, 5vw, 3.5rem);
        line-height: 1.3;
        position: relative;
        z-index: 1;
    }

    .contact-hero p {
        color: rgba(255,255,255,.7);
        max-width: 600px;
        margin: 1rem auto 0;
        line-height: 2;
        position: relative;
        z-index: 1;
    }

.contact-info-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    height: 100%;
    text-align: center;
    transition: all .4s ease;
    position: relative;
    overflow: hidden;
}

    .contact-info-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 4px;
        background: var(--gold);
        transition: width .4s ease;
    }

    .contact-info-card:hover {
        transform: translateY(-8px);
        border-color: var(--gold);
        box-shadow: 0 20px 40px rgba(9,43,27,.08);
    }

        .contact-info-card:hover::before {
            width: 100%;
        }

    .contact-info-card .icon-circle {
        margin: 0 auto 1rem;
        background: var(--cream);
        color: var(--gold);
        width: 70px;
        height: 70px;
        transition: all .4s ease;
    }

    .contact-info-card:hover .icon-circle {
        background: var(--gold);
        color: var(--white);
        transform: rotate(-8deg) scale(1.05);
    }

    .contact-info-card h5 {
        font-weight: 700;
        color: var(--primary);
        margin-bottom: .5rem;
    }

    .contact-info-card a,
    .contact-info-card p {
        color: var(--text);
        font-size: .9rem;
        text-decoration: none;
        margin: 0;
        opacity: .8;
    }

        .contact-info-card a:hover {
            color: var(--gold);
        }

.contact-form-wrap {
    background: var(--white);
    border-radius: 32px;
    padding: 3rem 2.5rem;
    box-shadow: 0 30px 60px rgba(9,43,27,.08);
    position: relative;
    overflow: hidden;
}

    .contact-form-wrap::before {
        content: '';
        position: absolute;
        top: -80px;
        left: -80px;
        width: 200px;
        height: 200px;
        background: var(--gold);
        opacity: .06;
        border-radius: 50%;
    }

    .contact-form-wrap .form-control {
        border: 1.5px solid #e8e8e8;
        border-radius: 14px;
        padding: .85rem 1.2rem;
        font-size: .9rem;
        background: #fafafa;
        transition: all .3s ease;
    }

        .contact-form-wrap .form-control:focus {
            border-color: var(--gold);
            background: var(--white);
            box-shadow: 0 0 0 4px rgba(214,173,88,.12);
        }

    .contact-form-wrap .form-label {
        font-size: .85rem;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: .4rem;
    }

.map-box {
    border-radius: 32px;
    overflow: hidden;
    height: 100%;
    min-height: 420px;
    position: relative;
    box-shadow: 0 20px 40px rgba(9,43,27,.08);
}

    .map-box iframe {
        width: 100%;
        height: 100%;
        border: 0;
        filter: grayscale(.3);
        transition: filter .4s ease;
    }

    .map-box:hover iframe {
        filter: grayscale(0);
    }

.faq-item {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 18px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all .3s ease;
}

    .faq-item:hover {
        border-color: var(--gold);
    }

    .faq-item .accordion-button {
        background: transparent;
        color: var(--primary);
        font-weight: 700;
        font-size: .95rem;
        padding: 1.2rem 1.5rem;
        box-shadow: none;
        border-radius: 18px !important;
    }

        .faq-item .accordion-button:not(.collapsed) {
            background: var(--cream);
            color: var(--primary);
        }

        .faq-item .accordion-button::after {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23D6AD58' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
        }

    .faq-item .accordion-body {
        color: var(--text);
        font-size: .88rem;
        line-height: 2;
        padding: 0 1.5rem 1.3rem;
        opacity: .8;
    }

.cta-contact {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    border-radius: 32px;
    padding: 3.5rem 2rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

    .cta-contact::before {
        content: '';
        position: absolute;
        width: 400px;
        height: 400px;
        background: var(--gold);
        opacity: .08;
        border-radius: 50%;
        top: -150px;
        left: -100px;
    }

    .cta-contact::after {
        content: '';
        position: absolute;
        width: 300px;
        height: 300px;
        background: var(--gold);
        opacity: .05;
        border-radius: 50%;
        bottom: -100px;
        right: -80px;
    }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        text-align: center;
    }

    .brand-badge {
        width: 80px;
        height: 80px;
        right: 50%;
        transform: translateX(50%);
        bottom: -40px;
    }

    .category-img-wrapper {
        width: 70px;
        height: 70px;
    }

    .about-hero {
        padding: 70px 0 60px;
    }

    .story-img-wrap img {
        height: 320px;
    }

    .story-img-wrap::after {
        inset: 15px -15px -15px 15px;
    }

    .story-badge {
        left: 15px;
        padding: 14px 20px;
    }

        .story-badge .num {
            font-size: 1.5rem;
        }

    .timeline {
        padding-right: 32px;
    }

    .contact-hero {
        padding: 70px 0 60px;
    }

    .contact-form-wrap {
        padding: 2rem 1.4rem;
    }

    .map-box {
        min-height: 320px;
    }
}
