/* 
   ------------------------------------------------------------
   IMZA YAŞAM MARKASI - PREMIUM STYLESHEET
   ------------------------------------------------------------
   Aesthetics: Luxury minimalism, high typography contrast, 
   fluid layouts, organic animations and premium details.
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --color-bg: #FAF8F5;            /* Krem Beyazı */
    --color-stone-light: #F2ECE4;    /* Hafif Doğal Taş */
    --color-stone-medium: #E2DCD5;   /* Doğal Taş Orta */
    --color-stone-dark: #C4B9AC;     /* Doğal Taş Koyu */
    --color-dark-gray: #1E1E1D;      /* Koyu Gri (Lüks zemin ve yazı) */
    --color-gold: #DFBA73;           /* Şampanya Altını */
    --color-gold-hover: #C5A059;     /* Koyu Altın */
    --color-black: #0A0A0A;          /* Tam Siyah (Intro ve kontrast) */
    --color-white: #FFFFFF;
    
    /* Typography Font Pairs */
    --font-title: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Fluid Font Sizes */
    --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --fs-base: clamp(1rem, 0.9rem + 0.5vw, 1.15rem);
    --fs-lg: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --fs-xl: clamp(1.75rem, 1.5rem + 1.25vw, 2.25rem);
    --fs-2xl: clamp(2.25rem, 2rem + 2vw, 3.5rem);
    --fs-3xl: clamp(3.2rem, 2.5rem + 4.5vw, 5.5rem);
    --fs-mega: clamp(4.5rem, 3.5rem + 8vw, 10rem);
    
    /* Spacing */
    --spacing-xs: clamp(0.5rem, 2vw, 1rem);
    --spacing-sm: clamp(1rem, 4vw, 2rem);
    --spacing-md: clamp(2rem, 6vw, 4rem);
    --spacing-lg: clamp(4rem, 10vw, 8rem);
    --spacing-xl: clamp(6rem, 15vw, 12rem);
    
    /* Transitions */
    --transition-slow: 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-normal: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* Z-Index Scale */
    --z-cursor: 9999;
    --z-modal: 9000;
    --z-intro: 8000;
    --z-header: 1000;
    --z-normal: 1;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg);
    color: var(--color-dark-gray);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--color-stone-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-dark-gray);
}

/* Custom Cursor (Desktops only) */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--color-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.custom-cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(223, 186, 115, 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: calc(var(--z-cursor) - 1);
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
}

body.hover-interactive .custom-cursor {
    width: 24px;
    height: 24px;
    background-color: rgba(223, 186, 115, 0.2);
}

body.hover-interactive .custom-cursor-follower {
    width: 56px;
    height: 56px;
    border-color: var(--color-gold);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-black);
}

p {
    font-size: var(--fs-base);
    font-weight: 300;
    color: rgba(30, 30, 29, 0.85);
}

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

/* UI Elements & Layout */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--color-gold);
    z-index: calc(var(--z-header) + 1);
}

/* Intro Screen */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-intro);
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
    overflow: hidden;
}

.intro-text-wrapper {
    text-align: center;
    padding: 20px;
    max-width: 800px;
}

.intro-text {
    font-family: var(--font-title);
    font-size: var(--fs-xl);
    color: var(--color-bg);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
    display: none;
    letter-spacing: 0.1em;
}

.intro-text.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.intro-text.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

/* Sticky Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: var(--z-header);
    transition: padding 0.4s, background-color 0.4s, border-bottom 0.4s;
}

.main-header.scrolled {
    padding: 16px 0;
    background-color: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 220, 213, 0.5);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-title);
    font-size: var(--fs-lg);
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-black);
}

.logo span {
    color: var(--color-gold);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-sm);
    list-style: none;
}

.nav-link {
    font-size: var(--fs-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-dark-gray);
    position: relative;
    padding: 6px 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: width var(--transition-fast);
}

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

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

.header-cta {
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 28px;
    border: 1px solid var(--color-stone-dark);
    color: var(--color-dark-gray);
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
    transition: all var(--transition-normal);
}

.header-cta:hover {
    border-color: var(--color-gold);
    background-color: var(--color-gold);
    color: var(--color-white);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background-color: var(--color-black);
    transition: var(--transition-fast);
}

/* Sections - General */
section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

