/* ==========================================================================
   Base Colors & Variables - Itigo Beauty x Karine
   ========================================================================== */
:root {
    /* Brand Colors */
    --clr-primary: #5C1D2A; /* Deep Burgundy / Itigo Red */
    --clr-gold: #C5A880;    /* Champagne Gold */
    --clr-gold-light: #DFCDAE; /* Lighter Champagne */
    --clr-blush: #F4EFEA;   /* Soft Blush / Nude */
    
    /* Grays & Neutrals */
    --clr-bg-main: #FDFBF7; /* Warm White */
    --clr-bg-card: #FFFFFF;
    --clr-text: #2A2522;    /* Onyx / Soft Black */
    --clr-text-light: #6C635B;
    --clr-border: #E8DFD5;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Layout */
    --nav-height: 80px;
    --container-max-width: 1200px;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 4px; /* Minimal, elegant radius */
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    color: var(--clr-text);
    background-color: var(--clr-bg-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-primary);
    font-weight: 400;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: var(--clr-gold);
    margin: 1.5rem auto 0;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--clr-text-light);
    font-size: 1.05rem;
}

a {
    color: var(--clr-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Utilities
   ========================================================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.italic { font-style: italic; }
.gold-text { color: var(--clr-gold); }
.uppercase { text-transform: uppercase; letter-spacing: 0.1em; }

/* Section Spacing
   ========================================================================== */
section {
    padding: 6rem 0;
    position: relative;
}

/* Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--clr-primary);
    background: transparent;
    color: var(--clr-primary);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 0; /* Square for elegant edge */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--clr-primary);
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scaleX(0);
    transform-origin: right;
}

.btn:hover {
    color: var(--clr-bg-main);
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-fill {
    background: var(--clr-primary);
    color: var(--clr-bg-main);
}
.btn-fill::before {
    background: var(--clr-gold);
}

/* Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: var(--nav-height);
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    height: 70px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--clr-primary);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-text);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 100%; height: 1px;
    background: var(--clr-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--clr-primary);
    cursor: pointer;
}

/* Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--nav-height);
    background-color: var(--clr-blush);
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute;
    top: -10%; right: -5%;
    width: 50vw; height: 50vw;
    background: var(--clr-bg-main);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.7;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero p.subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--clr-gold);
    margin-bottom: 1rem;
}

.hero h1 {
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero p {
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
}

/* About / Credentials Section
   ========================================================================== */
.about {
    background-color: var(--clr-bg-main);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: sepia(10%) contrast(1.1);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px; right: -20px;
    width: 100%; height: 100%;
    border: 1px solid var(--clr-gold);
    z-index: -1;
}

.credentials-list {
    margin-top: 2rem;
    list-style: none;
}

.credentials-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 0.95rem;
}

.credentials-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 10px;
    width: 12px; height: 1px;
    background: var(--clr-gold);
}

/* Services Section
   ========================================================================== */
.services {
    background-color: var(--clr-blush);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--clr-bg-card);
    padding: 3rem 2rem;
    border: 1px solid var(--clr-border);
    transition: var(--transition-smooth);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--clr-gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(92, 29, 42, 0.05); /* Soft burgundy shadow */
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--clr-gold);
    margin-bottom: 1.5rem;
}

/* Gallery Section
   ========================================================================== */
.gallery-section {
    background-color: var(--clr-bg-main);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: none;
    border: none;
    color: var(--clr-text-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
    color: var(--clr-primary);
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 1px;
    background: var(--clr-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.filter-btn.active::after {
    transform: scaleX(1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img, .gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(92, 29, 42, 0.8); /* Primary brand color overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 2rem;
    text-align: center;
}

.gallery-item:hover img, .gallery-item:hover video {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* Trust / Footer Sections
   ========================================================================== */
.trust-section {
    background-color: var(--clr-blush);
    text-align: center;
    padding: 4rem 0;
}

.trust-flex {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 200px;
}

.trust-item i {
    font-size: 2rem;
    color: var(--clr-primary);
}

.certifications, .payment-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
    opacity: 0.8;
}

.payment-icon img { height: 30px; object-fit: contain; filter: grayscale(100%); transition: filter 0.3s ease; }
.payment-icon:hover img { filter: grayscale(0%); }

footer {
    background-color: var(--clr-primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

footer a {
    color: var(--clr-gold-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 1rem;
}

footer a:hover {
    color: white;
}

/* Animations Trigger Classes
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-text { order: 2; padding-right: 0; }
    .about-image { order: 1; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Could add a hamburger menu in future update */
    .mobile-toggle { display: block; }
    .hero { text-align: center; }
    .hero-content { max-width: 100%; }
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    .hero p.subtitle { font-size: 0.8rem; }
}
