/**
 * Nova Yapı İnşaat - Ana Stil Dosyası
 * Modern, animasyonlu ve responsive tasarım
 */

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

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Renkler */
    --primary-color: #1a365d;
    --primary-dark: #0f2744;
    --primary-light: #2c5282;
    --secondary-color: #d69e2e;
    --secondary-dark: #b7791f;
    --accent-color: #e53e3e;

    /* Nötr Renkler */
    --white: #ffffff;
    --gray-50: #f7fafc;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-400: #a0aec0;
    --gray-500: #718096;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --gray-800: #1a202c;
    --gray-900: #171923;

    /* Yazı Tipleri */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;

    /* Boyutlar */
    --header-height: 80px;
    --header-height-scrolled: 70px;
    --container-max-width: 1280px;
    --container-padding: 1.5rem;

    /* Geçişler */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Gölgeler */
    --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-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(214, 158, 46, 0.3);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.1);

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

/* Glassmorphism Classes */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-glass);
}

.glass-dark {
    background: rgba(26, 54, 93, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-glass);
}

/* Base Styles Update */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.8;
    color: var(--gray-600);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

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

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

ul,
ol {
    list-style: none;
}

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

/* ============================================
   UTILITIES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section {
    padding: 8rem 0;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 12rem 0 6rem;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.1;
}

.page-header h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

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

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
    color: var(--secondary-color);
    font-weight: 600;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title span {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 0.75rem;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
}

.section-title p {
    color: var(--gray-500);
    max-width: 700px;
    margin: 1.5rem auto 0;
    font-size: 1.125rem;
}

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

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    width: 100%;
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    position: relative;
}

.loader-inner {
    width: 100%;
    height: 100%;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header-top {
    background: var(--primary-dark);
    padding: 0.5rem 0;
    transition: all var(--transition-normal);
}

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

.header-contact {
    display: flex;
    gap: 1.5rem;
}

.header-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-300);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.header-contact .contact-item:hover {
    color: var(--secondary-color);
}

.header-social {
    display: flex;
    gap: 1rem;
}

.header-social a {
    color: var(--gray-300);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.header-social a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.header-main {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    transition: height var(--transition-normal);
}

/* Scrolled Header */
.header.scrolled .header-top {
    height: 0;
    padding: 0;
    overflow: hidden;
}

