/* ============================================
   ÇAĞDAŞ KALIP - MODERN WEBSITE STYLES
   ============================================ */

/* ====== ROOT VARIABLES ====== */
:root {
    /* Colors */
    --primary-color: #DC2626;
    --primary-dark: #B91C1C;
    --secondary-color: #1E40AF;
    --accent-color: #EF4444;
    --dark: #1F2937;
    --dark-light: #374151;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --gray-lighter: #f1f5f9;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    --gradient-secondary: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(220, 38, 38, 0.9) 0%, rgba(185, 28, 28, 0.9) 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-size-base: 13px;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    
    /* 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-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-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ====== RESET & BASE ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* ====== 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: 50px;
    height: 50px;
    border: 4px solid var(--gray-lighter);
    border-top-color: #DC2626;
    border-right-color: #1E40AF;
    border-bottom-color: #EF4444;
    border-radius: 50%;
    animation: spin 1s linear infinite, colorShift 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes colorShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(180deg); }
}

/* ====== UTILITY CLASSES ====== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-header:hover .section-title {
    color: var(--primary-color);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    animation: none;
    transition: color 0.3s ease;
}

@keyframes textGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
}

@keyframes underlineFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.mt-4 {
    margin-top: var(--spacing-md);
}

/* ====== NAVIGATION ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo img {
    filter: none;
}

.logo a:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.navbar.scrolled .nav-link {
    color: var(--dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #DC2626, #1E40AF, #EF4444);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-base);
}

.navbar.scrolled .hamburger span {
    background: var(--dark);
}

/* ====== HERO SECTION ====== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Kırmızı, mavi, gri ve siyah arasında yumuşak geçişli dinamik arka plan */
    background: linear-gradient(135deg,
        #dc2626 0%,   /* kırmızı - daha baskın */
        #ef4444 25%,  /* kırmızı - daha baskın */
        #1d4ed8 55%,  /* mavi - orta-baskın */
        #1e3a8a 80%,  /* koyu mavi */
        #374151 92%,  /* koyu gri - çok az */
        #111827 100%  /* siyah - çok az */
    );
    background-size: 300% 300%;
    animation: gradientShift 18s ease infinite;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,112C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Alt taraftaki çok renkli gradienti öldürmeden hafif koyulaştırma */
    background: linear-gradient(180deg,
        rgba(15, 23, 42, 0.55) 0%,
        rgba(15, 23, 42, 0.25) 40%,
        rgba(15, 23, 42, 0.65) 100%
    );
    opacity: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: var(--spacing-md);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-main-logo {
    max-width: 600px;
    width: 90%;
    height: auto;
    margin: 0 auto 2rem auto;
    display: block;
    /* Resmi beyaz arka plandan kurtarmak için */
    mix-blend-mode: multiply;
    /* Resimdeki beyazın tam beyaz olmaması ihtimaline karşı parlaklığı artırıyoruz */
    filter: brightness(1.05) contrast(1.1);
}

/* ====== HERO GRID LAYOUT ====== */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 2rem;
    text-align: left;
}

.hero-text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text-column .hero-subtitle,
.hero-text-column .hero-text-title {
    text-align: left;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-text-title {
    font-size: 1.1rem;
    font-weight: 300; /* Lighter weight for elegance */
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9); /* Slightly transparent for hierarchy */
    margin-bottom: 2rem;
    font-family: var(--font-primary);
}

.hero-text-column .hero-buttons {
    justify-content: flex-start;
}

.hero-carousel-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Override existing carousel margin */
.hero-carousel {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.8;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease forwards 0.4s;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease forwards 0.6s;
    opacity: 0;
}

/* ====== HERO CAROUSEL ====== */
.hero-carousel {
    margin-top: 3rem;
    max-width: 600px; /* Increased from 450px */
    margin-left: auto;
    margin-right: auto;
    position: relative;
    animation: fadeInUp 0.8s ease forwards 0.8s;
    opacity: 0;
}

.carousel-track {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 1rem;
    /* Dikey ortalama ve grid sistemini kaldırarak içeriğe göre esnemesini sağlıyoruz */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px; /* Çok küçülmemesi için minimum yükseklik */
}