/* Hero Section */
.hero-section {
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    background-color: var(--color-black);
}

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

.hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transform: scale(1.02);
    animation: kenBurns 40s infinite alternate ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.7) 100%);
    z-index: 2;
}

.hero-content-box {
    position: relative;
    z-index: 3;
    max-width: 900px;
    text-align: center;
    padding: 0 var(--spacing-sm);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.5s var(--transition-slow), transform 1.5s var(--transition-slow);
}

.hero-content-box.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    color: var(--color-white);
    font-size: var(--fs-3xl);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--fs-lg);
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* Button System */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s, background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-gold);
    border: 1px solid var(--color-gold);
    color: var(--color-dark-gray);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    color: var(--color-white);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-black);
}

.btn-dark {
    background-color: var(--color-dark-gray);
    border: 1px solid var(--color-dark-gray);
    color: var(--color-white);
}

.btn-dark:hover {
    background-color: var(--color-black);
    border-color: var(--color-black);
}

/* Scroll Indicator */
.scroll-indicator-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0.8;
}

.scroll-indicator-down span {
    display: block;
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-indicator-down span::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: var(--color-gold);
    animation: scrollDownIndicator 2s infinite ease-in-out;
}

/* Cinematic Storytelling Sections (Bölüm 1 - 5) */
.story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    padding: 0;
    min-height: 100vh;
}

.story-section:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.story-section:nth-child(even) .story-content-side {
    order: 2;
}

.story-section:nth-child(even) .story-image-side {
    order: 1;
}

.story-content-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-lg) var(--spacing-md);
    background-color: var(--color-bg);
    position: relative;
}

.story-content-side.stone-bg {
    background-color: var(--color-stone-light);
}

.story-content-side.dark-bg {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
}

.story-content-side.dark-bg h2 {
    color: var(--color-white);
}

.story-content-side.dark-bg p {
    color: rgba(255, 255, 255, 0.7);
}

.story-number {
    font-family: var(--font-title);
    font-size: var(--fs-lg);
    color: var(--color-gold);
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}

.story-title {
    font-size: var(--fs-2xl);
    margin-bottom: 32px;
}

.story-text {
    max-width: 500px;
    margin-bottom: 40px;
}

.story-tag {
    font-size: var(--fs-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
}

.story-image-side {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform var(--transition-slow);
}

.story-section:hover .story-img {
    transform: scale(1.05);
}

/* Animations Trigger Classes (Scroll Reveal) */
.reveal-el {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s var(--transition-normal), transform 1.2s var(--transition-normal);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Interactive Projects Section */
.projects-section {
    background-color: var(--color-stone-light);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--spacing-xl) 0;
}

.section-intro-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.section-intro-center .subtitle-tag {
    font-size: var(--fs-xs);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 16px;
}

.section-intro-center h2 {
    font-size: var(--fs-2xl);
    margin-bottom: 24px;
}

.projects-showcase-container {
    width: 100%;
}

.project-immersive-item {
    position: relative;
    min-height: 90vh;
    margin-bottom: var(--spacing-lg);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    color: var(--color-white);
    background-color: var(--color-black);
}

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

.project-immersive-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 2s ease;
}

.project-immersive-item:hover .project-immersive-bg {
    transform: scale(1.03);
}

.project-immersive-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.2) 60%, transparent 100%);
    z-index: 2;
}

.project-immersive-content {
    position: relative;
    z-index: 3;
    padding: var(--spacing-md) var(--spacing-md);
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: flex-end;
}

