/* --- РЕСЕТ И ОСНОВНИ СТИЛОВИ --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    background-color: #FCFBFA;
    font-family: 'Montserrat', sans-serif;
    color: #111111;
    -webkit-font-smoothing: antialiased;
    padding-top: 120px;
    
    /* Стики футер фикс: Го принудува футерот да е секогаш на дното и трга секаков вишок простор */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; 
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 60px;
    z-index: 1000;
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    transition:
    background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.4s ease;
}

.site-header:hover {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 4px;
    color: #000000;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 45px;
}

.nav-links a {
    font-family: 'Cormorant Garamond', serif;
    color: inherit;
    text-decoration: none;
    font-size: 18.5px;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

.header-icons {
    display: flex;
    gap: 20px;
}

.icon-btn {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: transform 0.2s ease;
}

h1, h2, p {
    font-family: "Cormorant Garamond", serif;
}

.icon-btn:hover {
    transform: scale(1.05);
}

/* --- MEGA MENU --- */
.clothing-wrapper, .tailoring-wrapper, .occasion-wrapper {
    display: inline-block; 
}

.mega-menu {
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 40px 8% 60px 8%;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(15px); 
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    z-index: 999;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.clothing-wrapper:hover .mega-menu, 
.tailoring-wrapper:hover .mega-menu,
.occasion-wrapper:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.3s ease 0s, transform 0.3s ease 0s, visibility 0s linear 0s;
}

.clothing-wrapper:hover > a, 
.tailoring-wrapper:hover > a,
.occasion-wrapper:hover > a {
    text-decoration: underline !important;
    text-underline-offset: 6px;
    cursor: pointer !important;
    color: #000000 !important;
}

.clothing-wrapper > a, .tailoring-wrapper > a, .occasion-wrapper > a {
    position: relative; 
    cursor: pointer !important;
}

.clothing-wrapper > a::after, .tailoring-wrapper > a::after, .occasion-wrapper > a::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 60px;
    background: transparent;
    z-index: 998;
}

