/* ==========================================================================
   EMRE CALISKAN — Personal Brand Theme
   Warm Heritage Luxury Design — Enhanced
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --color-bg: #f5f0e8;
    --color-bg-light: #efe9df;
    --color-bg-card: #ffffff;
    --color-text: #2c2c2c;
    --color-text-muted: #5a5a5a;
    --color-accent: #b8935a;
    --color-accent-hover: #a07d48;
    --color-accent-dark: #8c6b3a;
    --color-border: #d4c9b5;
    --color-dark-bg: #1a1a1a;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ---------- Utility Classes ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section {
    padding: 120px 0;
    position: relative;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Fade-in Animation (consistent 0.3s delay, ease-in fade-up) ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out 0.3s, transform 0.6s ease-out 0.3s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn-gold {
    background-color: var(--color-accent);
    color: #ffffff;
}

.btn-gold:hover {
    background-color: var(--color-accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 147, 90, 0.4);
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* ---------- Image Placeholders ---------- */
.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, #efe9df 0%, #e8e0d4 100%);
    border: 2px dashed var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    position: relative;
}

.image-placeholder-small {
    min-height: 80px;
    max-height: 80px;
}

.placeholder-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    text-align: center;
    padding: 20px;
    opacity: 0.8;
}

/* ==========================================================================
   NAVIGATION — Polished
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(245, 240, 232, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition);
}

.site-header.scrolled {
    background-color: rgba(245, 240, 232, 0.99);
    box-shadow: 0 4px 30px rgba(44, 36, 24, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.nav-logo .ec-monogram {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: 0.05em;
}

.nav-logo .ec-monogram:hover {
    color: var(--color-accent-hover);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c2c2c;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.4s ease;
}

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

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

.nav-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-social a {
    color: #5a5a5a;
    font-size: 1.1rem;
    transition: color var(--transition);
}

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

/* Hamburger Menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #2c2c2c;
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #2c2c2c;
    transition: all var(--transition);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle.active .hamburger {
    background-color: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
    background-color: var(--color-accent);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
    background-color: var(--color-accent);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    height: calc(100vh - 75px);
    background-color: rgba(245, 240, 232, 0.98);
    backdrop-filter: blur(10px);
    padding: 40px 24px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu-links .nav-link {
    font-size: 1.2rem;
}

.mobile-menu-social {
    display: flex;
    gap: 24px;
}

.mobile-menu-social a {
    color: #5a5a5a;
    font-size: 1.4rem;
}

.mobile-menu-social a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   SECTION 1 — HERO (Cinematic)
   ========================================================================== */
.section-hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    overflow: hidden;
}

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

.hero-placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3d3428 0%, #2c2418 50%, #3d3428 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-placeholder-img .placeholder-label {
    font-size: 0.9rem;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(44, 36, 24, 0.4) 0%,
        rgba(44, 36, 24, 0.7) 100%
    );
}

/* Particle canvas for hero */
#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Gold divider line between name and tagline */
.hero-divider {
    width: 80px;
    height: 2px;
    background-color: var(--color-accent);
    margin: 0 auto 20px;
    opacity: 0.8;
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.hero-subtext {
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Larger hero buttons with gold pulse on hover */
.hero-cta .btn-gold {
    padding: 16px 44px;
    font-size: 1rem;
}

.hero-cta .btn-gold:hover {
    animation: goldPulse 1.5s ease-in-out infinite;
}

@keyframes goldPulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(184, 147, 90, 0.4); }
    50% { box-shadow: 0 8px 40px rgba(184, 147, 90, 0.7); }
}

/* Scroll indicator arrow */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounceArrow 2s ease-in-out infinite;
    cursor: pointer;
}

.scroll-indicator svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes bounceArrow {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.6; }
}

/* ==========================================================================
   SECTION 2 — ABOUT (with depth)
   ========================================================================== */
