/* DESIGN SYSTEM APPLIED */
/* SYLMA.PL — Premium Beauty Design System */

:root {
    /* --- COLOR PALETTE --- */
    --primary: #B5935E;          /* Gold/Beige Accent */
    --primary-dark: #8A6A3C;     /* Darker Gold */
    --secondary: #1A1A1A;        /* Dark Navy/Black */
    --gold-champagne: #D4C4B7;   /* Champagne Accent */
    
    --text-main: #1A1A1A;        /* Primary Text */
    --text-muted: #666666;       /* Secondary Text */
    --text-light: #FFFFFF;       /* Light Text */
    
    --bg-main: #FFFFFF;          /* Pure White */
    --bg-cream: #FDFBFA;         /* Creamy Background */
    --bg-sand: #F9F6F2;          /* Sand Background */
    
    --border: #EFE8E2;           /* Light Border */
    --border-strong: #C5B5A4;    /* Strong Border */
    
    --success: #198754;          /* Bootstrap Success */
    --error: #dc3545;            /* Bootstrap Error */

    /* --- TYPOGRAPHY --- */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Font Scale (Major Third) */
    --h1: 3rem;       /* 48px */
    --h2: 2.25rem;    /* 36px */
    --h3: 1.75rem;    /* 28px */
    --h4: 1.5rem;     /* 24px */
    --p: 1rem;        /* 16px */
    --small: 0.875rem;/* 14px */

    /* Weights */
    --fw-regular: 400;
    --fw-semibold: 600;
    --fw-bold: 700;

    /* --- SPACING (8px Grid) --- */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;
    --space-huge: 120px;

    /* --- COMPONENTS --- */
    --radius: 0px; /* Zero Radius for Premium Look */
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: var(--space-md);
    font-weight: 300; /* Ultra-light for elegance */
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
p { font-size: var(--p); color: var(--text-muted); margin-bottom: var(--space-md); }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

/* NAVIGATION */
.nav-ordinary {
    border-bottom: none;
    background-color: #E3E2DD; /* Custom requested color */
    padding: var(--space-xs) 0;
}

.nav-ordinary .navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-ordinary .navbar-brand img {
    height: 42px;
    width: auto;
}

.nav-ordinary .nav-link {
    font-size: var(--small);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: var(--space-xs) var(--space-sm);
    color: var(--text-muted);
    font-weight: var(--fw-semibold);
}

.nav-ordinary .nav-link:hover,
.nav-ordinary .nav-link:focus {
    color: var(--text-main);
}

/* BUTTONS */
.btn-sylma {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: var(--radius);
    padding: 12px 32px;
    border: 1px solid var(--text-main);
    transition: var(--transition);
    font-weight: var(--fw-semibold);
    cursor: pointer;
}

.btn-sylma.btn-primary {
    background-color: var(--text-main);
    color: var(--text-light);
    border-color: var(--text-main);
}

.btn-sylma.btn-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-sylma.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--gold-champagne);
}

.btn-sylma.btn-outline:hover {
    border-color: var(--text-main);
    color: var(--text-main);
    transform: translateY(-2px);
}

.btn-sylma.btn-invert {
    background-color: var(--bg-main);
    color: var(--text-main);
    border-color: var(--bg-main);
}

.btn-sylma.btn-invert:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-light);
}

/* HERO */
.hero {
    background-color: var(--bg-cream);
    padding: 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Better balance between text and image */
    gap: 0;
    align-items: stretch;
}

.hero-copy-wrapper {
    padding: 40px 60px 40px 15%; 
    display: flex;
    align-items: center;
    justify-content: flex-end; 
}

.hero-copy {
    max-width: 600px;
    width: 100%;
}

.hero-copy h1 {
    font-family: var(--font-heading);
    font-weight: 300; /* Light weight for ultra-premium feel */
    letter-spacing: 0.01em; /* Neutral/positive spacing for clarity */
    text-transform: none;
    font-size: clamp(2.5rem, 6vw, 4.2rem); 
    line-height: 1.2; /* More air between lines */
    margin-bottom: var(--space-md);
}

.hero-copy h1 em {
    font-weight: 300;
    font-style: italic;
    color: var(--primary-dark); /* Subtle color accent for the italic part */
}

.eyebrow {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin: var(--space-md) 0 0;
}

.hero-features {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.feature-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
    border: 1px solid var(--gold-champagne);
    background-color: var(--bg-main);
    min-width: 120px;
    border-radius: var(--radius);
    text-align: center;
}

