@charset "UTF-8";

/* =========================================
   1. VARIABLES & THEMING
========================================= */
:root {
    /* Colors */
    --color-primary: #cf3d3d;
    /* Striking Graphic Red */
    --color-primary-dark: #a82e2e;
    /* Darker Red */
    --color-gold: #c3a343;
    /* Vintage Gold */

    --color-bg: #f4f0e6;
    /* Wabi-sabi paper beige */
    --color-surface: #eaddcf;
    /* Slightly darker sepia paper */
    --color-text: #2c2a25;
    /* Deep sepia charcoal */
    --color-text-light: #59554d;
    /* Muted text */

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-accent: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing & Layout */
    --space-sm: 2rem;
    --space-md: 5rem;
    --space-lg: 10rem;
    --section-padding: 12rem 5%;

    /* Effects */
    --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
    --glass-bg: rgba(244, 240, 230, 0.9);
    --glass-border: 1px solid rgba(44, 42, 37, 0.1);
}

/* =========================================
   2. RESET & BASE
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    /* Lenis handles smooth scrolling, so no scroll-behavior: smooth here */
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: bold;
    line-height: 1.1;
}

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

button {
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

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

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
}

.section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.bg-surface {
    background-color: var(--color-surface);
}

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

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 4rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 4rem;
}

.relative {
    position: relative;
}

.filter-sepia {
    filter: sepia(0.5) contrast(0.9) brightness(0.9);
}

.section-label {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title {
    font-size: clamp(3rem, 6vw, 6rem);
    color: var(--color-text);
    letter-spacing: -0.02em;
    line-height: 0.9;
    font-family: var(--font-heading);
    position: relative;
    z-index: 10;
}

.large-text {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    line-height: 1.4;
    color: var(--color-text-light);
    position: relative;
    z-index: 10;
}

.layout-split {
    display: flex;
    gap: 8rem;
    align-items: center;
}

.layout-split .col {
    flex: 1;
}

@media(max-width: 992px) {
    .layout-split {
        flex-direction: column;
        gap: 4rem;
    }
}

/* =========================================
   2.5 EDITORIAL & GRAPHIC UTILITIES
========================================= */
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    line-height: 1.5;
}

.graphic-circle {
    position: absolute;
    border-radius: 50%;
    background-color: var(--color-primary);
    mix-blend-mode: multiply;
    z-index: 1;
}

.graphic-lines {
    position: absolute;
    width: 2px;
    background-color: var(--color-primary);
    z-index: 1;
}

.editorial-border {
    border: 1px solid rgba(44, 42, 37, 0.15);
    padding: 2rem;
}

/* =========================================
   3. CUSTOM CURSOR (Removed)
========================================= */

/* =========================================
   4. LOADING SCREEN
========================================= */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-svg {
    width: 250px;
    height: auto;
    margin-bottom: 2rem;
    opacity: 0;
}

.loader-logo {
    font-size: 5rem;
    color: var(--color-primary-dark);
    opacity: 0;
}

.loader-progress {
    width: 0%;
    height: 1px;
    background: var(--color-primary);
    margin-top: 2rem;
    transition: width 0.5s ease;
}

/* =========================================
   5. NAVIGATION
========================================= */
.luxury-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.4s ease, padding 0.4s ease;
}

.luxury-nav.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 0.5rem 4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-brand a {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-text);
}

.menu-trigger {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-text);
}

.menu-trigger span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menu-lines {
    width: 30px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-lines .line {
    width: 100%;
    height: 1px;
    background: var(--color-text);
    transition: transform 0.3s ease, width 0.3s ease;
}

.menu-trigger:hover .line:first-child {
    width: 70%;
}

/* =========================================
   6. PREMIUM HERO
========================================= */
.hero {
    height: 100vh;
    min-height: 800px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.hero-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(244, 240, 230, 0.2) 0%, rgba(244, 240, 230, 0.95) 100%);
    z-index: 2;
}

#petalsCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: multiply;
    /* Mutes the petals slightly */
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 1000px;
    padding: 0 2rem 0 10vw;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 0.9rem;
    color: var(--color-primary-dark);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3.5rem, 7vw, 7rem);
    line-height: 1.1;
    margin-bottom: 3rem;
}

