/* 
 * NHT Karakoç İnşaat - Corporate Website Design System
 * Theme: Gold & Navy Blue (Premium, Trustworthy, Innovative)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Color Palette */
    --primary-color: #0F172A;
    /* Deep Navy Blue - Trust, Authority */
    --secondary-color: #1E293B;
    /* Lighter Navy - Sections */
    --accent-color: #D4AF37;
    /* Metallic Gold - Luxury, Premium */
    --accent-hover: #B5952F;
    /* Darker Gold for hovers */
    --text-light: #F8FAFC;
    /* Off-white for dark backgrounds */
    --text-dark: #334155;
    /* Slate for light backgrounds */
    --bg-light: #FFFFFF;
    --bg-off-white: #F1F5F9;

    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #B5952F 100%);
    --dark-gradient: linear-gradient(to right, #0F172A, #1E293B);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-gold: 0 10px 30px -5px rgba(212, 175, 55, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease-in-out;

    /* Loading Screen Vars */
    --gold-rgb: 212, 175, 55;
    --overlay-bg: #0F172A;
}

/* Loading Screen Styles (Pixel Dissolve) */
#introWrap {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

/* BACKGROUND (kapanacak) */
#introBg {
    position: absolute;
    inset: 0;
    background: var(--overlay-bg);
    overflow: hidden;

    clip-path: circle(160% at 50% 50%);
    animation: bgClose 0.9s ease-in-out forwards;
    animation-delay: 0.5s;
    pointer-events: auto;
}

#introBg::before {
    content: "";
    position: absolute;
    inset: -25%;
    background: radial-gradient(circle at center,
            rgba(var(--gold-rgb), .28),
            rgba(0, 0, 0, 0) 62%);
    filter: blur(44px);
}

/* Logo layer (görsel olarak ortalama için) */
#logoLayer {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 2;
}

/* Logo: JS bunu "gerçek içerik merkezine" göre düzeltir */
#logoImg {
    width: min(260px, 64vw);
    height: auto;
    filter: drop-shadow(0 18px 28px rgba(var(--gold-rgb), .22));

    /* klasik merkez */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translate(var(--logo-shift-x, 0px), var(--logo-shift-y, 0px));
}

/* FX CANVAS */
#fxCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

/* wrap fade out */
.fadeWrap {
    animation: wrapFade .35s ease forwards;
}

@keyframes wrapFade {
    to {
        opacity: 0;
    }
}

