/* ============================================
   KOSAVALI SEÇKİN GRUP - ANA STYLESHEET
   Tema: Kurumsal & Profesyonel
   Renkler: Lacivert + Altın aksanlar
   ============================================ */

:root {
    /* Ana renkler - Kurumsal Lacivert */
    --navy-900: #0a1f3d;
    --navy-800: #102b54;
    --navy-700: #1e3a5f;
    --navy-600: #2a4d7a;
    --navy-500: #3d6396;
    --navy-400: #5b80b5;
    --navy-300: #8aa6cd;
    --navy-100: #e8eef5;
    --navy-50: #f4f7fb;
    
    /* Aksan - Altın (kurumsal güven) */
    --gold: #c9a961;
    --gold-dark: #a08344;
    --gold-light: #d9bd7e;
    
    /* Nötr */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Semantic */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Tipografi */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-max: 1280px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Gölgeler */
    --shadow-sm: 0 1px 2px rgba(10, 31, 61, 0.05);
    --shadow-md: 0 4px 12px rgba(10, 31, 61, 0.08);
    --shadow-lg: 0 10px 30px rgba(10, 31, 61, 0.12);
    --shadow-xl: 0 20px 60px rgba(10, 31, 61, 0.18);
    
    /* Geçişler */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--gold-dark);
}

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy-900);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 50px 0;
}

@media (max-width: 768px) {
    .section { padding: 50px 0; }
    .section-sm { padding: 30px 0; }
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--navy-900);
    color: var(--navy-300);
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.top-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy-300);
    transition: var(--transition);
}

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

.top-link i {
    width: 14px;
    height: 14px;
}

.top-link-text {
    cursor: default;
}

.top-bar-right {
    display: flex;
    gap: 14px;
}

.top-bar-right a {
    color: var(--navy-300);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.top-bar-right a:hover {
    color: var(--gold);
    background: rgba(201, 169, 97, 0.1);
}

.top-bar-right i {
    width: 14px;
    height: 14px;
}

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 31, 61, 0.08);
    z-index: 100;
    transition: var(--transition);
}

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

.header-spacer {
    height: 90px;
}

@media (max-width: 768px) {
    .header-spacer { height: 75px; }
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy-900);
    flex-shrink: 0;
}

.logo-mark svg {
    width: 50px;
    height: 50px;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--navy-900);
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--gold-dark);
    letter-spacing: 3px;
    margin-top: 2px;
}

@media (max-width: 480px) {
    .logo-title { font-size: 22px; }
    .logo-subtitle { font-size: 10px; letter-spacing: 2px; }
    .logo-mark svg { width: 42px; height: 42px; }
}

/* NAVIGATION */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    color: var(--navy-800);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: var(--gold-dark);
    background: var(--navy-50);
}

.nav-list > li > a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.dropdown-icon {
    width: 14px !important;
    height: 14px !important;
    transition: var(--transition);
}

.has-dropdown {
    position: relative;
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 280px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 10;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 14px;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--navy-50);
    color: var(--navy-900);
    padding-left: 18px;
}

/* HEADER ACTIONS */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy-900);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--navy-50);
    color: var(--navy-900);
    align-items: center;
    justify-content: center;
}

.nav-cta-mobile { display: none; }

@media (max-width: 1024px) {
    .nav-toggle { display: flex; }
    .header-cta span { display: none; }
    .header-cta {
        padding: 10px !important;
        width: 44px;
        height: 44px;
        justify-content: center;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 24px 24px;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 999;
        justify-content: flex-start;
    }
    
    .main-nav.active { right: 0; }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        align-items: stretch;
    }
    
    .nav-list > li > a {
        padding: 14px 16px;
        border-radius: var(--radius-md);
        font-size: 16px;
    }
    
    .nav-list > li > a.active::after { display: none; }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 8px 16px;
        background: transparent;
        border: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .has-dropdown.open .dropdown-menu {
        max-height: 500px;
    }
    
    .nav-close { display: flex; }
    .nav-cta-mobile { display: block; margin-top: 12px; }
    .nav-cta-mobile .btn { width: 100%; justify-content: center; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.btn i {
    width: 18px;
    height: 18px;
}

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

.btn-primary:hover {
    background: var(--navy-800);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 31, 61, 0.25);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-900);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--navy-900);
    border-color: var(--navy-900);
}

.btn-outline:hover {
    background: var(--navy-900);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--navy-900);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    height: calc(100vh - 90px);
    min-height: 600px;
    max-height: 800px;
    overflow: hidden;
    background: var(--navy-900);
}