/* Buttons */
.btn-luxury {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--color-text);
    color: var(--color-bg);
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background 0.4s ease, transform 0.3s ease;
    cursor: pointer;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: var(--color-text-light);
    margin: 1rem auto 0;
    transform-origin: top;
    animation: scaleLine 2s infinite ease-in-out;
}

@keyframes scaleLine {
    0% {
        transform: scaleY(0);
    }

    50% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* =========================================
   7. SECTIONS COMPONENTS
========================================= */

/* Reveal Img Mask */
.reveal-img {
    overflow: hidden;
    border-radius: var(--border-radius);
}

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

/* Split Text Animation prep */
.line {
    overflow: hidden;
    padding-top: 0.15em;
    padding-bottom: 0.25em;
    margin-top: -0.15em;
    margin-bottom: -0.25em;
}

.split-text {
    position: relative;
    z-index: 10;
}

/* Values Grid (Why Yunara) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

.value-card {
    background: var(--color-surface);
    padding: 4rem 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

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

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

/* Stats */
.stats {
    padding: 8rem 0;
    color: #fff;
    text-align: center;
}

.stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.4);
    z-index: 1;
}

.stats-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
}

.stat-box h3 {
    font-size: 5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-box p {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* Signature Services */
.service-row {
    display: flex;
    align-items: center;
    gap: 6rem;
    margin-bottom: 10rem;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-img-wrapper {
    flex: 1;
    height: 700px;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.service-content p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
}

.btn-link {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary-dark);
    border-bottom: 1px solid var(--color-primary-dark);
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

@media(max-width: 992px) {

    .service-row,
    .service-row.reverse {
        flex-direction: column;
        gap: 3rem;
        margin-bottom: 6rem;
    }

    .service-img-wrapper {
        height: 400px;
        width: 100%;
    }
}

/* Portfolio Horizontal Scroll */
.portfolio {
    overflow: hidden;
}

/* Portfolio Swiper */
.portfolio-swiper {
    width: 100%;
    padding: 2rem 0 5rem 0; /* padding for arrows and dots */
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 60vh;
    width: 100%;
}

.portfolio-swiper .swiper-pagination-bullet {
    background: var(--color-primary-dark);
    opacity: 0.3;
    width: 10px;
    height: 10px;
}
.portfolio-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--color-primary-dark);
}
.portfolio-swiper .swiper-button-next,
.portfolio-swiper .swiper-button-prev {
    color: var(--color-primary-dark);
    top: auto;
    bottom: 0;
    margin-top: 0;
}
.portfolio-swiper .swiper-button-next {
    right: 35%;
}
.portfolio-swiper .swiper-button-prev {
    left: 35%;
}

@media(max-width: 768px) {
    .portfolio-swiper .swiper-button-next { right: 20%; }
    .portfolio-swiper .swiper-button-prev { left: 20%; }
}

.p-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.p-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .p-overlay {
    opacity: 1;
}

.p-info {
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .p-info {
    transform: translateY(0);
}

.p-cat {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.5rem;
}

.p-info h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Case Study */
.sticky-col {
    position: sticky;
    top: 150px;
    align-self: flex-start;
}

.cs-details {
    margin-top: 3rem;
}

.cs-meta span {
    display: block;
    margin-bottom: 0.5rem;
}

.cs-block {
    margin-bottom: 4rem;
}

.cs-block h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.cs-gallery {
    height: 600px;
}

/* Masonry */
.masonry-gallery {
    column-count: 3;
    column-gap: 2rem;
}

.m-item {
    margin-bottom: 2rem;
    break-inside: avoid;
    border-radius: var(--border-radius);
    overflow: hidden;
}

@media(max-width: 992px) {
    .masonry-gallery {
        column-count: 2;
    }
}

@media(max-width: 576px) {
    .masonry-gallery {
        column-count: 1;
    }
}

/* Vertical Timeline */
.vertical-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 50px;
}

.vt-line {
    position: absolute;
    top: 0;
    left: 15px;
    width: 2px;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.vt-item {
    position: relative;
    margin-bottom: 5rem;
}

.vt-dot {
    position: absolute;
    top: 10px;
    left: -42px;
    width: 15px;
    height: 15px;
    background: var(--color-primary-dark);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(232, 122, 144, 0.2);
}

.vt-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Industries */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.ind-card {
    padding: 3rem 2rem;
    background: var(--color-surface);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
}

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

.ind-card h4 {
    font-size: 1.2rem;
}

/* Trusted By */
.trusted-swiper .swiper-slide {
    opacity: 0.4;
    transition: opacity 0.3s;
}

.trusted-swiper .swiper-slide:hover {
    opacity: 1;
}

/* Video Showcase */
.video-showcase {
    padding: 0;
    height: 80vh;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 2px;
    backdrop-filter: blur(10px);
}

/* Testimonials */
.glass-card {
    background: var(--color-surface);
    border: 1px solid rgba(44, 42, 37, 0.15);
    padding: 4rem;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
}

.quote {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    margin-bottom: 2rem;
    color: var(--color-text);
}

.glass-card h4 {
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

/* Awards */
.awards-list {
    max-width: 800px;
    margin: 0 auto;
}

.award-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.aw-year {
    font-weight: 500;
    color: var(--color-gold);
}

.aw-title {
    font-size: 1.5rem;
}

.aw-org {
    color: var(--color-text-light);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

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

.tc-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.tc-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.tc-info h4 {
    font-size: 1.8rem;
}

.tc-info p {
    color: var(--color-primary-dark);
}

@media(max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Map */
.map-visual {
    height: 500px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--border-radius);
    position: relative;
}

.abstract-map {
    width: 100%;
    height: 100%;
    position: relative;
}

.pin {
    position: absolute;
    bottom: 20%;
    right: 20%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulse {
    width: 15px;
    height: 15px;
    background: var(--color-primary-dark);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(232, 122, 144, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(232, 122, 144, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(232, 122, 144, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(232, 122, 144, 0);
    }
}

/* Contact Form */
.contact {
    background-color: var(--color-surface);
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1522383225653-ed111181a951?auto=format&fit=crop&w=2500&q=80') center/cover;
    opacity: 0.03;
    pointer-events: none;
}

.glass-form {
    background: var(--color-bg);
    padding: 4rem;
    border: 1px solid rgba(44, 42, 37, 0.15);
    border-radius: 0;
    box-shadow: none;
}

.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--color-primary-dark);
}

.input-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--color-text-light);
    pointer-events: none;
    transition: 0.3s ease;
}

.input-group input:focus~label,
.input-group input:valid~label,
.input-group select:focus~label,
.input-group select:valid~label,
.input-group textarea:focus~label,
.input-group textarea:valid~label {
    top: -1rem;
    font-size: 0.8rem;
    color: var(--color-primary-dark);
}

.w-100 {
    width: 100%;
}

/* Footer */
.luxury-footer {
    background: #0a0a0a;
    color: #fff;
    padding: 8rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6rem;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-logo {
    font-size: 4rem;
    color: var(--color-primary);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 6rem;
}

.f-col h4 {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.f-col a {
    display: block;
    margin-bottom: 1rem;
    color: #fff;
    transition: color 0.3s;
}

.f-col a:hover {
    color: var(--color-primary);
}

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

.legal-links a {
    margin-left: 2rem;
}

/* Input field Fix */
.glass-form input:not(:placeholder-shown)~label,
.glass-form textarea:not(:placeholder-shown)~label {
    top: -1rem;
    font-size: 0.8rem;
    color: var(--color-primary-dark);
}

/* Inline Navigation */
.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-primary);
}

@media(max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* Logo Sizing */
.nav-logo {
    max-width: 80px;
    height: auto;
    object-fit: contain;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-text);
    transition: color 0.3s;
}

.mobile-link:hover {
    color: var(--color-primary);
}

/* Hamburger toggle styles */
.menu-trigger {
    z-index: 1001;
    position: relative;
}
.menu-trigger.active span { opacity: 0; }
.menu-trigger.active .menu-lines .line:nth-child(1) { transform: translateY(4px) rotate(45deg); width: 100%; }
.menu-trigger.active .menu-lines .line:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.menu-trigger .line { transition: transform 0.3s ease, width 0.3s ease; }

@media(min-width: 769px) {
    .menu-trigger {
        display: none !important;
    }
}