/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* CSS Variables for Luxury Soft Glam Theme */
:root {
    --primary-color: #D4A373; /* Champagne Gold / Warm Nude */
    --primary-light: #FAEDCD; /* Ivory / Light Nude */
    --secondary-color: #E2B6B3; /* Blush Pink */
    --text-dark: #2C2A29; /* Dark warm grey for text */
    --text-light: #FDFDFD;
    --background-color: #FAF8F5; /* Very soft warm white */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(190, 169, 153, 0.15);
    --glass-shadow-hover: 0 12px 48px 0 rgba(212, 163, 115, 0.3);
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

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

.section-title {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.4);
}

.btn-primary:hover {
    background-color: #c09162;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 163, 115, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--text-dark);
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.nav-logo {
    height: 45px;
    width: auto;
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-logo {
    filter: invert(0); /* Adjust if the logo needs color flipping */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('../images/hero_background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(44, 42, 41, 0.3), rgba(44, 42, 41, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-quote {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-light);
    font-weight: 400;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s forwards 0.5s;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 1s;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--text-light);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: var(--text-light);
    border-radius: 50%;
    animation: scrollDot 2s infinite;
}

/* Brand Ribbon Marquee */
.brand-ribbon {
    background-color: var(--text-dark); /* Dark warm background for contrast */
    color: var(--primary-light);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    display: flex;
    white-space: nowrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-track {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    animation: scroll-ribbon 30s linear infinite;
    padding-right: 40px; /* Match the gap so loop is seamless */
}

.brand-track img {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.brand-track img:hover {
    opacity: 1;
}

.brand-track:hover {
    animation-play-state: paused;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding-top: 20px;
}

.portfolio-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.portfolio-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(44,42,41,0.8), transparent);
    color: var(--text-light);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-card:hover {
    box-shadow: var(--glass-shadow-hover);
    transform: translateY(-10px);
}

.portfolio-card:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
}

/* Consultation Services Section */
.consultation-section {
    background: linear-gradient(135deg, var(--primary-light), var(--background-color));
}

.consultation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 4rem;
}

.service-card {
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glass-shadow-hover);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Outfits Section */
.outfits-section {
    background-color: var(--background-color);
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, rgb(138, 143, 147), rgb(114, 115, 120)); /* Matched to prats.jpeg */
    color: var(--text-light);
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.about-image::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    width: auto;
    height: auto;
    border: 2px solid var(--primary-light);
    border-radius: 25px; /* slightly larger than image border radius */
    z-index: 1; /* Place above the shadow but below image? Actually, leaving at -1 puts it behind the image, but since it's larger on all sides it will look perfectly wrapped */
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.about-text h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #eaeaea;
}

.why-choose-list {
    list-style: none;
    margin-top: 30px;
}

.why-choose-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #eaeaea;
}

.why-choose-list li::before {
    content: '✧';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-size: 1.2rem;
}

/* Split-Screen Service Panel */
.service-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.service-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.service-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    background: var(--background-color);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-panel-overlay.active .service-panel {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.panel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    border: none;
    transition: var(--transition-smooth);
}

.panel-close:hover {
    background: var(--primary-color);
    color: white;
}

.panel-left {
    flex: 1;
    position: relative;
}

.panel-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panel-right {
    flex: 1;
    padding: 50px 40px;
    overflow-y: auto;
    background: #fff;
}

.panel-right h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.package-tiers {
    margin-top: 30px;
}

.tier {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.tier:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(212, 163, 115, 0.1);
}

.tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tier-header h4 {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 600;
}

.tier-price {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.tier ul {
    list-style: none;
    font-size: 0.9rem;
    color: #666;
}

.tier ul li {
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.tier ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Footer */
footer {
    background: #1A1A1A;
    color: #fff;
    padding: 60px 0 20px;
    text-align: center;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-links a {
    color: #fff;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    color: var(--primary-color);
}

.copyright {
    font-size: 0.85rem;
    color: #888;
    border-top: 1px solid #333;
    padding-top: 20px;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

@keyframes scrollDot {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@keyframes scroll-ribbon {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Booking Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
    background: #fff;
    color: var(--text-dark);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.2);
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .about-content {
        flex-direction: column;
    }
    .hero-quote {
        font-size: 2rem;
    }
    .service-panel {
        flex-direction: column;
        height: 90vh;
        overflow-y: auto;
    }
    .panel-left {
        height: 300px;
        flex: none;
    }
}
}
@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile nav hide for now */
    }
}

/* Lightbox Modal */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* For zooming */
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lightbox-content img.zoomed {
    transform: scale(2);
    cursor: zoom-out;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 4010;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--primary-color);
}

/* Panel Slideshow */
.panel-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
}

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    cursor: zoom-in;
}

.slide-img.active {
    opacity: 1;
    z-index: 1;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 5;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.slide-prev { left: 15px; }
.slide-next { right: 15px; }