/* STYLIZACJA IKON MIESZANYCH (PNG + SVG) */
.sylma-style-img {
    display: block;
    width: 40px; /* Bazowy rozmiar dla Hero */
    height: auto;
    margin-bottom: var(--space-xs);
    object-fit: contain;
}

.sylma-style-icon {
    color: var(--primary); /* Złoty odcień pasujący do marki */
    margin-bottom: var(--space-xs);
    display: inline-block;
    /* Próba upodobnienia grubości SVG do delikatnych linii na PNG */
    -webkit-text-stroke: 0.2px var(--primary); 
}

/* Specyficzne rozmiary dla różnych sekcji */
.hero-features .sylma-style-icon { font-size: 2rem; }
.edu-grid .sylma-style-icon { font-size: 3rem; color: var(--primary); }
.trust-bar .sylma-style-icon { font-size: 1.2rem; margin-bottom: 0; color: inherit; } /* W trustbarze dziedziczy kolor tekstu (biały/jasny) */

.feature-tile span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 600;
    color: var(--text-main);
}

.hero-visual {
    display: flex;
    margin: 0;
    padding: 0;
    max-height: 700px;
}

.hero-frame {
    width: 100%;
    height: 100%;
}

/* TRUST BAR */
.trust-bar {
    background-color: var(--secondary);
    color: var(--text-light);
    padding: var(--space-md) 0;
    font-family: var(--font-main);
    position: relative;
    z-index: 10;
    margin-top: -40px;
}

.trust-item {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 500;
}

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

/* FULL WIDTH IMAGE SECTION */
.section-full-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-color: var(--bg-cream);
}

.section-full-image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    /* TRIKI NA POPRAWĘ JAKOŚCI */
    image-rendering: -webkit-optimize-contrast; 
    filter: contrast(1.02) brightness(1.01) saturate(1.05);
}

.section-full-image--cropped {
    height: 350px; /* Stała wysokość dla efektu paska */
}

.section-full-image--cropped img {
    height: 100%;
    object-fit: cover;
    object-position: center; /* Równo obcina górę i dół */
}

/* SECTIONS */
.section {
    padding: var(--space-huge) 0;
}

.section-header {
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

.section-label, .card-label, .metric-label {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto;
}

.bg-accent { background-color: var(--bg-sand); }
.section--cream { background-color: var(--bg-cream); }
.section--sand { background-color: var(--bg-sand); }
.section--dark { background-color: var(--secondary); color: var(--text-light); }

/* EDU SECTION */
.edu-divider {
    height: 1px;
    background-color: var(--gold-champagne);
    margin: 5rem 0;
}

.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.edu-box {
    background-color: var(--bg-main);
    padding: 2.5rem 2rem;
    border: 1px solid var(--gold-champagne);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.edu-box:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.edu-box i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
    display: inline-block;
}

.edu-box h4 {
    font-weight: var(--fw-bold);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--text-main);
}

.edu-box p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* CARDS & GRIDS */
.split-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    align-items: center;
}

.story-card {
    border: 1px solid var(--gold-champagne);
    padding: var(--space-lg);
    border-radius: var(--radius);
    background-color: var(--bg-main);
}

.story-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.story-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-md);
}

.story-highlight span {
    border: 1px solid var(--border);
    padding: 6px 16px;
    text-transform: uppercase;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
}

.list-check { list-style: none; padding: 0; }
.list-check li { 
    margin-bottom: var(--space-sm); 
    color: var(--text-muted); 
    display: flex; 
    align-items: flex-start;
    gap: var(--space-md);
    line-height: 1.6;
}

.list-check li strong {
    flex: 0 0 240px; /* Fixed width for labels to align descriptions */
    color: var(--text-main);
    font-weight: 600;
}

@media (max-width: 768px) {
    .list-check li {
        flex-direction: column;
        gap: var(--space-xs);
    }
    .list-check li strong {
        flex: 0 0 auto;
    }
}

/* ORDINARY BOOST */
.section--ordinary-boost {
    background-color: var(--bg-main);
    padding: 100px 0;
}

.boost-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    align-items: center;
}

.boost-content { padding-right: var(--space-md); }

.boost-image {
    position: sticky;
    top: 100px;
    height: auto;
}

.boost-image img { 
    border-radius: var(--radius); 
    object-fit: contain; /* Zapewnia widoczność całego produktu i logo */
    height: auto;
}

/* PRODUCT DETAILS */
.product-focus {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xl);
}

.focus-gallery {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    min-width: 300px;
}

.focus-gallery img { border-radius: var(--radius); }

.focus-text { flex: 1.2; min-width: 300px; }

.gold-line {
    width: 60px;
    height: 3px;
    background-color: var(--gold-champagne);
    margin-bottom: var(--space-lg);
}

