/* CSS Design System for Stampota.gr */

:root {
    --primary: #1a1a1a; /* Slate Black */
    --accent: #c5a059; /* Muted Gold/Bronze */
    --accent-light: #e6ce9e;
    --background: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #121212;
    --text: #333333;
    --text-light: #fefefe;
    --text-muted: #666666;
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container-width: 1200px;
    --section-padding: 100px 0;
}

/* Greek Uppercase Fix for specific elements */
h1, h2, h3, .nav-links a, .btn-primary, .btn-secondary, .section-label, .feature-card h3 {
    text-transform: uppercase;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

h1 { font-size: 4rem; font-weight: 700; margin-bottom: 2rem; }
h2 { font-size: 2.8rem; font-weight: 700; margin-bottom: 1.5rem; }
h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; }

p { margin-bottom: 1.5rem; font-weight: 300; color: var(--text-muted); }

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

ul { list-style: none; }

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

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-padding { padding: var(--section-padding); }

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.text-light { color: var(--text-light); }
.text-light h2, .text-light h3, .text-light p { color: var(--text-light); }

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

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    border-radius: 4px;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background-color: #b58f4a;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--primary);
    transform: translateY(-5px);
}

.full-width { width: 100%; text-align: center; }

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

header.scrolled .header-logo { height: 130px; }
header.scrolled .nav-links a:not(.btn-primary) { color: var(--primary); }

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    height: 160px;
    width: auto;
    transition: var(--transition);
}

.header-logo {
    height: 160px;
    width: auto;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links a:hover { color: var(--accent); }

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: 2rem;
}

.lang-btn {
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.6;
    display: flex;
    align-items: center;
}

.lang-btn:hover, .lang-btn.active {
    opacity: 1;
    transform: scale(1.1);
}