.carousel-slide {
    display: none; /* Sadece aktif olan görünsün */
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    display: block; /* Aktif olan yer kaplasın */
    opacity: 1;
    animation: fadeInSlide 0.5s ease-in-out;
}

@keyframes fadeInSlide {
    from { opacity: 0; }
    to { opacity: 1; }
}

.carousel-slide img {
    max-width: 100%;
    height: auto; /* Yükseklik orantılı değişsin */
    border-radius: var(--radius-md);
    display: block;
    margin: 0 auto; /* Ortala */
}



@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

.carousel-dots {
    text-align: center;
    margin-top: 1rem;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

/* ====== STATS SECTION ====== */
.stats-section {
    padding: var(--spacing-lg) 0;
    background: var(--gray-lighter);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.stat-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.stat-card i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: var(--spacing-sm) 0;
}

.stat-number::after {
    content: '+';
}

.stat-card p {
    color: var(--gray);
    font-weight: 600;
}

/* ====== ABOUT SECTION ====== */
.about-section {
    padding: var(--spacing-xl) 0;
    background: var(--gray-lighter);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-top: var(--spacing-lg);
}

.about-text h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: var(--spacing-md);
}

.about-text p {
    color: var(--gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: var(--spacing-md);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-item i {
    color: #16a34a; /* yeşil tikler */
    font-size: 1.25rem;
}

.feature-item span {
    font-weight: 500;
    color: var(--dark);
}

.about-image {
    position: relative;
}

.image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-slow);
}

/* Logo özel stil */
.image-wrapper img[src*="logo"] {
    object-fit: contain;
    background: white;
    padding: 2rem;
}

.image-wrapper:hover img {
    transform: scale(1.1);
}

/* Logo için zoom efektini iptal et */
.image-wrapper:hover img[src*="logo"] {
    transform: none;
}

.image-overlay {
    display: none;
}

.floating-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(234, 179, 8, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    /* animation: float 3s ease-in-out infinite; */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(250, 204, 21, 0.9); /* ince sarı çerçeve */
    transition: all 0.4s ease;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 10px 20px rgba(234, 179, 8, 0.5);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(1deg); }
    50% { transform: translateY(-20px) rotate(0deg); }
    75% { transform: translateY(-15px) rotate(-1deg); }
}

.floating-card i {
    font-size: 2.5rem;
    color: #facc15; /* sarı kupa */
}

.floating-card h4 {
    color: var(--dark);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.floating-card p {
    color: var(--gray);
    font-size: 0.875rem;
}

/* ====== SERVICES SECTION ====== */
.services-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 64, 175, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns layout */
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

.service-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: var(--transition-slow);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
    border-top-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #DC2626 0%, #1E40AF 50%, #EF4444 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    transition: all 0.4s ease;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #DC2626, #1E40AF, #EF4444, #DC2626);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.service-card:hover .service-icon::after {
    opacity: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
}

.service-card > p {
    color: var(--gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.service-features {
    margin-top: var(--spacing-md);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--gray);
}

.service-features i {
    color: var(--accent-color);
    font-size: 0.875rem;
}

/* ====== PRODUCTS SECTION ====== */
.products-section {
    padding: var(--spacing-xl) 0;
    background: var(--gray-lighter);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 3px;
    background: linear-gradient(135deg, #DC2626, #1E40AF, #EF4444);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.3);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.2);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-link {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transform: scale(0);
    transition: var(--transition-base);
}

.product-card:hover .product-link {
    transform: scale(1);
}

.product-info {
    padding: var(--spacing-md);
}

.product-info h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
}

.product-info p {
    color: var(--gray);
    line-height: 1.6;
}

/* ====== PROCESS SECTION ====== */
.process-section {
    padding: var(--spacing-xl) 0;
    background: var(--gray-lighter);
}

.process-timeline {
    position: relative;
    margin-top: var(--spacing-lg);
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-light);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) .timeline-content {
    direction: ltr;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-xl);
}

