:root {
    --navy: #2D4356;
    --sage: #E8F0E8;
    --sage-footer: #B8CDB8;
    --white: #FFFFFF;
    --gold: #C5A059;
    --gray-text: #6B7280;
    --accent: #B8CDB8;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: scroll;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--navy);
    line-height: 1.6;
    overflow: hidden;
    width: 100%;
    position: relative;
}

h1,
h2,
h3,
h4,
.playfair {
    font-family: 'Playfair Display', serif;
}

section {
    padding: 25px 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

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

ul {
    list-style: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: var(--navy);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1a2a38;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: var(--white);
    padding: 12px 0;
    box-shadow: var(--shadow);
}

.header.scrolled .nav-menu a,
.header.scrolled .logo,
.header.scrolled .lang-toggle {
    color: var(--navy);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    padding: 0 5%;
}

.header.scrolled .hamburger span {
    background: var(--navy);
}

/* Eski hamburger gizli (artık .mobile-hamburger kullanılıyor) */
.hamburger {
    display: none;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ===== Mobile Hamburger (body seviyesinde, header DIŞINDA) ===== */
.mobile-hamburger {
    display: none; /* Desktop'ta gizli */
}

.mobile-menu-close {
    display: none; /* Desktop'ta gizli */
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo span:first-child {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo .tagline {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: inherit;
    opacity: 0.8;
}

/* Logo image switching */
.header .logo-dark { display: none; }
.header .logo-white { display: block; }

.header.scrolled .logo-dark { display: block; }
.header.scrolled .logo-white { display: none; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.header.scrolled .nav-menu a {
    color: var(--navy);
}

/* Mobile Menu Overlay (header dışında, stacking context sorunu yok) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2D4356;
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-menu-list li {
    margin: 28px 0;
}

.mobile-menu-list a {
    text-decoration: none;
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 600;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.mobile-menu-list a:hover {
    color: var(--gold);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 5px 12px;
    z-index: 100001;
}

/* Video Section */
.video-intro {
    padding: 25px 5%;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

.nav-menu a {
    font-weight: 500;
    font-size: 15px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lang-toggle {
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 120px;
    padding-bottom: 60px;
    background: url('assets/london_skyline.png') no-repeat center center/cover;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(45, 67, 86, 0.7), rgba(45, 67, 86, 0.85));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-tag {
 /*   background: var(--gold); */
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 20px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 70px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 45px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 60px;
}

.hero-social-proof .avatars {
    display: flex;
}

.hero-social-proof .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--white);
    margin-left: -12px;
}

.hero-social-proof .avatar:first-child {
    margin-left: 0;
}

/* Section Refinements */
.section-title.centered {
    text-align: center;
    max-width: 800px;
    margin: 30px auto 20px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 16/9;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Bento Grids */
.bento-grid {
    display: grid;
    gap: 20px;
    margin: 40px auto;
}

.project-grid {
    grid-template-columns: repeat(4, 1fr);
}

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

.project-card,
.case-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover,
.case-card:hover {
    transform: translateY(-10px);
}

.project-image,
.case-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.project-info,
.case-content {
    padding: 25px;
    flex: 1;
}

/* Why UK Striking */
.why-uk-striking {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 50px 5%;
}

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

.stat-item .stat-number {
    font-size: 3.5rem;
    color: var(--gold);
    display: block;
    margin-bottom: 10px;
}

/* Sub-page Specific: Uni Cards */
.uni-grid {
    display: grid;
    gap: 30px;
}

.uni-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.uni-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(45, 67, 86, 0.1), rgba(45, 67, 86, 0.95));
}

.uni-card-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: var(--white);
}

/* FAQ */
.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--gray-text);
}

.faq-item.active .faq-answer {
    padding-bottom: 25px;
    max-height: 200px;
}

/* Credentials Section */
.credentials-section {
    padding: 15px 5%;
    background: var(--navy);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.credential-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 6px;
    text-align: center;
    border-bottom: 4px solid var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.credential-card:hover {
    transform: translateY(-5px);
}

.credential-card.card-navy {
    background: var(--navy);
    color: #fff;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.credential-bg-icon {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 5rem;
    color: rgba(255,255,255,0.08);
    transform: rotate(12deg);
}
.credential-inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.credential-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    font-size: 1.1rem;
}
.icon-blue {
    background: #EFF6FF;
    color: var(--navy);
}
.icon-gold {
    background: rgba(255,255,255,0.1);
    color: #FACC15;
}
.icon-green {
    background: #F0FDF4;
    color: #16A34A;
}

.credential-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.credential-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-text);
}

.credential-award-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.credential-divider {
    width: 48px;
    height: 3px;
    background: #FACC15;
    margin: 8px auto;
}
.credential-award-sub {
    font-size: 0.8rem;
    color: var(--gray-text);
}

.credential-compliance-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}
.credential-check {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}
.credential-check i {
    color: #22C55E;
    font-size: 0.8rem;
}
.credential-check p {
    font-size: 0.8rem;
    color: var(--gray-text);
}

/* Sticky WhatsApp Button — sadece mobilde */
.sticky-whatsapp {
    display: none;
}

/* Footer */
.footer {
    background: var(--sage-footer);
    padding: 40px 5% 30px;
    color: var(--navy);
}

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

