/*
Theme Name: Papailiou Maison
Author: Schempnefsis
Description: High-End Luxury Fashion Theme (V32 - Golden Border & Mobile Center Fix)
Version: 32.0
*/

:root {
    --bg-white: #FFFFFF;
    --text-black: #111111;
    --gold: #C5A059;
    --salmon: #FADAD3;
    --bg-stone: #F2F0EB; 
    --font-head: 'Playfair Display', serif; 
    --font-body: 'Manrope', sans-serif;
    --font-script: 'Pinyon Script', cursive; 
    --header-height: 90px;
    --container-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { 
    background: var(--bg-white); 
    color: var(--text-black); 
    font-family: var(--font-body); 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; text-transform: uppercase; margin: 0; }
img { width: 100%; display: block; object-fit: cover; }
a { text-decoration: none; color: inherit; transition: 0.4s ease; }

/* --- HEADER --- */
header {
    position: fixed; top: 0; width: 100%; height: var(--header-height);
    padding: 0 50px; display: flex; justify-content: space-between; align-items: center;
    z-index: 99999; 
    background-color: #000000; color: #ffffff;
    border-bottom: 1px solid var(--gold);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}
header.glass-mode { background-color: transparent !important; border-bottom: 1px solid rgba(255,255,255,0.1); }
.logo { font-size: 24px; font-weight: 700; letter-spacing: 5px; display: flex; align-items: center; justify-content: center; gap: 15px; color: #ffffff !important; }
.logo-img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.menu-trigger { cursor: pointer; letter-spacing: 2px; font-size: 12px; font-weight: 600; color: #ffffff !important; position: relative; z-index: 100000; }
.header-tools { font-size: 12px; letter-spacing: 1px; color: #ffffff !important; }

/* --- FULL SCREEN MENU --- */
.full-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background-color: #000000; z-index: 99990; padding-top: var(--header-height);
    display: flex; flex-direction: column; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.5s ease;
}
.full-menu.active { opacity: 1; pointer-events: auto; }
.menu-container { display: flex; justify-content: center; gap: 150px; padding: 0 4vw; }
.menu-col { display: flex; flex-direction: column; }
.menu-title { font-size: 12px; letter-spacing: 2px; color: var(--gold); margin-bottom: 30px; opacity: 0.8; }
.menu-list { list-style: none; }
.menu-list li { margin-bottom: 15px; }
.menu-list a { font-family: var(--font-head); font-size: 32px; color: #ffffff; text-decoration: none; transition: all 0.3s ease; display: inline-block; }
.menu-list a:hover { color: var(--gold); font-style: italic; transform: translateX(10px); }
.menu-list .sub-item a { font-family: var(--font-body); font-size: 16px; color: #999; }
.menu-list .sub-item a:hover { color: #fff; transform: translateX(5px); font-style: normal; }
.menu-list .highlight { font-weight: 700; }
.menu-list .view-all { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid #fff; }
.menu-footer { position: absolute; bottom: 40px; left: 0; width: 100%; display: flex; justify-content: space-between; padding: 0 50px; color: #fff; font-size: 12px; letter-spacing: 1px; }
.menu-footer a { margin-right: 20px; transition: color 0.3s; }
.menu-footer a:hover { color: var(--gold); }

/* --- HERO SECTION --- */
.hero-section { height: 100vh; width: 100%; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; background-color: #000000; }
.hero-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }

.hero-img { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    object-fit: cover; object-position: top center; 
    opacity: 0; transition: opacity 1.5s ease-in-out; 
    filter: brightness(0.8) contrast(1.2) grayscale(0.1);
}

.hero-img.active { opacity: 1; z-index: 1; }
.hero-img.zoom-effect { transform: scale(1); transition: transform 6s linear, opacity 1.5s ease; }
.hero-img.active.zoom-effect { transform: scale(1.05); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.2); z-index: 2; pointer-events: none; }
.hero-content { text-align: center; color: #fff; z-index: 3; position: relative; text-shadow: 0 2px 10px rgba(0,0,0,0.3); width: 90%; transition: opacity 0.5s ease; }
.hero-content.content-hidden { opacity: 0; pointer-events: none; }
.display-text { font-size: 6vw; line-height: 0.9; letter-spacing: -2px; }
.subtitle { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 15px; display: block; }

#open-boutique-modal {
    position: relative; z-index: 50; pointer-events: auto !important;
    display: inline-block; border: 1px solid #fff; color: #fff; 
    padding: 15px 40px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; 
    margin-top: 30px; background: rgba(0,0,0,0.3); cursor: pointer; transition: 0.4s ease;
}
#open-boutique-modal:hover { background-color: var(--gold) !important; border-color: var(--gold) !important; color: #fff !important; }

.btn-gold { display: inline-block; border: 1px solid var(--gold); color: #fff; padding: 15px 40px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-top: 30px; background: rgba(0,0,0,0.3); cursor: pointer; transition: 0.3s; }
.btn-gold:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* --- CHOREOGRAPHY --- */
.hero-big-logo { position: absolute; left: 50%; transform: translateX(-50%); z-index: 10; top: 0; font-family: var(--font-head); font-size: 10vw; font-weight: 700; letter-spacing: 5px; color: #ffffff; -webkit-text-stroke: 1px var(--gold); paint-order: stroke fill; white-space: nowrap; text-shadow: 0 5px 15px rgba(0,0,0,0.3); opacity: 0; pointer-events: none; }
.hero-big-logo.start-animation { animation: logoChoreography 2.5s forwards ease-in-out; }
@keyframes logoChoreography { 0% { top: 0; opacity: 0; } 30% { top: 25%; opacity: 1; } 60% { top: 25%; opacity: 1; } 100% { top: calc(var(--header-height) + 10px); opacity: 1; } }

/* --- MARQUEE --- */
.marquee { white-space: nowrap; overflow: hidden; padding: 25px 0; border-bottom: 1px solid var(--gold); background: var(--bg-white); }
.marquee span { display: inline-block; padding-left: 100%; animation: marquee 25s linear infinite; font-family: var(--font-head); font-size: 60px; color: var(--text-black); }
@keyframes marquee { 0% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0); } }

/* --- CAMPAIGN --- */
.campaign-section { display: flex; align-items: center; justify-content: space-between; padding: 100px 4vw; max-width: 1600px; margin: 0 auto; gap: 60px; }
.campaign-text { width: 45%; padding: 0; }
.campaign-img { width: 55%; height: 700px; position: relative; border: 1px solid rgba(0,0,0,0.08); box-shadow: 20px 20px 0px var(--bg-stone); }
.campaign-img img { width: 100%; height: 100%; object-fit: cover; }
.font-calligraphy { font-family: var(--font-script) !important; text-transform: none !important; font-size: 5vw !important; font-weight: 400 !important; line-height: 1.1; margin-bottom: 15px; }

/* --- COLLECTION --- */
.collection-section { padding: 120px 0; background-color: var(--bg-stone); border-top: 1px solid rgba(0,0,0,0.05); display: flex; flex-direction: column; align-items: center; }
.collection-header, .collection-scroller { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.collection-header { margin-bottom: 40px; display: flex; justify-content: space-between; align-items: flex-end; }
.collection-header .display-text { margin-bottom: 0; letter-spacing: -1px; text-align: left; }
.collection-header a { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; border-bottom: 1px solid var(--text-black); padding-bottom: 2px; opacity: 0.6; transition: 0.3s; white-space: nowrap; }
.collection-header a:hover { opacity: 1; }
.collection-scroller { padding: 20px 0; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.collection-card { width: 31%; flex-shrink: 0; cursor: pointer; transition: transform 0.5s ease; }
.collection-card:hover { transform: translateY(-15px); }
.card-img { aspect-ratio: 3/4; height: auto; min-height: 450px; background: #fff; margin-bottom: 25px; position: relative; overflow: hidden; border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; filter: saturate(0.95); }
.collection-card:hover .card-img img { transform: scale(1.05); filter: saturate(1.1); }
.collection-card h3 { font-size: 18px; margin-bottom: 5px; letter-spacing: 0.5px; }
.card-price { color: var(--gold); font-weight: 600; margin-top: 8px; font-family: var(--font-body); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }

/* --- PRIVATE SHOPPING --- */
.newsletter-section { background: var(--salmon); padding: 140px 4vw; text-align: center; position: relative; }
.private-desc { font-family: var(--font-head); font-size: 24px; color: #333; max-width: 700px; margin: 0 auto 10px auto; line-height: 1.5; font-style: italic; }

/* --- BOUTIQUE MODAL --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); backdrop-filter: blur(10px); z-index: 200000; opacity: 0; pointer-events: none; transition: opacity 0.5s ease; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content { width: 90%; max-width: 1200px; max-height: 80vh; background-color: var(--bg-stone); position: relative; box-shadow: 0 25px 60px rgba(0,0,0,0.6); overflow-y: auto; border-radius: 4px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 40px; color: var(--text-black); cursor: pointer; z-index: 20; line-height: 0.8; transition: 0.3s; font-weight: 300; }
.close-modal:hover { color: var(--gold); transform: rotate(90deg); }
.modal-grid { display: flex; width: 100%; min-height: 100%; }
.modal-img-col { width: 50%; background: #000; min-height: 400px; position: relative; overflow: hidden; }
.modal-slider-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; transform: scale(1); filter: brightness(0.8) contrast(1.2) grayscale(0.1); }
.modal-slider-img.active { opacity: 1; z-index: 1; }
.modal-slider-img.zoom-effect { transition: transform 6s linear, opacity 1s ease; }
.modal-slider-img.active.zoom-effect { transform: scale(1.1); }
.modal-text-col { width: 50%; padding: 60px 70px; display: flex; flex-direction: column; justify-content: flex-start; text-align: left; padding-top: 80px; }
.modal-text-col h3 { font-family: var(--font-head); font-size: 36px; margin-bottom: 20px; color: var(--text-black); letter-spacing: -1px; margin-top: 0; }
.modal-desc { font-family: var(--font-head); font-style: italic; font-size: 19px; line-height: 1.5; color: #444; margin-bottom: 40px; margin-top: 0; }
.boutique-details { font-family: var(--font-body); }
.boutique-details p, .boutique-details strong { margin-top: 0 !important; }
.boutique-details p { margin-bottom: 20px !important; font-size: 15px; letter-spacing: 0.2px; color: #111; line-height: 1.4; font-weight: 400; }
.boutique-details strong { display: block; font-size: 10px; letter-spacing: 2px; color: var(--gold); margin-bottom: 2px !important; text-transform: uppercase; font-weight: 700; }
.boutique-details a { text-decoration: none; border-bottom: 1px solid #ccc; transition: 0.3s; }
.boutique-details a:hover { border-color: var(--text-black); }

/* --- FOOTER (FIXED & GOLD BORDER) --- */
footer { 
    background: #000000; 
    color: #fff; 
    padding: 100px 4vw 60px; 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1.5fr; 
    gap: 60px; 
    /* RESTORED GOLD BORDER */
    border-top: 1px solid var(--gold); 
    font-family: var(--font-body);
}

.footer-col h4 { font-size: 11px; margin-bottom: 30px; letter-spacing: 3px; color: var(--gold); font-weight: 600; }
.footer-logo { font-family: var(--font-head); font-size: 24px; letter-spacing: 2px; margin-bottom: 20px; color: #fff; }
.footer-desc { color: #888; font-size: 14px; line-height: 1.8; max-width: 300px; margin-bottom: 30px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 15px; }
.footer-col li a { color: #bbb; font-size: 14px; transition: 0.3s; text-decoration: none; letter-spacing: 0.5px; }
.footer-col li a:hover { color: #fff; padding-left: 5px; }
.footer-address p { margin-bottom: 15px; color: #bbb; font-size: 14px; line-height: 1.6; }
.footer-address a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 2px; }
.footer-address a:hover { border-color: var(--gold); color: var(--gold); }
.footer-hours { margin-top: 20px; font-size: 12px; color: #666; text-transform: uppercase; letter-spacing: 1px; }
.footer-socials { display: flex; gap: 20px; margin-top: 10px; }
.footer-socials a { font-size: 11px; letter-spacing: 1px; color: #fff; border-bottom: 1px solid transparent; }
.footer-socials a:hover { color: var(--gold); border-color: var(--gold); }

/* COPYRIGHT BAR */
.copyright-bar {
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 40px 20px;
    display: flex; flex-direction: column; align-items: center; gap: 15px;
    font-size: 11px; color: #666; letter-spacing: 1px; text-transform: uppercase; text-align: center;
}
.copyright-bar a { color: #888; text-decoration: none; }
.copyright-bar a:hover { color: #fff; }
.credits { display: flex; align-items: center; justify-content: center; gap: 8px; }
.credits img { height: 14px; width: auto; opacity: 0.7; transition: 0.3s; display: block; }
.credits a:hover img { opacity: 1; }

/* =========================================
   MOBILE FIXES
   ========================================= */
@media screen and (max-width: 768px) {
    :root { --header-height: 70px; }
    header { height: 70px !important; padding: 0 15px !important; }
    .logo { font-size: 16px; letter-spacing: 1px; }
    .logo-img { height: 25px; } 
    .hero-section { height: 100vh !important; }
    .display-text { font-size: 12vw; }
    .hero-big-logo { font-size: 14vw; }
    
    .menu-container { flex-direction: column; gap: 40px; text-align: center; }
    .menu-col { width: 100%; }
    .menu-list a { font-size: 24px; }
    .menu-footer { padding: 0 20px; }

    .campaign-section { padding: 60px 20px; flex-direction: column-reverse; }
    .campaign-img { height: 400px; width: 100%; box-shadow: 10px 10px 0px var(--bg-stone); }
    .campaign-text { width: 100%; padding: 20px 0; }
    .font-calligraphy { font-size: 12vw !important; }

    .collection-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .collection-scroller { display: flex; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; gap: 15px; padding: 0 4vw 40px 4vw; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
    .collection-scroller::-webkit-scrollbar { display: none; }
    .collection-card { width: 85vw; margin-right: 0; scroll-snap-align: center; }
    .card-img { height: 450px; } 

    .newsletter-section { padding: 80px 20px; }
    .private-desc { font-size: 18px; }
    
    /* MODAL MOBILE */
    .modal-content { width: 95%; max-height: 85vh; display: flex; flex-direction: column; }
    .modal-grid { flex-direction: column; }
    .modal-img-col { width: 100%; height: 350px; min-height: 350px; flex-shrink: 0; }
    .modal-text-col { width: 100%; padding: 30px 20px; padding-top: 30px; }
    .modal-text-col h3 { font-size: 26px; }
    .close-modal { top: 10px; right: 15px; }

    /* FOOTER MOBILE - CENTERED */
    footer { 
        grid-template-columns: 1fr; 
        gap: 40px; 
        text-align: center; 
        padding: 60px 20px; 
    }
    
    /* Center Flex items specifically for mobile */
    .footer-socials { justify-content: center; }
    
    /* Center the description text on mobile by forcing auto margins */
    .footer-desc { margin: 0 auto 30px auto; }
}