.header.scrolled .header-main-inner {
    height: var(--header-height-scrolled);
}

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

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.logo-tagline {
    font-size: 0.625rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

/* Navigation */
@media (min-width: 992px) {
    .main-nav {
        display: block;
    }

    .header-cta {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }
}

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

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

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

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--primary-color);
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-normal);
    z-index: 999;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-inner {
    padding: 6rem 2rem 2rem;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-menu a {
    display: block;
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.mobile-nav-menu a:hover {
    background: var(--gray-100);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.mobile-nav-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

/* Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 998;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
    z-index: 1;
}

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

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

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(26, 54, 93, 0.5) 100%);
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 6s ease;
}

.hero-slide.active .hero-bg img {
    transform: scale(1);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 10;
    text-align: center;
}

.hero-slide-content {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
}

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

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 20;
}

.hero-dot {
    display: block;
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: var(--primary-color);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') repeat;
    opacity: 0.05;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

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

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    transform: rotateY(180deg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

.service-link:hover {
    color: var(--secondary-color);
    gap: 0.75rem;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-section {
    background: var(--white);
    padding: 6rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    text-decoration: none;
    background: #000;
    /* Fallback for transparency */
}

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

.project-image {
    position: relative;
    width: 100%;
    height: 400px;
    /* Increased height for better visibility */
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    z-index: 1;
    pointer-events: none;
    /* Allow clicks to pass through if needed, but anchor wraps all */
}

.project-status {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    background: var(--secondary-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    white-space: nowrap;
    letter-spacing: 0.5px;
    pointer-events: auto;
    /* Ensure tooltip/status is interactive if needed */
}

.project-status.tamamlandi {
    background: #48bb78;
}

.project-status.devam_ediyor {
    background: #ed8936;
}

.project-status.planlama {
    background: #718096;
}

.project-info {
    position: relative;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.project-card:hover .project-info {
    transform: translateY(-5px);
}

.project-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.project-location {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

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

.project-meta {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: auto;
}

.about-image-badge {
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    background: var(--secondary-color);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-image-badge .number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
}

.about-image-badge .text {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content h2 span {
    color: var(--secondary-color);
}

.about-content p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.about-feature p {
    font-size: 0.875rem;
    margin: 0;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') repeat;
    opacity: 0.05;
}

.testimonials-section .section-title h2,
.testimonials-section .section-title p {
    color: var(--white);
}

.testimonials-slider {
    position: relative;
    z-index: 1;
    padding: 1rem 0 4rem;
}

.testimonials-slider .swiper {
    padding: 2rem 1rem 4rem;
    margin: -2rem -1rem -4rem;
}

.testimonials-slider .swiper-pagination {
    bottom: 0;
}

.testimonials-slider .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.3;
    width: 10px;
    height: 10px;
}

.testimonials-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--secondary-color);
    width: 12px;
    height: 12px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    color: var(--white);
}

.testimonial-rating {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.testimonial-content {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    color: var(--white);
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    color: var(--gray-300);
    font-size: 0.875rem;
    margin: 0;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-section {
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

.blog-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

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

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

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    transition: color var(--transition-fast);
}

.blog-card:hover .blog-title {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

.blog-link:hover {
    color: var(--secondary-color);
    gap: 0.75rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') repeat;
    opacity: 0.05;
}

.cta-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
}

.footer-top {
    padding: 5rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-desc {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

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

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

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-300);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 0.5rem;
}

.footer-links i {
    font-size: 0.75rem;
    color: var(--secondary-color);
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.footer-contact a {
    color: var(--gray-300);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.copyright {
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    font-size: 0.875rem;
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 998;
}

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

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    position: relative;
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.page-header-content h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--gray-300);
    transition: color var(--transition-fast);
}

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

.breadcrumb .separator {
    color: var(--gray-500);
}

.breadcrumb .current {
    color: var(--secondary-color);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination-nav {
    margin-top: 3rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    font-weight: 500;
    transition: all var(--transition-fast);
}

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

.pagination li.active a {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.pagination .ellipsis {
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    color: var(--gray-500);
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.alert-error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #fc8181;
}

.alert-warning {
    background: #feebc8;
    color: #744210;
    border: 1px solid #fbd38d;
}

.alert-info {
    background: #bee3f8;
    color: #2a4365;
    border: 1px solid #90cdf4;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

/* Form Controls Update */
.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8125rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--gray-700);
    background: #f7fafc;
    border: 2px solid #edf2f7;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.form-control:focus {
    outline: none;
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 54, 93, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

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

/* Background Decorative Elements */
.bg-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(214, 158, 46, 0.08) 0%, transparent 70%);
    top: -300px;
    right: -300px;
    border-radius: 50%;
}

.shape-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(26, 54, 93, 0.05) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    border-radius: 50%;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

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

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

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

@media (min-width: 768px) {
    .main-nav {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .header-cta {
        display: block;
    }

    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    :root {
        --container-padding: 2rem;
    }

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

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

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

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

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

@media (min-width: 1280px) {
    .container {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Responsive Embeds */
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    margin-bottom: 2rem;
}

.embed-responsive::before {
    display: block;
    content: "";
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive-4by3::before {
    padding-top: 75%;
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(26, 54, 93, 0.1);
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d69e2e, #b7791f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cookie-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 0.5rem 0;
}

.cookie-text p {
    font-size: 0.875rem;
    color: #718096;
    margin: 0;
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-link {
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.cookie-link:hover {
    color: var(--secondary);
}

.cookie-accept {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.2);
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.3);
}

.cookie-accept:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }

    .cookie-content {
        padding: 1.25rem;
    }

    .cookie-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-accept {
        width: 100%;
        justify-content: center;
        background: #d69e2e !important;
        color: #000000 !important;
        font-weight: 700 !important;
    }

    /* Hero Mobile Fixes */
    .hero {
        height: 100vh !important;
        min-height: 600px !important;
    }

    .hero-content {
        position: absolute !important;
        top: 60% !important;
        /* Push it down more */
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 100% !important;
        padding-top: 0 !important;
    }

    .hero-subtitle {
        font-size: 0.875rem !important;
        letter-spacing: 2px !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-title {
        font-size: 1.85rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }

    .hero-description {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
        padding: 0 15px !important;
    }

    .hero-buttons {
        flex-direction: column !important;
        gap: 0.75rem !important;
        width: 100% !important;
        max-width: 260px !important;
        margin: 0 auto !important;
    }

    .hero-buttons .btn {
        width: 100% !important;
        padding: 0.75rem !important;
        font-size: 0.875rem !important;
    }

    .hero-dots {
        bottom: 1.5rem !important;
    }

    .hero-dot {
        width: 25px !important;
    }

    .hero-dot.active {
        width: 40px !important;
    }

    /* Stats Mobile Fixes (2-li Yan yana) */
    .stats-section {
        padding: 3rem 0 !important;
    }

    .stats-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    .stat-item {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 1.5rem 0.5rem !important;
    }

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

    .stat-label {
        font-size: 0.7rem !important;
    }

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

    /* Header Mobile Fixes */
    .header-top {
        display: none !important;
    }

    .logo-text {
        font-size: 1.4rem !important;
    }

    .logo-tagline {
        font-size: 0.5rem !important;
    }
}