.section-about {
    background-color: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Gold left border accent on bio text */
.about-text {
    border-left: 3px solid var(--color-accent);
    padding-left: 30px;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text p:first-of-type {
    color: var(--color-text);
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

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

.stat-item i {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 10px;
    display: block;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

/* CTA button below stats */
.about-cta {
    margin-top: 30px;
    text-align: center;
}

.about-image {
    height: 100%;
}

.about-img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.about-image .image-placeholder {
    min-height: 500px;
    border-radius: 4px;
}

/* ==========================================================================
   SECTION 3 — LEGACY / TIMELINE (Elevated)
   ========================================================================== */
.section-legacy {
    background-color: var(--color-bg-light);
}

.section-legacy .image-placeholder {
    background: linear-gradient(135deg, #e8e0d4 0%, #ddd5c8 100%);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--color-accent) 10%,
        var(--color-accent) 90%,
        transparent 100%
    );
    transform: translateX(-50%);
}

.timeline-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    position: relative;
    align-items: center;
}

.timeline-card::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    background-color: var(--color-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--color-bg-light), 0 0 20px rgba(184, 147, 90, 0.3);
}

.timeline-card:nth-child(odd) .timeline-card-image {
    order: 1;
}

.timeline-card:nth-child(odd) .timeline-card-content {
    order: 2;
    text-align: left;
    padding-left: 40px;
}

.timeline-card:nth-child(even) .timeline-card-image {
    order: 2;
}

.timeline-card:nth-child(even) .timeline-card-content {
    order: 1;
    text-align: right;
    padding-right: 40px;
}

/* Warm cream-to-white gradient behind each timeline card content */
.timeline-card-content {
    background: linear-gradient(135deg, rgba(245, 240, 232, 0.6) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 8px;
    padding: 30px;
    position: relative;
}

.timeline-card-image .image-placeholder {
    min-height: 250px;
}

.timeline-img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

/* Gold EST badge */
.timeline-est-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #ffffff;
    background-color: var(--color-accent);
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.timeline-era {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    font-variant: small-caps;
}

.timeline-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.timeline-subheading {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    font-style: italic;
}

.timeline-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ==========================================================================
   SECTION 4 — BY THE NUMBERS (Enhanced with grain)
   ========================================================================== */
.section-numbers {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background-color: var(--color-dark-bg);
}

/* Subtle grain texture overlay */
.section-numbers::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.section-numbers .hero-placeholder-img {
    background: linear-gradient(135deg, #1a1a1a 0%, #111111 50%, #1a1a1a 100%);
}

.section-numbers .hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.6) 0%,
        rgba(26, 26, 26, 0.8) 100%
    );
}

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

.numbers-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.numbers-content {
    position: relative;
    z-index: 2;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    text-align: center;
}

.number-item {
    padding: 30px 10px;
}

.number-value {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 10px;
    line-height: 1.2;
}

.number-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

/* ==========================================================================
   TESTIMONIALS (Enhanced)
   ========================================================================== */
.section-testimonials {
    background-color: var(--color-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 40px 30px 30px;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    box-shadow: 0 12px 40px rgba(184, 147, 90, 0.15);
    transform: translateY(-5px);
}

/* Star rating */
.testimonial-stars {
    margin-bottom: 12px;
    color: var(--color-accent);
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: -10px;
    opacity: 0.7;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Trust line below testimonials */
.testimonials-trust {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--color-accent);
    font-style: italic;
    letter-spacing: 0.02em;
    opacity: 0.85;
}

/* ==========================================================================
   SECTION 5 — VENTURES (Elevated)
   ========================================================================== */
.section-ventures {
    background-color: var(--color-bg);
}

.ventures-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.venture-card {
    background-color: #ffffff;
    border: 1px solid var(--color-accent);
    border-top: 3px solid var(--color-accent);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.venture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 40%;
    height: 3px;
    background-color: var(--color-accent);
    transform: translateX(-50%);
    transition: width 0.4s ease;
    z-index: 1;
}

.venture-card:hover::before {
    width: 100%;
}

.venture-card:hover {
    border-color: var(--color-accent-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(184, 147, 90, 0.15);
}

.venture-logo {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.venture-logo-img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.venture-image {
    overflow: hidden;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    min-height: 200px;
    padding: 2rem;
}

.venture-logo-full {
    max-width: 80%;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.venture-card:last-child .venture-logo-full {
    max-height: 220px;
    max-width: 90%;
}

.venture-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

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

.venture-image .image-placeholder {
    min-height: 200px;
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: linear-gradient(135deg, #f5f0e8 0%, #efe9df 100%);
}

.venture-content {
    padding: 24px;
}

/* Category label above venture name */
.venture-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 6px;
    display: block;
}

.venture-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.venture-tagline {
    font-size: 0.95rem;
    color: var(--color-accent);
    font-style: italic;
    margin-bottom: 12px;
}

.venture-description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.venture-social {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.venture-social a {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    transition: color var(--transition);
}

.venture-social a:hover {
    color: var(--color-accent);
}

/* Visit Website button — gold fill on hover */
.venture-content .btn-gold.btn-small {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    transition: all 0.4s ease;
}

.venture-content .btn-gold.btn-small:hover {
    background-color: var(--color-accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 147, 90, 0.3);
}

/* ==========================================================================
   SECTION 6 — GALLERY (Intentional placeholders)
   ========================================================================== */
.section-gallery {
    background-color: var(--color-bg-light);
}

/* Instagram note at top of gallery */
.gallery-note {
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--color-accent);
    font-style: italic;
    letter-spacing: 0.02em;
}

.gallery-note a {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gallery-note a:hover {
    color: var(--color-accent-hover);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
    margin-top: 20px;
}

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

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

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

.gallery-item .image-placeholder {
    min-height: 100%;
    border-radius: 0;
    background: linear-gradient(135deg, #f5f0e8 0%, #efe9df 100%);
    border: 2px dashed var(--color-accent);
    flex-direction: column;
    gap: 8px;
}

/* Camera icon in gallery placeholders */
.gallery-item .image-placeholder::before {
    content: '\f030';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--color-accent);
    opacity: 0.5;
}

/* Caption below gallery placeholder label */
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(245, 240, 232, 0.9);
    padding: 6px 10px;
    font-size: 0.65rem;
    font-style: italic;
    color: var(--color-text-muted);
    text-align: center;
    letter-spacing: 0.02em;
}

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

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

/* ==========================================================================
   SECTION 7 — CONNECT (Warm & urgent)
   ========================================================================== */
.section-connect {
    background-color: var(--color-bg);
}

.connect-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 40px;
    margin-top: 40px;
}

/* Gold divider between form and details */
.connect-divider {
    background-color: var(--color-accent);
    opacity: 0.3;
}

/* Response time line */
.connect-response-time {
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.connect-response-time i {
    font-size: 0.9rem;
}

/* Warm gold background tint on form area */
.connect-form {
    background: linear-gradient(135deg, rgba(184, 147, 90, 0.04) 0%, rgba(184, 147, 90, 0.08) 100%);
    border-radius: 8px;
    padding: 30px;
}

.connect-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 2px;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    transition: border-color var(--transition);
    outline: none;
}

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

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

.form-success {
    background-color: rgba(201, 168, 76, 0.1);
    border: 1px solid var(--color-accent);
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 20px;
}

.form-success p {
    color: var(--color-accent);
    font-size: 0.95rem;
}

.connect-details {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: var(--color-text-muted);
}

.contact-item i {
    color: var(--color-accent);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-item a {
    color: var(--color-text-muted);
}

.contact-item a:hover {
    color: var(--color-accent);
}

.connect-social h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 16px;
}

.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-links-large a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 1rem;
    padding: 10px 16px;
    border-radius: 4px;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.social-links-large a:hover {
    color: var(--color-accent);
    border-color: var(--color-border);
    background-color: #ffffff;
}

.social-links-large a i {
    font-size: 1.3rem;
    color: var(--color-accent);
    width: 24px;
    text-align: center;
}

/* ==========================================================================
   FOOTER (Premium)
   ========================================================================== */
.site-footer {
    background-color: var(--color-dark-bg);
    border-top: 2px solid var(--color-accent);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 40px;
}

/* Footer left with EC monogram and ram logo placeholder */
.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ec-monogram-footer {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.05em;
}

.footer-ram-logo {
    width: 28px;
    height: 28px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: var(--color-accent);
    opacity: 0.7;
}

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

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

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

.footer-ventures {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-ventures a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    opacity: 0.7;
}

.footer-ventures a:hover {
    color: var(--color-accent);
    opacity: 1;
}

.footer-right {
    text-align: right;
}

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

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #2a2a2a;
}

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

.footer-tagline {
    font-size: 0.8rem;
    color: var(--color-accent);
    font-style: italic;
    opacity: 0.7;
    margin-top: 8px;
}

/* ==========================================================================
   SCROLL-TO-TOP BUTTON
   ========================================================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--color-accent);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(184, 147, 90, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--color-accent-hover);
    box-shadow: 0 6px 25px rgba(184, 147, 90, 0.5);
    transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .numbers-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ventures-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .timeline-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-card::before {
        left: 20px;
        top: 20px;
        transform: translate(-50%, 0);
    }

    .timeline-card:nth-child(odd) .timeline-card-content,
    .timeline-card:nth-child(even) .timeline-card-content {
        order: 2;
        text-align: left;
        padding-left: 40px;
        padding-right: 0;
    }

    .timeline-card:nth-child(odd) .timeline-card-image,
    .timeline-card:nth-child(even) .timeline-card-image {
        order: 1;
        padding-left: 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .connect-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .connect-divider {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .nav-links,
    .nav-social {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text {
        border-left: none;
        padding-left: 0;
    }

    .about-image {
        order: -1;
    }

    .about-image .image-placeholder {
        min-height: 300px;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Gold divider between stats on mobile */
    .number-item {
        border-bottom: 1px solid rgba(184, 147, 90, 0.3);
        padding-bottom: 20px;
    }

    .number-item:last-child {
        border-bottom: none;
    }

    .connect-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .connect-divider {
        display: none;
    }

    /* Full width send button on mobile */
    .connect-form .btn-gold {
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

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

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

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

    .hero-name {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .timeline-line {
        display: none;
    }

    .timeline-card::before {
        display: none;
    }

    .timeline-card:nth-child(odd) .timeline-card-content,
    .timeline-card:nth-child(even) .timeline-card-content {
        padding-left: 0;
    }

    .timeline-card:nth-child(odd) .timeline-card-image,
    .timeline-card:nth-child(even) .timeline-card-image {
        padding-left: 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .numbers-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 180px;
    }

    .gallery-item-wide,
    .gallery-item-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }

    .footer-ventures {
        flex-direction: column;
        gap: 8px;
    }
}