.lang-btn img {
    width: 24px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header.scrolled .lang-btn img {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

body.translating {
    pointer-events: none;
    position: relative;
}

body.translating::after {
    content: "Translating / Μετάφραση...";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(26, 26, 26, 0.9);
    color: var(--accent);
    padding: 1.5rem 3rem;
    border-radius: 50px;
    z-index: 10001;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid var(--accent);
    animation: pulse 1.5s infinite;
}

body.translating main {
    opacity: 0.3;
    filter: blur(5px);
    transition: all 0.5s ease;
}

@keyframes pulse {
    0% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
    100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
}


/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-trigger i {
    font-size: 0.7rem;
    margin-left: 5px;
    opacity: 0.7;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    min-width: 340px;
    max-width: min(92vw, 380px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2000;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 2rem;
    color: var(--primary) !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    line-height: 1.35;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: #f8f8f8;
    color: var(--accent) !important;
    padding-left: 2.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

header.scrolled .dropdown-menu {
    background: #fff;
    border-color: #eee;
}


/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.subpage-hero {
    height: 130vh !important;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}


.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transform: scale(1.05);
    animation: zoom-out 20s infinite alternate;
}

.hero-bg .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.accent-text { color: var(--accent); }

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

@keyframes zoom-out {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

/* Sections Common */
.section-label {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

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

/* Check List */
.check-list { margin-top: 1.5rem; }
.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: var(--text);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.reveal-img {
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-10px);
}

.info-icon {
    font-size: 1.5rem;
    width: 50px; height: 50px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.info-icon i {
    color: var(--accent);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img,
.gallery-item video {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item.large { grid-column: span 2; grid-row: span 2; }

.gallery-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(26, 26, 26, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay span { transform: translateY(0); }

/* Design Category Pages */
.category-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4rem;
    align-items: end;
    padding-bottom: 4rem;
    border-bottom: 1px solid #ececec;
}

.category-summary p {
    max-width: 760px;
}

.category-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 1rem;
    min-width: 300px;
}

.category-stats div {
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 1.3rem;
    background: #fff;
}

.category-stats strong {
    display: block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 0.6rem;
}

.category-stats span {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.35;
}

.category-summary.category-info {
    display: block;
}

.category-info-intro {
    max-width: 820px;
}

.category-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.category-info-panel {
    padding: 1.6rem;
    border-radius: 8px;
    background: var(--bg-light);
    border: 1px solid #ececec;
}

.category-info-panel h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.category-info-panel p {
    max-width: none;
    margin-bottom: 0;
}

.category-info-panel .check-list {
    margin-top: 0;
}

.category-info-panel .check-list li {
    margin-bottom: 0.65rem;
}

.category-info-panel .check-list li:last-child {
    margin-bottom: 0;
}

.category-section-header {
    margin-top: 4rem;
}

.category-gallery {
    grid-auto-rows: 230px;
}

.category-gallery-empty {
    display: block;
}

.empty-state {
    border: 1px dashed #d8d8d8;
    border-radius: 8px;
    padding: 4rem 2rem;
    text-align: center;
    background: var(--bg-light);
}

.empty-state i {
    color: var(--accent);
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.media-type-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.78);
    color: #fff;
    z-index: 2;
}

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

.download-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
}

.download-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.download-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--accent);
}

.download-card strong,
.download-card small {
    display: block;
}

.download-card strong {
    color: var(--primary);
    font-size: 0.95rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.download-card small {
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

/* Color Chart */
.color-chart-frame {
    margin: 3rem auto 0;
    max-width: 1000px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

.color-chart-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.color-chart-note {
    margin-top: 5rem;
    align-items: start;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.info-items { 
    margin-top: 3rem; 
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item h4 { margin-bottom: 0px; font-size: 1.1rem; }
.info-item p { margin-bottom: 0px; }


.contact-form-container {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.07);
}

.form-group { margin-bottom: 1.5rem; }

input, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--primary);
    background: #fff;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
}

/* Footer with Stamped Concrete CSS Pattern */
.footer {
    position: relative;
    padding: 8rem 0 3rem 0;
    background-color: #121212;
    /* Large Stone Slab Pattern */
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.01) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255,255,255,0.01) 2px, transparent 2px);
    background-size: 150px 150px, 150px 150px, 75px 75px, 75px 75px;
    color: #fff;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(197, 160, 89, 0.05), transparent 70%);
    pointer-events: none;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.footer-brand { flex: 2; }
.footer-links-grid { flex: 1; text-align: right; }

.footer-logo { height: 180px; margin-bottom: 1.5rem; }
.footer-brand p { max-width: 400px; color: rgba(255,255,255,0.6); }

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav a {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--transition);
}

.footer-nav a:hover { color: var(--accent); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
}


.footer-legal p { 
    margin-bottom: 0; 
    font-size: 0.85rem; 
    color: rgba(255,255,255,0.5);
}

.footer-legal { flex: 1; }
.gdpr-box { font-size: 0.75rem !important; opacity: 0.4; margin-top: 0.5rem; max-width: 650px; }


.footer-social { display: flex; gap: 1.5rem; }

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-5px);
}


/* Mobile Menu */
.menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.menu-toggle span { width: 25px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }

header.scrolled .menu-toggle span { background: var(--primary); }

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); animation: fadeIn 1s forwards; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Enhancements - Global Centering on Mobile */
@media (max-width: 992px) {
    h1 { font-size: 3rem; text-align: center; }
    h2 { text-align: center; }
    p { text-align: center; margin-left: auto; margin-right: auto; }
    
    .grid-2, .contact-wrapper, .section-header { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-text, .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .check-list {
        display: inline-block;
        text-align: left;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
        padding-top: 140px;
    }

    .subpage-hero .hero-content {
        padding-top: 180px;
    }

    .hero-btns {
        justify-content: center;
    }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .menu-toggle { display: flex; z-index: 10001; }
    
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex !important;
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(18, 18, 18, 0.98) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        z-index: 10000 !important;
        margin: 0 !important;
        padding: 110px 24px 48px !important;
        overflow-y: auto !important;
        animation: fadeIn 0.4s ease;
    }

    .nav-links.active > li {
        margin: 0.9rem 0;
        opacity: 0;
        transform: translateY(20px);
        animation: slideInUp 0.5s forwards 0.2s;
    }

    .nav-links.active a {
        font-size: 1.5rem !important;
        color: #fff !important;
    }

    @keyframes slideInUp {
        to { opacity: 1; transform: translateY(0); }
    }

    .header-logo { height: 80px; }
    header.scrolled .header-logo { height: 70px; }

    /* Mobile Dropdown Fix */
    .nav-links.active .dropdown {
        width: 100%;
        max-width: 340px;
        text-align: center;
    }

    .nav-links.active .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-shadow: none;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        padding: 0.4rem 0 0;
        margin: 0.4rem 0 0;
        text-align: center;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-links.active .dropdown-menu li {
        margin: 0.25rem 0;
        opacity: 1;
        transform: none;
        animation: none;
    }

    .nav-links.active .dropdown-menu a {
        color: rgba(255,255,255,0.72) !important;
        padding: 0.65rem 0 !important;
        font-size: 1rem !important;
        line-height: 1.3;
    }

    .category-summary {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .category-stats {
        width: 100%;
        min-width: 0;
    }

    .category-info-grid {
        grid-template-columns: 1fr;
    }

    .category-info-panel {
        text-align: left;
    }


    /* Footer Centering */
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-brand, .footer-links-grid {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        margin: 0 auto 1.5rem;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 2rem;
        text-align: center;
    }

    .info-items {
        justify-content: center;
        gap: 2rem;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 0;
    }

}

@media (max-width: 600px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns .btn-primary, .hero-btns .btn-secondary { width: 100%; text-align: center; }
    .section-padding { padding: 60px 0; }
    
    .gallery-grid { 
        grid-template-columns: 1fr; 
        grid-auto-rows: 350px;
        max-width: 100%;
        margin: 2rem auto;
    }

    .gallery-item.large {
        grid-column: auto;
        grid-row: auto;
    }

    .cookie-banner {
        left: 20px;
        right: 20px;
        width: auto;
        text-align: center;
    }

    .cookie-content {
        align-items: center;
    }

    .feature-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .category-stats {
        grid-template-columns: 1fr;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 350px;
    background: #ffffff;
    color: #000000;
    padding: 1.5rem;
    z-index: 2000;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    transform: translateX(-150%);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #eee;
}

.cookie-banner.active {
    transform: translateX(0);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
}

.cookie-branding {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f8f8;
}

.cookie-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cookie-info p {
    margin-bottom: 1.2rem;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 400;
}

.btn-sm {
    padding: 0.8rem 1.8rem;
    font-size: 0.8rem;
}

/* Adjustments */
header.scrolled .header-logo {
    filter: invert(0);
}


/* Final Layout Fixes */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #121212;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.preloader-logo {
    height: 120px;
    width: auto;
    animation: preloader-pulse 2s infinite ease-in-out;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.loader-bar::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #c5a059; /* Using accent directly here to be sure */
    animation: loader-slide 2s infinite ease-in-out;
}

@keyframes preloader-pulse {
    0%, 100% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1); opacity: 1; }
}

@keyframes loader-slide {
    to { left: 100%; }
}

/* Page Intro Effect */
body.loading {
    overflow: hidden;
}

body.loaded #preloader {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}



/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    cursor: pointer;
}

.lightbox.active { display: flex; animation: fadeInModal 0.4s ease; }

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    cursor: default;
}

.lightbox-content img, 
.lightbox-content video {
    width: auto;
    max-width: 100%;
    max-height: 85vh;
    display: block;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: -40px; right: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

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

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Hamburger to X Animation */
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); background: #fff; }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); background: #fff; }