/* COLLECTION */
.collection-grid {
    margin-top: var(--space-xl);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.collection-card {
    border: 1px solid var(--gold-champagne);
    border-radius: var(--radius);
    padding: var(--space-lg);
    background-color: var(--bg-main);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    min-height: 100%;
    transition: var(--transition);
}

.collection-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.collection-card ul { padding-left: 1rem; color: var(--text-muted); margin: var(--space-sm) 0; }
.collection-card li { margin-bottom: 4px; }

/* RITUAL */
.routine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.routine-grid article {
    border: 1px solid var(--gold-champagne);
    border-radius: var(--radius);
    padding: var(--space-lg);
    background-color: var(--bg-main);
}

.step-number {
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: var(--space-sm);
}

/* PROOF */
.clinical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.clinical-grid article {
    border-top: 2px solid var(--border-strong);
    padding-top: var(--space-md);
    color: var(--text-muted);
}

/* TESTIMONIALS */
.testimonial-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.testimonial-grid article {
    border: 1px solid var(--gold-champagne);
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
    background-color: var(--bg-main);
    min-height: 100%;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-grid article:before {
    content: "“";
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--bg-sand);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.testimonial-grid article:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.rating {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.testimonial-grid article p {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.author {
    display: block;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: var(--primary-dark);
    position: relative;
    z-index: 1;
}

.testimonial-note {
    color: var(--text-muted);
    margin-top: var(--space-xl);
    font-size: 0.8rem;
    text-align: center;
    letter-spacing: 0.05em;
}

/* CTA & FOOTER */
.section--cta {
    background-color: var(--secondary);
    color: var(--text-light);
    text-align: center;
}

.cta-icons {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin: var(--space-xl) 0;
}

.cta-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.beauty-icon {
    width: 64px;
    height: 64px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.beauty-icon svg { width: 36px; height: 36px; stroke: currentColor; fill: none; }

.site-footer {
    border-top: 1px solid var(--border);
    background-color: var(--bg-main);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.copyright { color: var(--text-muted); font-size: var(--small); }

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* FILTER */
.product-card img, .collection-card img, .hero-frame img, .boost-image img {
    filter: contrast(0.95) sepia(0.08) brightness(1.02);
}

/* TEXT HELPERS */
.text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.text-warning {
    color: #E1B94A !important;
}

/* --- COOKIE BANNER (RODO) --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: 400px;
    background: var(--bg-main);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: var(--space-md);
    z-index: 9999;
    display: none; /* JS will show it */
    border-radius: var(--radius);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
    font-weight: var(--fw-semibold);
    color: var(--text-main);
}

.cookie-text {
    font-size: var(--small);
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: var(--space-xs);
}

.btn-cookie {
    flex: 1;
    padding: var(--space-xs);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.1em;
    cursor: pointer;
    border: 1px solid var(--text-main);
    background: transparent;
    transition: var(--transition);
}

.btn-cookie-accept {
    background: var(--text-main);
    color: var(--text-light);
}

.btn-cookie-accept:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-light);
}

.btn-cookie-reject {
    color: var(--text-muted);
    border-color: var(--border);
}

.btn-cookie-reject:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .container { padding-left: var(--space-lg); padding-right: var(--space-lg); }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy-wrapper { padding: var(--space-xl) var(--space-lg); }
    .hero-visual { height: 400px; }
    .boost-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
    .boost-image { height: 350px; order: -1; position: static; }
    .boost-content { text-align: center; padding-right: 0; }
}

@media (max-width: 575px) {
    .container { padding-left: var(--space-lg); padding-right: var(--space-lg); }
    .btn-sylma { width: 100%; }
    .hero-visual { height: 300px; }
    .hero-features { 
        display: grid; 
        grid-template-columns: repeat(3, 1fr); 
        gap: var(--space-xs); 
    }
    .feature-tile { 
        padding: var(--space-xs); 
        min-width: 0; 
    }
    .feature-tile i { font-size: 1.2rem; }
    .feature-tile span { font-size: 0.6rem; letter-spacing: 0.05em; }
    .trust-bar .d-flex { flex-direction: column; align-items: center; gap: var(--space-md) !important; }
    
    /* Image Centering for Detail Sections */
    .text-center img {
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }
    .product-focus { flex-direction: column; }
    .focus-gallery { padding: 0 !important; }
    
    .cookie-banner {
        left: 0;
        right: 0;
        bottom: 0;
        max-width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }
}

/* UTILITY CLASSES */
.w-icon-60 { width: 60px; }
.font-icon-3rem { font-size: 3rem; }