@keyframes bgClose {
    0% {
        clip-path: circle(160% at 50% 50%);
    }

    /* 70% adımı kaldırıldı: Akıcı ve tek seferde kapanış */
    100% {
        clip-path: circle(0% at 50% 50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    #intro {
        display: none;
    }
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 5rem 0;
}

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

.text-gold {
    color: var(--accent-color);
}

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

.gold-text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-dark {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

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

.w-100 {
    width: 100% !important;
}

.h-100 {
    height: 100% !important;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 8px;
}

.shadow {
    box-shadow: var(--shadow-md);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--primary-color);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

.btn-outline-gold {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
}

.btn-outline-gold:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.btn-outline-light {
    border: 2px solid var(--text-light);
    color: var(--text-light);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--primary-color);
}


/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition-normal);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    position: relative;
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('assets/images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    max-width: 800px;
    margin-top: 60px;
    /* Offset for header */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: var(--text-light);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 4rem 0 0;
    position: relative;
    z-index: 1;
    border-top: 3px solid var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-info i {
    color: var(--accent-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Mobile menu logic would be added here or via JS */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .nav-links.nav-active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .main-header .container {
        height: 60px;
    }

    /* Mobile H1 - general headings */
    h1 {
        font-size: 2rem;
    }

    /* Page header title - must be much smaller on mobile */
    .page-header h1 {
        font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
        line-height: 1.2;
        word-break: break-word;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

/* Page Header (Subpages) */
.page-header {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('assets/images/page-header-bg.jpg');
    /* Placeholder path */
    background-size: cover;
    background-position: center;
    min-height: 280px;
    height: auto;
    padding: 6rem 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    /* Offset fixed header */
    overflow: hidden;
}

.page-header h1 {
    color: var(--text-light);
    font-size: clamp(1.4rem, 4vw, 3rem);
    margin-bottom: 1rem;
    word-break: break-word;
    line-height: 1.2;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    opacity: 0.8;
}

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

.breadcrumb span {
    color: var(--accent-color);
}

/* CTA Section */
.cta-section {
    position: relative;
    background: url('assets/images/hero-bg.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--text-light);
}

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


/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

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

.project-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    /* Stronger shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    display: block;
    /* Ensure anchor tag behaves like block */
    margin-bottom: 10px;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    /* Even stronger on hover */
    border-color: var(--accent-color);
    /* Highlight border on hover */
}

.project-img {
    height: 250px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Overlay Glassmorphism */
.project-img .overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 5;
}

.project-img .overlay i {
    color: #fff;
    font-size: 2.5rem;
    transform: scale(0.5) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover .overlay {
    opacity: 1;
}

.project-card:hover .overlay i {
    transform: scale(1) translateY(0);
}

/* Card Info Area */
.project-info {
    padding: 1.5rem 1.75rem;
    background: #fff;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-info h3 {
    font-size: 1.35rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color) !important;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.project-info .location {
    font-size: 0.95rem;
    color: var(--text-dark) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}

.project-info .location i {
    color: var(--accent-color);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    background: rgba(15, 23, 42, 0.08); 
    color: var(--primary-color);
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.badge.ongoing {
    background: rgba(212, 175, 55, 0.15);
    color: #9c7f21;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.badge.completed {
    background: rgba(30, 41, 59, 0.06); 
    color: var(--secondary-color);
    border: 1px solid rgba(30, 41, 59, 0.1);
}

/* Hover typography lift */
.project-card:hover .project-info h3 {
    color: var(--accent-hover) !important;
}


/* Hover Zoom Effect */
.hover-zoom {
    transition: transform 0.5s ease;
}

.project-card:hover .hover-zoom,
.gallery-item:hover .hover-zoom {
    transform: scale(1.1);
}

/* Mosaic Gallery Layout */
.gallery-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.gallery-col-left {
    display: flex;
}

.gallery-col-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Expanded Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

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

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: color 0.3s;
    z-index: 10002;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    color: var(--accent-color);
    background: rgba(0, 0, 0, 0.6);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    overflow-x: auto;
    padding: 10px;
    max-width: 90%;
}

.lightbox-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: all 0.3s;
    border-radius: 4px;
}

.lightbox-thumb.active,
.lightbox-thumb:hover {
    opacity: 1;
    border-color: var(--accent-color);
}

/* Responsive Mosaic */
@media (max-width: 768px) {
    .gallery-mosaic {
        grid-template-columns: 1fr;
    }

    .gallery-col-left {
        height: 300px;
        /* Fixed height for mobile */
    }
}

/* ============================================
   PROJECT DETAIL PAGE – RESPONSIVE FIXES
   ============================================ */

/* Two-column layout for project detail pages */
.row {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.col-img {
    flex: 1.5;
    min-width: 0;
}

.col-text {
    flex: 1;
    min-width: 0;
}

/* Contact page two-column layout */
.col-form {
    flex: 1;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.col-form input,
.col-form textarea {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.col-form input:focus,
.col-form textarea:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* -- Mobile: stack everything -- */
@media (max-width: 768px) {
    /* Prevent any horizontal overflow */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Page header mobile */
    .page-header {
        padding: 5rem 1rem 2rem !important;
        min-height: 180px !important;
        height: auto !important;
    }

    /* Stack the two-column layout */
    .row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .col-img,
    .col-text,
    .col-form {
        width: 100%;
        flex: none;
    }

    /* Contact form mobile fixes */
    .col-form {
        padding: 1.5rem !important;
    }

    .col-form input,
    .col-form textarea {
        width: 100% !important;
        box-sizing: border-box !important;
        font-size: 16px !important; /* prevents iOS zoom */
    }

    .col-form h3 {
        font-size: 1.4rem;
    }

    .col-form .btn {
        font-size: 0.95rem;
        padding: 0.9rem 1rem;
    }

    /* Gallery adjustments */
    .gallery-mosaic {
        grid-template-columns: 1fr;
    }

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

    /* All gallery images: no fixed height, let them breathe */
    .gallery-item img {
        max-width: 100%;
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    /* Main hero image in project page */
    .col-img > .gallery-item img {
        height: 260px;
    }

    /* Section padding reduction */
    .section-padding {
        padding: 2.5rem 0;
    }

    /* Button centering */
    .col-text {
        text-align: center;
    }
}

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

    .gallery-item img {
        height: 200px;
    }
}

/* --- EDITORIAL FEATURES SECTION (Premium Construction Style) --- */
.editorial-features {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.editorial-left h2 {
    color: var(--text-light);
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.editorial-left p {
    font-size: 1.15rem;
    opacity: 0.75;
    margin-bottom: 30px;
    max-width: 90%;
    line-height: 1.8;
}

.editorial-left .btn-link {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.editorial-left .btn-link:hover {
    transform: translateX(5px);
}

.editorial-item {
    display: flex;
    gap: 35px;
    padding: 35px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
}

.editorial-item:first-child {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.editorial-item:hover {
    background: rgba(255,255,255,0.02);
    padding-left: 20px;
    border-color: var(--accent-color);
}

.editorial-item:hover .feature-number {
    color: var(--accent-color);
}

.feature-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: rgba(255,255,255,0.15);
    transition: color 0.4s ease;
    line-height: 1;
}

.feature-content h3 {
    color: var(--text-light);
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 500;
    font-family: 'Playfair Display', serif;
}

.feature-content p {
    font-size: 1.05rem;
    opacity: 0.65;
    line-height: 1.7;
    margin: 0;
}

@media(max-width: 992px) {
    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .editorial-left h2 {
        font-size: 3rem;
    }
    .editorial-left p {
        max-width: 100%;
    }
}

/* --- ABOUT PREVIEW --- */
.about-preview {
    background-color: var(--bg-light);
}

.about-preview .row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-preview .col-text {
    flex: 1;
}

.about-preview .col-img {
    flex: 1;
    position: relative;
}

.about-preview h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.about-preview h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-preview p {
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.85;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.check-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.check-list i {
    width: 24px;
    height: 24px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.img-wrapper {
    position: relative;
    border-radius: 12px;
    z-index: 1;
}

/* Decorative offset border */
.img-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px 20px 20px -20px;
    border: 3px solid var(--accent-color);
    border-radius: 12px;
    z-index: -1;
}

.img-wrapper img {
    border-radius: 12px;
    width: 100%;
    object-fit: cover;
    height: 500px;
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gold-gradient);
    color: var(--primary-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 180px;
    z-index: 2;
}

.experience-badge .year {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

@media(max-width: 992px) {
    .about-preview .row {
        flex-direction: column;
    }
    .img-wrapper::before {
        display: none;
    }
    .experience-badge {
        bottom: -20px;
        right: 20px;
        min-width: 140px;
        padding: 1.5rem;
    }
}

/* --- COOKIE BANNER & MODAL --- */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #0f172a;
    color: #fff;
    padding: 1.5rem 0;
    z-index: 10000;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.2);
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
}
.cookie-banner.show {
    bottom: 0;
}
.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.cookie-text {
    flex: 1;
    min-width: 300px;
}
.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-cookie {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    font-size: 0.85rem;
}
.btn-cookie-accept {
    background: var(--gold-gradient);
    color: var(--primary-color);
}
.btn-cookie-accept:hover {
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}
.btn-cookie-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-cookie-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.cookie-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 10001;
    justify-content: center;
    align-items: center;
}
.cookie-modal.show {
    display: flex;
}
.cookie-modal-content {
    background: #fff;
    color: var(--text-dark);
    max-width: 600px;
    width: 90%;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.cookie-modal-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.cookie-modal-header h3 {
    margin: 0;
    color: var(--primary-color);
}
.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.cookie-option:last-child {
    border-bottom: none;
}
.cookie-option-text h4 {
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
}
.cookie-option-text p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
}
/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--accent-color);
}
input:disabled + .slider {
  background-color: #1e293b;
  cursor: not-allowed;
  opacity: 0.7;
}
input:checked + .slider:before {
  transform: translateX(22px);
}

/* --- FLOATING CONTACT BUTTONS --- */
.floating-contact-wrap {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
    background: #25D366;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.phone-btn {
    background: var(--gold-gradient);
    color: var(--primary-color);
}

.floating-btn i {
    z-index: 2;
}

/* Subtle pulse animation for WhatsApp */
.whatsapp-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.5;
    z-index: 1;
    animation: pulseContact 2s infinite;
}

@keyframes pulseContact {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 768px) {
    .floating-contact-wrap {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}