.project-headline-side h3 {
    font-size: var(--fs-xl);
    color: var(--color-white);
    margin-bottom: 16px;
}

.project-headline-side .project-meta-info {
    display: flex;
    gap: var(--spacing-sm);
    color: var(--color-gold);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.project-headline-side p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 550px;
}

.project-specs-side {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.project-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.spec-val-box {
    border-bottom: 1px solid rgba(226, 220, 213, 0.25);
    padding-bottom: 12px;
}

.spec-val-box span {
    display: block;
}

.spec-val-box .spec-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.spec-val-box .spec-data {
    font-family: var(--font-title);
    font-size: var(--fs-lg);
    color: var(--color-white);
}

.project-interactive-actions {
    display: flex;
    gap: 16px;
}

.project-details-sheet {
    display: none;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-stone-medium);
    padding: var(--spacing-md) var(--spacing-sm);
    animation: slideDownFade 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    color: var(--color-dark-gray);
}

.project-details-sheet.active {
    display: block;
}

.sheet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.sheet-gallery-zone {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sheet-main-media {
    width: 100%;
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
}

.sheet-main-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sheet-tabs-zone {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sheet-tab-triggers {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--color-stone-medium);
    padding-bottom: 12px;
}

.sheet-tab-btn {
    background: none;
    border: none;
    font-family: var(--font-title);
    font-size: var(--fs-base);
    color: var(--color-stone-dark);
    cursor: pointer;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
}

.sheet-tab-btn.active {
    color: var(--color-black);
}

.sheet-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-gold);
}

.sheet-tab-content-panel {
    display: none;
}