.timeline-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.timeline-content {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.timeline-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.3);
    border-left: 4px solid #DC2626;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline-content h3 i {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.timeline-content p {
    color: var(--gray);
    line-height: 1.8;
}

/* ====== GALLERY SECTION ====== */
.gallery-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.gallery-filter {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

.gallery-grid {
    display: grid;
    /* Responsive layout: will adjust automatically, aiming for 4 columns on desktop */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: var(--spacing-md);
}

@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr); /* Force 4 columns on large screens */
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    height: 240px;
    transition: var(--transition-base);
}

.gallery-item.hide {
    display: none;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.4), 0 0 20px rgba(30, 64, 175, 0.3);
    border-radius: var(--radius-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.2);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Daha şeffaf bir siyah arka plan */
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: var(--transition-base);
    backdrop-filter: blur(2px); /* Hafif bir buzlu cam efekti */
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: 1.25rem;
}

.gallery-link {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    transform: scale(0);
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-link {
    transform: scale(1);
}

/* ====== TESTIMONIALS SECTION ====== */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background: var(--gray-lighter);
}

.testimonials-slider {
    max-width: 800px;
    margin: var(--spacing-lg) auto 0;
}

.testimonial-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 3px;
    background: linear-gradient(135deg, #DC2626, #1E40AF, #EF4444, #DC2626);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate 4s linear infinite;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(220, 38, 38, 0.3);
}

.testimonial-content {
    margin-bottom: var(--spacing-md);
}

.testimonial-content i {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: var(--spacing-md);
}

.testimonial-content p {
    font-size: 1.125rem;
    color: var(--gray);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-info h4 {
    color: var(--dark);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--gray);
    font-size: 0.938rem;
}

/* ====== CLIENTS SECTION ====== */
.clients-section {
    padding: var(--spacing-xl) 0;
    background: var(--gray-lighter);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Force 4 columns on large screens */
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

@media (max-width: 992px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 576px) {
    .clients-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

.client-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column; /* Center vertically but stack specific elements */
    align-items: center;
    justify-content: center;
    height: 100%; /* Stretch to grid cell height */
    min-height: 220px; /* Fixed minimum height for uniformity */
    position: relative;
    overflow: hidden;
    text-align: center; /* Ensure text is centered */
}

.client-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Dikeyde ortala */
    width: 100%;
    height: 120px; /* Logolar için sabit ayrılan alan */
    margin-bottom: 1rem;
}

.client-logo img {
    max-height: 80px; /* Maksimum yükseklik */
    max-width: 180px; /* Maksimum genişlik */
    width: auto;
    height: auto;
    object-fit: contain; /* Orantıyı koru */
    transition: transform 0.3s ease;
}

.client-card:hover .client-logo img {
    transform: scale(1.05);
}

.client-logo h3 {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    margin-top: auto; /* Yazıyı alta itmek yerine flex ile yönetiyoruz ama bu da dursun */
}

/* ====== CONTACT SECTION ====== */
.contact-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.info-social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.info-social-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--secondary-color);
    border-radius: var(--radius-sm);
    color: var(--secondary-color);
    transition: var(--transition-base);
    font-weight: 500;
    font-size: 0.875rem;
}

.info-item:hover .info-social-links a {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.info-social-links a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.info-social-links a i {
    font-size: 1rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.contact-info {
    background: var(--gray-lighter);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: var(--spacing-md);
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: varwhited;
    line-height: 1.8;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-lighter);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    transition: var(--transition-base);
}

.info-item:hover {
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%);
    color: var(--white);
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.info-item:hover h4,
.info-item:hover p,
.info-item:hover a {
    color: var(--white) !important;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    min-width: 30px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-item:hover i {
    color: var(--white);
}

.info-item > div {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.info-item h4 {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--gray);
    font-size: 0.938rem;
    margin-bottom: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    transition: var(--transition-base);
}

.social-links a:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    background: var(--gray-lighter);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
}

/* Contact Map */
.contact-map {
    margin-top: var(--spacing-lg);
    width: 100%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.contact-map iframe {
    display: block;
    width: 100%;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    background: var(--white);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3), 0 0 20px rgba(220, 38, 38, 0.2);
    transform: translateY(-2px);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--gray);
    pointer-events: none;
    transition: var(--transition-base);
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.75rem;
    left: 0.75rem;
    font-size: 0.75rem;
    background: var(--gray-lighter);
    padding: 0 0.5rem;
    color: var(--primary-color);
}