@media (max-width: 768px) {
    .hero-slider {
        height: auto;
        min-height: 540px;
    }
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(10, 31, 61, 0.92) 0%, rgba(30, 58, 95, 0.75) 50%, rgba(10, 31, 61, 0.6) 100%),
        url('/images/hero-pattern.svg');
    background-size: cover, 200px;
    background-position: center, top left;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Varsayılan arka plan resmi yoksa: dekoratif gradient */
.hero-slide:nth-child(1) .hero-slide-bg {
    background: linear-gradient(135deg, #1e3a5f 0%, #0a1f3d 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 720px;
    padding: 60px 0;
}

.hero-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(201, 169, 97, 0.4);
    border-radius: 30px;
    background: rgba(201, 169, 97, 0.05);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 560px;
}

@media (max-width: 768px) {
    .hero-description { font-size: 16px; }
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Slider Nav */
.hero-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-dot {
    width: 40px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--gold);
    width: 60px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 5;
    transition: var(--transition);
}

.hero-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-900);
}

.hero-arrow.prev { left: 30px; }
.hero-arrow.next { right: 30px; }

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

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    color: var(--navy-900);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 16px auto 0;
    border-radius: 3px;
}

.section-description {
    font-size: 17px;
    color: var(--gray-600);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-section {
    background: var(--navy-50);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 28px;
    position: relative;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--navy-900), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--navy-100);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--navy-50), var(--navy-100));
    color: var(--navy-700);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: var(--gold);
    transform: scale(1.05);
}

.service-icon i {
    width: 30px;
    height: 30px;
}

.service-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--navy-900);
}

.service-desc {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy-900);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    margin-top: auto;
}

.service-link i {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.service-card:hover .service-link {
    color: var(--gold-dark);
}

.service-card:hover .service-link i {
    transform: translateX(4px);
}

/* ============================================
   ABOUT/STATS SECTION
   ============================================ */
.about-section {
    background: var(--white);
}

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

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

.about-image-wrap {
    position: relative;
}

.about-image-main {
    width: 100%;
    height: 480px;
    background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.about-image-main svg {
    width: 60%;
    height: auto;
    opacity: 0.3;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
    background: var(--gold);
    color: var(--navy-900);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--white);
}

.about-experience-badge .num {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}

.about-experience-badge .label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

@media (max-width: 600px) {
    .about-experience-badge {
        width: 120px;
        height: 120px;
        right: 0;
    }
    .about-experience-badge .num { font-size: 42px; }
    .about-image-main { height: 360px; }
}

.about-content h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 20px;
}

.about-content > p {
    color: var(--gray-600);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-features {
    list-style: none;
    margin: 32px 0;
}

.about-features li {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.about-features li i {
    width: 24px;
    height: 24px;
    color: var(--gold-dark);
    background: rgba(201, 169, 97, 0.12);
    padding: 4px;
    border-radius: 50%;
    flex-shrink: 0;
}

.about-features li span {
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.6;
}

.about-features li strong {
    color: var(--navy-900);
    display: block;
    margin-bottom: 2px;
}

/* STATS BAR */
.stats-bar {
    background: var(--navy-900);
    color: var(--white);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(201, 169, 97, 0.1) 0%, transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child { border-right: none; }

@media (max-width: 600px) {
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    .stat-item:last-child { border-bottom: none; }
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: 
        linear-gradient(135deg, rgba(10, 31, 61, 0.95) 0%, rgba(30, 58, 95, 0.9) 100%),
        url('/images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
}

.cta-section h2 {
    color: var(--white);
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   PROJECTS / REFERENCES
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--navy-900);
    aspect-ratio: 4 / 3;
    transition: var(--transition);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image {
    transform: scale(1.08);
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 31, 61, 0.95) 0%, rgba(10, 31, 61, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 2;
    color: var(--white);
}

.project-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 8px;
}

.project-title {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 8px;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.project-location i {
    width: 14px;
    height: 14px;
}

/* ============================================
   BLOG GRID
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.blog-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--white);
    color: var(--navy-900);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.blog-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-dark);
    margin-bottom: 10px;
}

.blog-title {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.35;
}

.blog-title a {
    color: var(--navy-900);
}

.blog-title a:hover {
    color: var(--gold-dark);
}

.blog-excerpt {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-900);
    margin-top: auto;
}

.blog-read-more:hover { color: var(--gold-dark); }
.blog-read-more i { width: 16px; height: 16px; transition: var(--transition); }
.blog-read-more:hover i { transform: translateX(4px); }

/* ============================================
   PAGE HERO (sub-page banner)
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    color: var(--white);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.08) 0%, transparent 50%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 12px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

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

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

.breadcrumb i {
    width: 14px;
    height: 14px;
}

/* ============================================
   CONTENT PAGES (service/blog detail)
   ============================================ */
.content-section {
    padding: 70px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
}

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

.content-main {
    background: var(--white);
}

.content-main img {
    width: 100%;
    border-radius: var(--radius-md);
    margin: 20px 0;
}

.content-main h1, .content-main h2, .content-main h3 {
    margin-top: 32px;
    margin-bottom: 16px;
}

.content-main h2 { font-size: 28px; }
.content-main h3 { font-size: 22px; color: var(--navy-800); }

.content-main p {
    margin-bottom: 16px;
    color: var(--gray-700);
    line-height: 1.85;
}

.content-main ul, .content-main ol {
    margin: 16px 0 20px 20px;
    padding-left: 20px;
}

.content-main ul li {
    list-style: none;
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--gray-700);
    line-height: 1.7;
}

.content-main ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

.content-main strong { color: var(--navy-900); }

.content-main blockquote {
    border-left: 4px solid var(--gold);
    background: var(--navy-50);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--gray-700);
}

/* Sidebar */
.content-sidebar {
    position: sticky;
    top: 110px;
    align-self: start;
}

.sidebar-widget {
    background: var(--navy-50);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-widget-title {
    font-size: 18px;
    color: var(--navy-900);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    border-bottom: 1px solid var(--gray-200);
}

.sidebar-list li:last-child { border-bottom: none; }

.sidebar-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.sidebar-list a:hover {
    color: var(--navy-900);
    padding-left: 6px;
}

.sidebar-list a i {
    width: 16px;
    height: 16px;
    color: var(--gold-dark);
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.sidebar-cta h4 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 12px;
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-bottom: 20px;
}

.sidebar-cta .phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 18px;
}

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

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.form-label .required { color: var(--danger); }

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--gray-800);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--navy-600);
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.08);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

