/* 1. ԲՐԵՆԴԻ ՓՈՓՈԽԱԿԱՆՆԵՐԸ (Logobook-ի պաշտոնական գույները) */
:root {
    --color-lavender: #E2DEF7;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-gray-dark: #1A1A1A;
    --color-gray-light: #F9F9F9;
    
    --font-primary: 'Plus Jakarta Sans', sans-serif;
}

/* 2. RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Արգելում է էջի սքրոլը, երբ մոբայլ մենյուն բաց է */
body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 88%;
    max-width: 1440px;
    margin: 0 auto;
}

/* 3. HEADER ՈՃԱՎՈՐՈՒՄ (STICKY & BLUR EFFECT) */
.main-header {
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px); /* Ժամանակակից iOS ոճի էֆեկտ */
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

/* Սկզբնական շրջանում թաքցնում ենք մեծ էկրանի մենյուն */
.desktop-only {
    display: none;
}

.cart-btn {
    font-weight: 500;
    font-size: 14px;
    padding: 6px 14px;
    border: 1px solid var(--color-black);
    border-radius: 50px;
}

.cart-btn:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* 4. BURGER MENU BUTTON */
.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 14px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-black);
    transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Բուրգերի անիմացիան (X դառնալը) */
.burger-menu.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.burger-menu.open span:nth-child(2) {
    transform: rotate(-45deg) translateY(-6px);
}

/* MOBILE NAV OVERLAY */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-overlay.open {
    transform: translateY(0);
}

.mobile-menu-links {
    text-align: center;
}

.mobile-menu-links li {
    margin: 25px 0;
}

.mobile-menu-links a {
    font-size: 26px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 5. HERO SECTION */
.hero-section {
    padding: 40px 0 60px 0;
    background-color: var(--color-gray-light);
}

.hero-grid {
    display: flex;
    flex-direction: column-reverse; /* Մոբայլում նկարը բարձրանում է տեքստից վերև */
    gap: 40px;
}

.hero-content {
    text-align: center;
}

.hero-content .subtitle {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: var(--color-gray-dark);
    font-weight: 500;
}

.hero-title {
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 15px;
    opacity: 0.7;
    margin-bottom: 30px;
}

.btn-primary {
    display: block;
    text-align: center;
    padding: 16px 0;
    background-color: var(--color-black);
    color: var(--color-white);
    font-weight: 500;
    border-radius: 50px;
}

.btn-primary:hover {
    background-color: var(--color-lavender);
    color: var(--color-black);
}

/* 6. SWIPER SLIDER スタイル (Հոսունության կոնցեպտ) */
.hero-image {
    width: 100%;
}

.swiper {
    width: 100%;
    height: 350px; /* Մոբայլի բարձրությունը */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Պահպանում է նկարի ճիշտ համամասնությունները */
    background-color: var(--color-lavender); /* Ժամանակավոր ֆոն մինչ նկարի բեռնվելը */
}

/* Կետիկների (Pagination) դիզայնը */
.swiper-pagination-bullet {
    background: var(--color-black) !important;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--color-black) !important;
    opacity: 1;
    width: 18px !important; /* Ակտիվ կետիկի երկարեցում էսթետիկայի համար */
    border-radius: 4px !important;
}


/* -----------------------------------------
   DESKTOP STYLES (Էկրանը մեծ է 768px-ից)
   ----------------------------------------- */
@media (min-width: 768px) {
    .burger-menu {
        display: none;
    }

    .desktop-only {
        display: block;
    }

    .nav-menu ul {
        display: flex;
        gap: 40px;
    }

    .nav-menu a {
        font-size: 15px;
        font-weight: 500;
        opacity: 0.6;
    }

    .nav-menu a:hover, 
    .nav-menu a.active {
        opacity: 1;
    }

    .logo a {
        font-size: 28px;
    }

    /* Դասավորությունը դառնում է կողք կողքի */
    .hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }

    .hero-section {
        padding: 80px 0;
        min-height: calc(100vh - 90px);
        display: flex;
        align-items: center;
    }

    .hero-content {
        text-align: left;
    }

    .hero-title {
        font-size: 54px;
        line-height: 1.1;
        margin-bottom: 25px;
    }

    .hero-desc {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .btn-primary {
        display: inline-block;
        padding: 16px 36px;
    }

    /* Բարձրացնում ենք սլայդերի չափսը համակարգչի վրա */
    .swiper {
        height: 520px;
        border-radius: 24px;
    }
}

.footer-section {
    background-color: #000;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-box h3 {
    margin-bottom: 15px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 10px;
}
.footer-bottom {
    text-align: center;
    font-size: 12px;
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #666;
}


/* Որոնման տողի դիզայն */
#searchInput {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    padding: 14px 25px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    outline: none;
    font-size: 16px;
    background-color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Երբ սեղմում ենք դաշտի վրա */
#searchInput:focus {
    border-color: #ff6b6b; /* Այստեղ դիր քո կայքի գույնը */
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.25);
    transform: scale(1.02);
}

/* Տեքստի գույնը և placeholder-ը */
#searchInput::placeholder {
    color: #aaa;
    font-weight: 300;
}