.sheet-tab-content-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.sheet-tab-content-panel p {
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.features-list li {
    font-size: var(--fs-sm);
    color: var(--color-dark-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.features-list li::before {
    content: '✦';
    color: var(--color-gold);
}

/* Floor Plan Interactive Tool */
.floor-plan-viewer {
    background: var(--color-stone-light);
    border: 1px solid var(--color-stone-medium);
    padding: 24px;
    border-radius: 4px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: center;
}

.floor-plan-image-box {
    text-align: center;
    padding: 16px;
    background: var(--color-white);
    border-radius: 4px;
}

.floor-plan-image-box svg {
    max-width: 100%;
    height: auto;
}

.floor-plan-specs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Construction Process Section */
.process-section {
    background-color: var(--color-bg);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-card {
    background-color: var(--color-stone-light);
    padding: 40px 32px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

.process-card:hover {
    background-color: var(--color-white);
    border-color: var(--color-stone-medium);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.03);
    transform: translateY(-8px);
}

.process-step-num {
    font-family: var(--font-title);
    font-size: var(--fs-lg);
    color: var(--color-gold);
    margin-bottom: 24px;
    display: inline-block;
    border-bottom: 1px solid var(--color-gold);
    padding-bottom: 4px;
}

.process-quote {
    font-family: var(--font-title);
    font-size: var(--fs-lg);
    color: var(--color-black);
    margin-bottom: 16px;
    line-height: 1.3;
}

.process-descr {
    font-size: var(--fs-sm);
    color: rgba(30, 30, 29, 0.7);
}

/* Sayılarla Biz (Stats Section) */
.stats-section {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    padding: 0;
    min-height: 100vh;
}

.stats-slide-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.stats-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.97);
    transition: opacity 1.5s var(--transition-slow), transform 1.5s var(--transition-slow);
}

.stats-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.stats-slide-content {
    text-align: center;
    max-width: 1000px;
    padding: 0 var(--spacing-sm);
}

.stats-big-number {
    font-family: var(--font-title);
    font-size: var(--fs-mega);
    font-weight: 700;
    line-height: 1;
    color: var(--color-gold);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.stats-label {
    font-family: var(--font-title);
    font-size: var(--fs-xl);
    letter-spacing: 0.25em;
    color: var(--color-white);
    text-transform: uppercase;
}

.stats-slide-indicators {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 10;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator-dot.active {
    background-color: var(--color-gold);
}

/* Life Quality / Yaşam Kalitesi Section */
.quality-section {
    background-color: var(--color-bg);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quality-card {
    background: var(--color-white);
    padding: 40px var(--spacing-xs);
    border-radius: 4px;
    border: 1px solid var(--color-stone-light);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all var(--transition-normal);
}

.quality-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 20px 48px rgba(30, 30, 29, 0.05);
}

.quality-icon {
    font-size: 32px;
    color: var(--color-gold);
}

.quality-card h3 {
    font-size: var(--fs-lg);
}

.quality-card p {
    font-size: var(--fs-sm);
    color: rgba(30, 30, 29, 0.7);
}

/* Blog Section */
.blog-section {
    background-color: var(--color-stone-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background-color: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.blog-img-box {
    height: 240px;
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.blog-info-box {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-category {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: var(--fs-lg);
    margin-bottom: 16px;
    line-height: 1.3;
}

.blog-excerpt {
    font-size: var(--fs-sm);
    color: rgba(30, 30, 29, 0.75);
    margin-bottom: 24px;
    flex-grow: 1;
}

.blog-read-link {
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-black);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.blog-read-link::after {
    content: '→';
    transition: transform 0.3s;
}

.blog-card:hover .blog-read-link {
    color: var(--color-gold);
}

.blog-card:hover .blog-read-link::after {
    transform: translateX(4px);
}

/* Blog Article Modal (Popup Reader) */
.article-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    z-index: var(--z-modal);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.article-modal.active {
    display: flex;
}

.article-modal-content {
    background-color: var(--color-bg);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 6px;
    overflow-y: auto;
    position: relative;
    padding: var(--spacing-md);
    box-shadow: 0 24px 64px rgba(0,0,0,0.3);
    animation: modalReveal 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--color-dark-gray);
    line-height: 1;
    z-index: 10;
}

.modal-article-category {
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.modal-article-title {
    font-size: var(--fs-xl);
    margin-bottom: 24px;
}

.modal-article-banner {
    width: 100%;
    height: 380px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 32px;
}

.modal-article-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-article-body {
    font-size: var(--fs-base);
    color: rgba(30, 30, 29, 0.9);
    line-height: 1.8;
}

.modal-article-body p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Sales Office & Appointment Section */
.contact-section {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    align-items: stretch;
}

.contact-form-side {
    padding: var(--spacing-lg) var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-side h2 {
    color: var(--color-white);
    font-size: var(--fs-2xl);
    margin-bottom: 16px;
}

.contact-form-side p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 500px;
}

/* Form Styling */
.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 500px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

.form-field input, 
.form-field select, 
.form-field textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 18px;
    border-radius: 4px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    transition: border-color 0.3s, background-color 0.3s;
}

.form-field input:focus, 
.form-field select:focus, 
.form-field textarea:focus {
    border-color: var(--color-gold);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-field select option {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
}

/* Map Side & Virtual Representative */
.contact-interactive-side {
    position: relative;
    background-color: #141413;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.office-map-container {
    flex-grow: 1;
    min-height: 400px;
    background: radial-gradient(circle, #252524 0%, #141413 100%);
    position: relative;
    overflow: hidden;
}

/* Simulated Map Art */
.map-canvas-art {
    width: 100%;
    height: 100%;
    opacity: 0.15;
    position: absolute;
    top: 0;
    left: 0;
}

.map-location-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background-color: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(223, 186, 115, 0.4);
    animation: pinPulse 2s infinite;
}

.map-card-popup {
    position: absolute;
    top: calc(50% - 100px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 30, 29, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(223, 186, 115, 0.3);
    padding: 16px 20px;
    border-radius: 6px;
    width: 260px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.map-card-popup h4 {
    color: var(--color-white);
    font-size: var(--fs-sm);
    margin-bottom: 8px;
}

.map-card-popup p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
}

/* Sales Representative Live widget */
.rep-chat-widget {
    background-color: rgba(30, 30, 29, 0.9);
    border-top: 1px solid rgba(226, 220, 213, 0.15);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.rep-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rep-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-stone-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: var(--color-black);
    position: relative;
}

.rep-status-dot {
    width: 10px;
    height: 10px;
    background-color: #2ece76;
    border: 2px solid var(--color-dark-gray);
    border-radius: 50%;
    position: absolute;
    bottom: 2px;
    right: 2px;
}

.rep-details span {
    display: block;
}

.rep-name {
    font-size: var(--fs-sm);
    font-weight: 600;
}

.rep-title {
    font-size: 11px;
    color: var(--color-gold);
}

.rep-actions {
    display: flex;
    gap: 12px;
}

.chat-btn {
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--color-white);
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s;
}

.chat-btn:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.chat-btn.chat-primary {
    background-color: #2ece76;
    border-color: #2ece76;
    color: var(--color-white);
}

.chat-btn.chat-primary:hover {
    background-color: #24b465;
    border-color: #24b465;
}

/* Notification Popups */
.custom-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: rgba(30, 30, 29, 0.95);
    border-left: 4px solid var(--color-gold);
    color: var(--color-white);
    padding: 16px 28px;
    border-radius: 4px;
    z-index: var(--z-cursor);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.custom-toast.active {
    transform: translateY(0);
    opacity: 1;
}

/* Footer styling */
.main-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 80px;
}

.footer-info h3 {
    color: var(--color-white);
    margin-bottom: 24px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--fs-sm);
    max-width: 320px;
    margin-bottom: 32px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-circle-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.social-circle-link:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--color-white);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--fs-sm);
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-gold);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--fs-xs);
}

.footer-meta-links {
    display: flex;
    gap: 24px;
}

.footer-meta-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--fs-xs);
    transition: color 0.3s;
}