.form-group textarea {
    resize: none;
    height: 150px;
    overflow-y: auto;
}

/* ====== FOOTER ====== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-top {
    text-align: center;
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--dark-light);
}

.footer-logo-section h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.footer-logo-section h3 span {
    color: var(--white);
}

.footer-logo-section p {
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-column h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.footer-column h3 span {
    color: var(--secondary-color);
}

.footer-column h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    color: var(--white);
    font-weight: 600;
}

.footer-column p {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.footer-column ul li {
    margin-bottom: 0.75rem;
    white-space: nowrap;
}

.footer-column ul li a {
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-column ul li i {
    color: var(--secondary-color);
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--dark-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: linear-gradient(135deg, #1E40AF, #1E3A8A);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.5);
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--dark-light);
    text-align: center;
    color: var(--gray-light);
}

/* Responsive Hero Grid */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text-column .hero-subtitle,
    .hero-text-column .hero-text-title {
        text-align: center;
    }

    .hero-text-column .hero-buttons {
        justify-content: center;
    }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .logo img {
        height: 60px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition-base);
        gap: 2rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--dark);
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .floating-card {
        position: static;
        margin-top: var(--spacing-md);
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        grid-template-columns: auto 1fr;
        direction: ltr !important;
        gap: 1rem;
    }
    
    .timeline-item .timeline-content {
        direction: ltr !important;
    }
    
    .timeline-icon {
        width: 50px;
        height: 50px;
    }
    
    .timeline-icon i {
        font-size: 1.25rem;
    }
    
    .timeline-content h3 {
        font-size: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .timeline-content h3 i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .services-grid,
    .products-grid,
    .gallery-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .client-card {
        min-height: 120px;
    }
    
    .client-logo i {
        font-size: 2.5rem;
    }
    
    .client-logo h3 {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .footer-column ul {
        text-align: center;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-column ul li {
        justify-content: center;
        width: 100%;
        display: flex;
    }
    
    .footer-column ul li a {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-card i {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.938rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card,
    .product-card,
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-map iframe {
        height: 300px;
    }
}
/* ====== WHY CHOOSE US SECTION ====== */
.why-us-section {
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.feature-card-new {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card-new:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(220, 38, 38, 0.1);
}

/* Gradient border effect on hover */
.feature-card-new::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-primary);
    transition: height 0.3s ease;
    z-index: 0;
    opacity: 0.05;
}

.feature-card-new:hover::after {
    height: 100%;
}

.icon-wrapper-new {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: flex; /* Flex ile ortalama daha g�venilir */
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.1);
}

.feature-card-new:hover .icon-wrapper-new {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.3);
}

.feature-card-new h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
    position: relative;
    z-index: 1;
}

.feature-card-new p {
    color: var(--gray);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}


/* ====== FARKIMIZ SECTION GRID FIX ====== */
@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 3rem;
    }
}

/* Ensure title color hover works */
.section-header:hover .section-title {
    color: var(--primary-color) !important;
    transition: color 0.3s ease;
}

/* FARKIMIZ ANIMATIONS - more subtle and modern */
.feature-card-new {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    background: #fff;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-card-new:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.15);
}

.feature-card-new .icon-wrapper-new {
    transform: scale(1);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}

.feature-card-new:hover .icon-wrapper-new {
    transform: scale(1.15) rotate(0deg); /* Removed rotation for cleaner look */
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
}


/* ====== GALLERY FULL LINK FIX ====== */
.gallery-full-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.gallery-full-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover .gallery-full-link img {
    transform: scale(1.1);
}

.gallery-icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    transform: scale(0);
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-item:hover .gallery-icon-wrapper {
    transform: scale(1);
}