.footer-bottom {
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

/* Footer logo — orantıyı koru */
.footer-logo {
    display: inline-block;
}

.footer-logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

/* Performance Comparison Responsive fix */
.performance-comparison .container>div:last-of-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Contact Form Refinement */
.contact-form-centered {
    max-width: 370px;
    margin: 40px auto 0;
}

/* Properties Page Styles */
.search-filter-box {
    background: var(--white);
    padding: 18px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: 0px auto 40px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.filter-item {
    flex: 1;
    min-width: 200px;
}

.filter-item label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.filter-item select,
.filter-item input {
    width: 100%;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

/* Responsive */
@media (max-width: 1024px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .sticky-whatsapp {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 24px;
        right: 20px;
        width: 56px;
        height: 56px;
        background: #25D366;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0,0,0,0.25);
        z-index: 9999;
        color: white;
        font-size: 28px;
        text-decoration: none;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .sticky-whatsapp:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }

    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .credential-card {
        padding: 5px;
    }
    .credential-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .credential-value {
        font-size: 1.5rem;
    }
    .credential-award-title {
        font-size: 0.8rem;
    }

    .header {
        padding: 10px 0;
        background: rgba(45, 67, 86, 0.95);
        /* Fixed visibility on mobile */
        backdrop-filter: blur(10px);
    }

    .header.scrolled {
        background: var(--white);
    }

    .nav {
        padding: 0 20px;
    }

    /* Eski hamburger mobilde de gizle */
    .hamburger {
        display: none !important;
    }

    /* Yeni mobile hamburger — body seviyesinde, stacking context'e bağlı değil */
    .mobile-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        position: fixed;
        top: 18px;
        right: 20px;
        z-index: 100001;
    }

    .mobile-hamburger span {
        display: block;
        width: 30px;
        height: 3px;
        background: var(--white);
        border-radius: 10px;
        transition: all 0.3s linear;
    }

    /* Scrolled header varken hamburger koyu olsun */
    body.header-scrolled .mobile-hamburger span {
        background: var(--navy);
    }

    /* Menü açıkken hamburger gizlensin (X butonu var) */
    .mobile-hamburger.menu-open {
        display: none;
    }

    /* Overlay kapatma butonu */
    .mobile-menu-close {
        display: block;
    }

    /* Desktop nav-menu'yü mobilde gizle */
    .nav-menu.desktop-menu {
        display: none !important;
    }

    .hero-tag {
    margin-top: 75px;
}
    /* Hero butonları: aynı boyut, ortada */
    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .hero-actions .btn {
        width: 260px !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 14px 28px !important;
        font-size: 1rem !important;
        box-sizing: border-box !important;
    }

    .hide-mobile {
        display: none;
    }

    .project-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-centered {
        max-width: 100%;
        padding: 0 10px;
    }

    /* Performance Comparison Fix */
    .performance-comparison .container>div:last-of-type {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .performance-comparison table {
        font-size: 0.85rem;
        display: block;
        overflow-x: auto;
    }

    /* Why Invest Section Fixes */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-item .stat-number {
        font-size: 2rem !important;
    }

    .stat-item p {
        font-size: 0.9rem;
    }

    /* Global Detail Page & Overflow Fix */
    .container {
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    /* Stack detail page layouts */
    main[style*="grid-template-columns: 1fr 350px"],
    main[style*="grid-template-columns: 1fr 400px"],
    main [style*="grid-template-columns: 2fr 1fr"],
    .founder-grid,
    .uni-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
    }

    aside {
        margin-top: 0px;
        width: 100% !important;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

@media (max-width: 768px) {
    .header {
        background: rgba(45, 67, 86, 0.95);
        backdrop-filter: blur(10px);
    }

    .hero {
        padding-top: 110px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 3rem !important;
        line-height: 1.25;
        padding: 0 10px;
    }

    .section-title.centered {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 2rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }
}

@media (max-width: 768px) {

    /* Global Section Spacing Fix */
    section {
        padding: 12px 5px !important;
    }

    /* Why UK Striking specific fix */
    .why-uk-striking {
        padding: 30px 20px !important;
    }

  /* Hero buttons: same size, centered on mobile */
    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .hero-actions .btn {
        width: 260px !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 14px 28px !important;
        font-size: 1rem !important;
        box-sizing: border-box !important;
    }

    /* Social Proof spacing fix */
    .hero-social-proof {
        margin-top: 30px !important;
    }

    /* Fix excessive gap in sub-pages */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Typography Overrides */
    h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
    }

    /* Reduce margins */
    .section-title.centered {
        margin-bottom: 30px !important;
    }
    .footer-grid-refined {
        grid-template-columns: 1fr;
        gap: 40px; /* Reduced gap for mobile */
    }
}

/* === Standart İletişim Formu === */
.contact-form-section {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-section form {
    display: grid;
    gap: 15px;
}

.contact-form-section .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form-section input,
.contact-form-section textarea {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    color: #1a2a38;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s, background 0.3s;
    box-sizing: border-box;
}

.contact-form-section input::placeholder,
.contact-form-section textarea::placeholder {
    color: rgba(45, 67, 86, 0.7);
}

.contact-form-section input:focus,
.contact-form-section textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: #fff;
}

.contact-form-section textarea {
    min-height: 75px;
    resize: vertical;
}

.contact-form-section .form-submit-btn {
    width: 50%;
    margin: 0 auto;
    display: block;
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.contact-form-section .form-submit-btn:hover {
    background: #b08c3e;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-form-section .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-section {
        padding: 0 10px;
    }

    .contact-form-section .form-submit-btn {
        width: 80%;
    }
}

/* Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: #22C55E;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.modal-message {
    font-size: 1.1rem;
    color: var(--navy);
    font-weight: 500;
    line-height: 1.5;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--navy);
}