:root {
    --bg-color: #0d0d10;
    --surface-color: #1a1a1f;
    --text-primary: #f8f8f8;
    --text-secondary: #a0a0a8;
    --accent: #d4af37; /* soft gold */
    --accent-hover: #f1cf59;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: clamp(3rem, 6vw, 5rem); letter-spacing: -2px; }
h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); letter-spacing: -1px; margin-bottom: 1rem; }
h3 { font-size: 1.8rem; margin-bottom: 1rem; }
p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 1.5rem; font-weight: 300;}
a { text-decoration: none; color: inherit; transition: var(--transition); }

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.section {
    padding: 8rem 0;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #000;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.link-arrow:hover {
    color: var(--accent-hover);
    transform: translateX(5px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 13, 16, 0.85);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 120px;
    filter: invert(1);
    mix-blend-mode: screen;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 80px;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition);
}

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

.cta-btn {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cta-btn:hover {
    background: #fff;
    color: #000;
}

/* Language Switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
}

.lang-switcher a {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.02);
    padding: 0.5rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-switcher a:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    transform: translateY(-2px);
}

.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 2px; background: #fff; margin: 5px 0; transition: 0.3s; }

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomOut 20s infinite alternate linear;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13,13,16,0.2) 0%, rgba(13,13,16,1) 100%);
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.subtitle {
    display: block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Services */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 5rem; }

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.service-block {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 900px) {
    .service-block {
        flex-direction: row;
        align-items: flex-start;
    }
    .service-block:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.service-info-full {
    text-align: left;
    max-width: 100%;
    margin: 0;
    flex: 1;
}

@media (min-width: 900px) {
    .service-block:nth-child(odd) .service-info-full {
        padding-right: 3rem;
    }
    .service-block:nth-child(even) .service-info-full {
        padding-left: 3rem;
    }
}

.service-info-full h3 { font-size: 2.5rem; margin-bottom: 1rem; }

.sub-services-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem auto 3rem;
    text-align: left;
    max-width: 800px;
}

details.sub-service-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
    cursor: pointer;
}

details.sub-service-item summary {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    list-style: none; /* Remove default triangle */
    font-weight: 400;
    outline: none;
}

details.sub-service-item summary::-webkit-details-marker {
    display: none;
}

details.sub-service-item[open] {
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.05);
}

details.sub-service-item[open] summary {
    margin-bottom: 0.8rem;
    color: var(--accent);
    font-weight: 600;
}

details.sub-service-item:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.sub-service-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-left: 1.9rem;
    animation: fadeInDown 0.3s ease-out;
}

.sub-service-icon {
    color: var(--accent);
    font-size: 1.1rem;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-gallery {
    display: flex;
    flex: 1;
    align-items: center;
    margin-top: 1rem;
}

@media (min-width: 900px) {
    .service-gallery {
        margin-top: 0;
        position: sticky;
        top: 120px;
    }
}

.service-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.5s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.service-gallery:not(.collage) img {
    aspect-ratio: 4 / 5;
}

/* Collage Layout (2 Images Stacked) */
.service-gallery.collage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    width: 100%;
}

.service-gallery.collage img {
    width: 85%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Asymmetrical stagger vertically */
.service-gallery.collage img:nth-child(1) {
    align-self: flex-start;
    z-index: 1;
}

.service-gallery.collage img:nth-child(2) {
    align-self: flex-end;
    margin-top: -10%; /* Beautiful overlap */
    z-index: 2;
}

@media (min-width: 900px) {
    .service-block:nth-child(even) .service-gallery.collage img:nth-child(1) {
        align-self: flex-end;
    }
    .service-block:nth-child(even) .service-gallery.collage img:nth-child(2) {
        align-self: flex-start;
    }
}

.service-gallery img:hover { transform: scale(1.03); z-index: 2; position: relative; }

/* Consultation */
.consultation {
    background: linear-gradient(rgba(13, 13, 16, 0.4), rgba(13, 13, 16, 0.4)), url('gallery/marketing_wide.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    background-color: #0d0d10; /* Brand charcoal filler */
}

.consultation .cta-box {
    background: rgba(13, 13, 16, 0.85); /* Slightly darker for better legibility on a lighter background */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(15px);
    padding: 5rem 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.form-note {
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1rem;
    margin: 1rem 0 2rem;
    text-align: left;
    font-size: 0.95rem;
    color: var(--text-primary);
}
.form-note a { text-decoration: underline; color: var(--text-primary); }

.advanced-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row input, .form-row select, .form-row textarea {
    flex: 1;
    width: 100%;
    padding: 1.2rem;
    border-radius: 4px; /* Square aesthetic */
    border: 1px solid rgba(255,255,255,0.1);
    background: #fff;
    color: #333;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s;
}

.form-row textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row input::placeholder, .form-row textarea::placeholder {
    color: #999;
}

.form-row input:focus, .form-row select:focus, .form-row textarea:focus { 
    border-color: var(--accent); 
}

.select-wrapper {
    flex: 1;
    position: relative;
}

.file-upload-area {
    border: 1px dashed rgba(255,255,255,0.3);
    padding: 3rem 1rem;
    text-align: center;
    border-radius: 4px;
    background: rgba(255,255,255,0.02);
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.file-upload-area:hover {
    border-color: var(--accent);
    background: rgba(255,255,255,0.05);
}

.file-upload-area input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-area .upload-icon {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.file-upload-area .upload-text {
    font-weight: 600;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: #08080a;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul a:hover { color: var(--accent); }

.socials { display: flex; gap: 1rem; margin-top: 2rem; }
.socials a { color: var(--text-secondary); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }
.socials a:hover { color: var(--accent); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-legal { display: flex; gap: 2rem; }

/* Animations & Responsiveness */
@keyframes zoomOut {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

@media (max-width: 900px) {
    .nav-links, .hidden-mobile { display: none; }
    .hamburger { display: block; }
    
    .service-card, .service-card:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .service-img { width: 100%; height: 350px; }
    
    h1 { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .form-row { flex-direction: column; gap: 1rem; }
}

@media (max-width: 768px) {
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(13, 13, 16, 0.95);
        backdrop-filter: blur(10px);
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}

/* Gallery Section */
.masonry-grid {
    column-count: 1;
    column-gap: 1.5rem;
}

@media (min-width: 600px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (min-width: 900px) {
    .masonry-grid {
        column-count: 3;
    }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.05);
}

.gallery-photo {
    width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    transition: transform 0.5s ease, filter 0.5s ease;
    user-select: none;
    -webkit-user-drag: none;
    min-height: 350px; /* Fallback for old iOS < 15 */
}

@supports (aspect-ratio: 1/1) {
    .gallery-photo {
        min-height: 0;
    }
}

.gallery-item:hover .gallery-photo {
    transform: scale(1.05);
    filter: brightness(0.7);
}

/* Visual Watermark */
.gallery-watermark {
    position: absolute;
    bottom: 1rem;
    right: 1.2rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 6;
    pointer-events: none;
    font-weight: 400;
}

.gallery-item::after {
    content: '⛶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent);
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: 2rem;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 13, 0.98);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}


@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10002;
}

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

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

@media (min-width: 900px) {
    .process-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.process-image-main {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.process-image-main:hover {
    transform: scale(1.02);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    transition: var(--transition);
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.process-step h4 {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.process-step h3 {
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.process-visuals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.process-visuals img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.process-visuals img:hover {
    transform: scale(1.05);
    z-index: 2;
}