.mega-menu-left { display: flex; gap: 120px; }
.mega-menu-column { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.mega-menu-column h4 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 5px;
    color: #000000;
}
.mega-menu-column a {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    letter-spacing: 1.5px !important;
    color: #555555 !important;
    font-weight: 400 !important;
    transition: color 0.3s ease !important;
    text-decoration: none;
}
.mega-menu-column a:hover { color: #000000 !important; opacity: 1 !important; }
.mega-menu-right { display: flex; gap: 30px; }
.mega-img-wrapper { width: 250px; height: 330px; overflow: hidden; }
.mega-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.mega-img-wrapper:hover img { transform: scale(1.04); }

.tailoring-grid { display: flex; gap: 30px; width: 100%; justify-content: center; }
.tailoring-card { position: relative; flex: 1; max-width: 380px; height: 330px; overflow: hidden; display: block; text-decoration: none; }
.tailoring-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tailoring-card:hover img { transform: scale(1.04); }
.card-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%); z-index: 1; pointer-events: none; }
.card-title { position: absolute; bottom: 25px; left: 30px; color: #ffffff; font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400; letter-spacing: 1px; z-index: 2; }

.occasion-left { width: 25%; }
.occasion-right { display: flex; gap: 30px; justify-content: flex-end; }
.occasion-card { position: relative; width: 250px; height: 330px; overflow: hidden; display: block; text-decoration: none; }
.occasion-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.occasion-card:hover img { transform: scale(1.04); }
.occasion-card .card-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 40%; background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%); z-index: 1; pointer-events: none; }
.occasion-card .card-title { position: absolute; bottom: 20px; right: 20px; color: #ffffff; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 300; letter-spacing: 2px; z-index: 2; text-transform: uppercase; }

/* --- ТАИЛОРНИНГ СЕКЦИЈА --- */
.bespoke-journey { 
    background-color: #FCFBFA; 
    padding: 150px 0; 
    overflow: hidden; 
    flex: 1; /* Ова ја шири главната содржина за да го турне футерот скроз до доле */
}
.journey-header, .journey-cta { padding: 0 5%; text-align: center; max-width: 800px; margin: 0 auto; }
.journey-header { margin-bottom: 100px; }
.journey-header .subtitle { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 4px; color: #888888; margin-bottom: 15px; }
.journey-header h2 { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 400; margin-bottom: 20px; }
.journey-header p { font-size: 1rem; line-height: 1.8; color: #555555; }
.journey-timeline { display: flex; flex-direction: column; width: 100%; gap: 0; }
.journey-step { display: flex; align-items: center; width: 100%; min-height: 80vh; }
.journey-step.reverse { flex-direction: row-reverse; }
.step-visual { width: 50%; height: 100%; }
.image-wrapper { width: 100%; height: 80vh; overflow: hidden; position: relative; }
.image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.step-info { width: 50%; padding: 0 10%; display: flex; flex-direction: column; justify-content: center; }
.watermark-num { position: absolute; top: 5%; left: 5%; font-family: 'Cormorant Garamond', serif; font-size: 12rem; opacity: 0.1; z-index: 0; pointer-events: none; }
.step-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 500; margin-bottom: 20px; position: relative; z-index: 1; }
.step-info p { font-size: 1rem; line-height: 1.8; color: #666666; position: relative; z-index: 1; max-width: 500px; }
.journey-cta { margin-top: 150px; padding-top: 100px; border-top: 1px solid #EAEAEA; text-align: center; }
.journey-cta h2 { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 400; margin-bottom: 20px; }
.journey-cta p { font-size: 1.1rem; color: #666666; margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn-luxury { display: inline-block; padding: 20px 50px; background-color: #111111; color: #FFFFFF; text-decoration: none; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 3px; transition: all 0.4s ease; border: 1px solid #111111; }
.btn-luxury:hover { background-color: transparent; color: #111111; }

/* --- АНИМАЦИИ --- */
.reveal-up, .reveal-left, .reveal-right { opacity: 0; transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-up.active, .reveal-left.active, .reveal-right.active { opacity: 1; transform: translate(0); }

/* --- ФУТЕР --- */
.site-footer { background-color: #ffffff; color: #000000; padding: 160px 8% 30px 8%; font-family: 'Inter', sans-serif; border-top: 1px solid rgba(0, 0, 0, 0.1); width: 100%; margin-top: auto; }
.footer-top { display: flex; justify-content: space-between; margin-bottom: 70px; flex-wrap: wrap; gap: 50px; }
.footer-left { flex: 1; min-width: 300px; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 500; letter-spacing: 5px; margin-bottom: 40px; }
.newsletter-box { display: flex; border: 1px solid #000000; max-width: 300px; height: 45px; }
.newsletter-input { flex: 1; padding: 0 15px; border: none; outline: none; font-family: 'Cormorant Garamond', serif; font-size: 16px; color: #333; }
.newsletter-btn { background: transparent; border: none; border-left: 1px solid #000000; padding: 0 20px; cursor: pointer; font-size: 18px; transition: background-color 0.3s ease, color 0.3s ease; }
.newsletter-btn:hover { background-color: #000000; color: #ffffff; }
.footer-links { flex: 2; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-top: 10px; }
.link-column { display: flex; flex-direction: column; gap: 22px; }
.footer-link { font-family: 'Inter', sans-serif; font-size: 13px; letter-spacing: 1.5px; color: #000000; text-decoration: none; position: relative; width: fit-content; font-weight: 400; }
.footer-link::after { content: ''; position: absolute; width: 0; height: 1px; bottom: -4px; left: 0; background-color: #000000; transition: width 0.3s ease; }
.footer-link:hover::after { width: 100%; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.2); flex-wrap: wrap; gap: 30px; }
.bottom-left, .bottom-right { display: flex; gap: 40px; align-items: center; }
.bottom-center { display: flex; gap: 40px; align-items: center; }
.bottom-center p { font-family: 'Inter', sans-serif; font-size: 13px; letter-spacing: 1.5px; font-weight: 400; color: #000000; }
.social-link { display: flex; align-items: center; gap: 15px; }
.social-link::after { display: none; }
.social-link:hover { opacity: 0.6; transition: opacity 0.3s ease; }
.social-icon { width: 22px; height: 22px; }

.mobile-hamburger { display: none; }

/* --- PANELS (SEARCH & CART) --- */
.search-overlay, .cart-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); opacity: 0; pointer-events: none; z-index: 10005; transition: opacity 0.5s ease; }
.search-overlay.active, .cart-overlay.active { opacity: 1; pointer-events: auto; }

.search-panel { position: fixed; top: 0; right: -100%; width: 600px; max-width: 100%; height: 100vh; background-color: #ffffff; z-index: 10006; transition: right 0.7s cubic-bezier(0.25, 1, 0.5, 1); padding: 80px 60px; display: flex; flex-direction: column; color: #000000; box-shadow: -10px 0 40px rgba(0,0,0,0.06); }
.search-panel.active { right: 0; }
.search-close-btn { background: none; border: none; cursor: pointer; color: #000000; position: absolute; top: 45px; right: 50px; transition: transform 0.4s ease, opacity 0.4s ease; padding: 10px; }
.search-close-btn:hover { transform: rotate(90deg); opacity: 0.5; }
.search-content { margin-top: 80px; }
.search-title { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 40px; color: #666666; }
.search-input-wrapper { display: flex; align-items: center; border-bottom: 1px solid #e5e5e5; padding-bottom: 15px; }
.search-input { flex: 1; border: none; outline: none; font-family: 'Cormorant Garamond', serif; font-size: 34px; color: #000000; background: transparent; }
.search-input::placeholder { color: #cccccc; font-style: italic; font-weight: 300; }
.search-submit-btn { background: none; border: none; cursor: pointer; color: #000000; padding-left: 20px; transition: opacity 0.3s ease; }
.search-submit-btn:hover { opacity: 0.5; }
.search-suggestions { margin-top: 50px; }
.suggestions-heading { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; color: #888888; }
.suggestions-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.suggestions-list li a { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: #000000; text-decoration: none; display: inline-block; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease; }
.suggestions-list li a:hover { opacity: 0.5; transform: translateX(8px); }

.cart-panel { position: fixed; top: 0; right: -500px; width: 500px; max-width: 100%; height: 100vh; background: #fff; z-index: 10006; transition: right .6s ease; display: flex; flex-direction: column; }
.cart-panel.active { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 40px 50px 20px; border-bottom: 1px solid #eeeeee; }
.cart-title { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 400; color: #000000; }
.cart-close-btn { background: none; border: none; cursor: pointer; color: #000000; transition: transform 0.4s ease, opacity 0.3s ease; padding: 5px; }
.cart-close-btn:hover { transform: rotate(90deg); opacity: 0.5; }
.cart-content { flex: 1; padding: 30px 50px; overflow-y: auto; }
.cart-item { display: flex; gap: 25px; margin-bottom: 35px; }
.cart-item-img-wrapper { width: 120px; height: 160px; background-color: #f9f9f9; flex-shrink: 0; overflow: hidden; }
.cart-item-img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; display: flex; flex-direction: column; }
.cart-item-top { display: flex; justify-content: space-between; margin-bottom: 10px; }
.cart-item-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; color: #000000; margin: 0; }
.cart-item-price { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; color: #000000; }
.cart-item-meta { font-family: 'Inter', sans-serif; font-size: 13px; color: #777777; margin-bottom: 5px; }
.cart-item-bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; }
.cart-quantity { display: flex; align-items: center; border: 1px solid #dddddd; }
.qty-btn { background: none; border: none; padding: 8px 12px; cursor: pointer; font-size: 14px; color: #000000; transition: background-color 0.3s; }
.qty-btn:hover { background-color: #f0f0f0; }
.qty-num { font-family: 'Inter', sans-serif; font-size: 13px; padding: 0 10px; }
.cart-item-remove { background: none; border: none; font-family: 'Inter', sans-serif; font-size: 12px; color: #999999; text-decoration: underline; cursor: pointer; transition: color 0.3s; }
.cart-item-remove:hover { color: #000000; }
.cart-footer { padding: 30px 50px; border-top: 1px solid #eeeeee; background-color: #ffffff; }
.cart-subtotal { display: flex; justify-content: space-between; font-family: 'Inter', sans-serif; font-size: 16px; color: #000000; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.cart-shipping-note { font-family: 'Inter', sans-serif; font-size: 12px; color: #777777; margin-bottom: 25px; }
.cart-checkout-btn { width: 100%; background-color: #000000; color: #ffffff; border: 1px solid #000000; padding: 18px; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease; }
.cart-checkout-btn:hover { background-color: #ffffff; color: #000000; }


/* Сокривање на мобилното мени на десктоп за да не прави празен простор */
.mobile-menu-panel {
    display: none;
}

/* =======================================================
   МОБИЛНА И ТАБЛЕТ ВЕРЗИЈА (ПОД 1024px ЗА СИТЕ УРЕДИ)
======================================================= */
@media (max-width: 1024px) {
    .site-header {
        padding: 20px 25px;
    }
    
    .nav-links, .desktop-profile {
        display: none !important;
    }

    .header-icons {
        margin-left: auto;
        margin-right: 25px; 
        display: flex;
        gap: 15px; 
    }

    .mobile-hamburger {
        display: flex;
        background: none;
        border: none;
        color: #000;
        cursor: pointer;
    }

    .mobile-menu-panel {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 100%;
        height: 100vh;
        background-color: #ffffff;
        z-index: 10006;
        display: flex;
        flex-direction: column;
        transition: right 0.5s cubic-bezier(0.25, 1, 0.5, 1);
        overflow-y: auto;
    }

    .mobile-menu-panel.active { right: 0; }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 25px;
        border-bottom: 1px solid #eeeeee;
    }

    .mobile-profile-btn {
        background: none;
        border: none;
        color: #000;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-logo {
        font-family: 'Cormorant Garamond', serif;
        font-size: 24px;
        color: #000;
        text-decoration: none;
        letter-spacing: 2px;
    }

    .mobile-close-btn {
        background: none;
        border: none;
        cursor: pointer;
        color: #000;
        display: flex;
        align-items: center;
    }

    .mobile-menu-content { padding: 0 25px; }

    .mobile-accordion-btn, .mobile-single-link {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 25px 0;
        background: none;
        border: none;
        border-bottom: 1px solid #f5f5f5;
        font-family: 'Inter', sans-serif;
        font-size: 15px;
        color: #000;
        cursor: pointer;
        text-decoration: none;
    }

    .caret {
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        font-weight: 300;
        transition: transform 0.3s ease;
    }

    .mobile-accordion.active .caret { transform: rotate(180deg); }

    .mobile-accordion-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        background-color: #fafafa;
        padding: 0 40px;
        margin: 0 -25px;
    }

    .mobile-accordion.active .mobile-accordion-body {
        max-height: 800px;
        padding: 20px 40px;
    }

    .mobile-accordion-body a {
        display: block;
        padding: 12px 0;
        color: #555;
        text-decoration: none;
        font-family: 'Inter', sans-serif;
        font-size: 14px;
    }

    .mob-cat-images {
        display: flex;
        gap: 10px;
        margin-top: 15px;
    }

    .mob-cat-images img {
        width: calc(50% - 5px);
        border-radius: 4px;
    }

    .journey-step, .journey-step.reverse { flex-direction: column !important; }
    .step-visual, .step-info { width: 100% !important; }
    .image-wrapper { height: 60vh; }
    .watermark-num { font-size: 8rem; top: 5%; }
    .journey-header h2 { font-size: 2.5rem; }
    .step-info { padding: 40px 20px; text-align: center; align-items: center; }
    .step-info p { max-width: 100%; }
}