select.form-control {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

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

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

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

.contact-info-card {
    background: var(--navy-50);
    padding: 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--gold);
}

.contact-info-card i {
    width: 28px;
    height: 28px;
    color: var(--navy-900);
    background: var(--white);
    padding: 6px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.contact-info-card h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: 6px;
    font-family: var(--font-body);
    font-weight: 600;
}

.contact-info-card p, .contact-info-card a {
    color: var(--navy-900);
    font-weight: 600;
    font-size: 16px;
    display: block;
}

.contact-map {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 30px;
    border: 1px solid var(--gray-200);
}

.contact-map iframe { width: 100%; height: 100%; border: 0; }

.contact-form-wrap {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

@media (max-width: 600px) { .contact-form-wrap { padding: 24px; } }

.contact-form-wrap h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.contact-form-wrap > p {
    color: var(--gray-600);
    margin-bottom: 24px;
    font-size: 15px;
}

/* ============================================
   FLASH MESSAGES
   ============================================ */
.flash {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.flash-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.flash-info { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pagination a, .pagination span {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy-900);
    border: 1px solid var(--gray-200);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--navy-900);
    color: var(--white);
    border-color: var(--navy-900);
}

.pagination .active {
    background: var(--navy-900);
    color: var(--white);
    border-color: var(--navy-900);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    z-index: 50;
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.6); }
    50% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: linear-gradient(180deg, var(--navy-900) 0%, #050e1e 100%);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-top {
    padding: 70px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-logo-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.footer-logo-subtitle {
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 3px;
    margin-top: 4px;
    font-weight: 600;
}

.footer-text {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.65);
}

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

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--gold);
    color: var(--navy-900);
    transform: translateY(-3px);
}

.footer-socials i { width: 16px; height: 16px; }

.footer-title {
    font-size: 16px;
    color: var(--white);
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-links a i { width: 14px; height: 14px; }

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    align-items: flex-start;
}

.footer-contact li i {
    width: 18px;
    height: 18px;
    color: var(--gold);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.25);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-inner strong { color: var(--white); }

.footer-credit { color: rgba(255, 255, 255, 0.45); }

/* ============================================
   404 / 500 PAGES
   ============================================ */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
}

.error-content h1 {
    font-size: clamp(80px, 15vw, 160px);
    color: var(--navy-900);
    margin-bottom: 0;
    line-height: 1;
    background: linear-gradient(135deg, var(--navy-900), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-content h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.error-content p {
    color: var(--gray-600);
    margin-bottom: 28px;
    font-size: 16px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.fade-delay-1 { animation-delay: 0.1s; }
.fade-delay-2 { animation-delay: 0.2s; }
.fade-delay-3 { animation-delay: 0.3s; }
.fade-delay-4 { animation-delay: 0.4s; }

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold-dark); }
.text-navy { color: var(--navy-900); }
.bg-navy-light { background: var(--navy-50); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