.footer-meta-links a:hover {
    color: var(--color-gold);
}

/* Animations */
@keyframes kenBurns {
    0% {
        transform: scale(1.02) translate(0px, 0px);
    }
    100% {
        transform: scale(1.10) translate(-20px, -10px);
    }
}

@keyframes scrollDownIndicator {
    0% {
        transform: translateY(-100%);
    }
    80%, 100% {
        transform: translateY(150%);
    }
}

@keyframes slideDownFade {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalReveal {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pinPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(223, 186, 115, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(223, 186, 115, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(223, 186, 115, 0);
    }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .story-section, .story-section:nth-child(even) {
        grid-template-columns: 1fr;
    }
    .story-section:nth-child(even) .story-content-side {
        order: 1;
    }
    .story-section:nth-child(even) .story-image-side {
        order: 2;
    }
    .story-content-side {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    .story-image-side {
        height: 500px;
    }
    .projects-section {
        padding: var(--spacing-lg) 0;
    }
    .project-immersive-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .sheet-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .floor-plan-viewer {
        grid-template-columns: 1fr;
    }
    .process-grid {
        grid-template-columns: 1fr 1fr;
    }
    .quality-grid {
        grid-template-columns: 1fr 1fr;
    }
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-section {
        grid-template-columns: 1fr;
    }
    .contact-interactive-side {
        order: 2;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        padding: var(--spacing-md);
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
        z-index: var(--z-header);
        transition: right var(--transition-normal);
    }
    .nav-menu.active {
        right: 0;
    }
    .main-header.active {
        background-color: var(--color-bg);
    }
    .header-cta {
        display: none;
    }
    .process-grid, .quality-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .custom-cursor, .custom-cursor-follower {
        display: none; /* Disable cursor follower on mobile */
    }
}

/* Reduced Motion Settings */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
    .hero-background {
        animation: none !important;
    }
}
