/* CSS Variables */
:root {
    --primary: #dc2626;
    --primary-foreground: #ffffff;
    --secondary: #2563eb;
    --secondary-foreground: #ffffff;
    --background: #ffffff;
    --foreground: #1f2937;
    --muted: #f3f4f6;
    --muted-foreground: #6b7280;
    --accent: #f1f5f9;
    --accent-foreground: #1e293b;
    --border: rgba(0, 0, 0, 0.1);
    --radius: 0.625rem;
    --container-padding: 1rem;
    --header-height: 80px;
    --top-bar-height: 40px;
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    overflow-x: hidden;
}

/* Detail Pages (News/Product/Project Show) */
.detail-hero { padding-top: 140px; padding-bottom: 32px; }
.detail-container { max-width: 960px; margin: 0 auto; padding: 0 var(--container-padding); }
.detail-cover { width: 100%; height: 280px; object-fit: cover; border-radius: 12px; }
.detail-meta { display:flex; gap:12px; align-items:center; color: var(--muted-foreground); font-size: 0.9rem; margin-top: 6px; }
.detail-content { margin-top: 16px; line-height: 1.8; color: var(--foreground); white-space: pre-line; }
.detail-section { margin-top: 20px; }
.detail-back { margin-top: 12px; }
@media (max-width: 640px){ .detail-cover { height: 180px; } }

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.highlight {
    color: var(--primary);
}
/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

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

.text-muted {
    color: var(--muted-foreground);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.btn-secondary:hover {
    background-color: #1d4ed8;
}

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

.detail-section img.detail-cover {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
    object-position: center;
    display: block;

}

/* Fixed Background Elements */
.fixed-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bg-gradient-main {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--background) 0%, var(--background) 50%, rgba(243, 244, 246, 0.3) 100%);
}

.bg-gradient-accent {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(241, 245, 249, 0.05) 50%, transparent 100%);
}

.grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.015;
    background-image:
        linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.1) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Wave Elements */
.wave-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.wave-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(220, 38, 38, 0.1) 50%, transparent 100%);
    animation: wave-x 8s ease-in-out infinite;
}

.wave-line-1 {
    top: 0;
}

.wave-line-2 {
    top: 25%;
    background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.08) 50%, transparent 100%);
    animation-delay: 2s;
}

.wave-line-3 {
    top: 50%;
    background: linear-gradient(90deg, transparent 0%, rgba(220, 38, 38, 0.06) 50%, transparent 100%);
    animation-delay: 4s;
}

.wave-line-4 {
    top: 75%;
    background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.04) 50%, transparent 100%);
    animation-delay: 6s;
}

.wave-line-vertical {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(220, 38, 38, 0.08) 50%, transparent 100%);
    animation: wave-y 10s ease-in-out infinite;
}

.wave-line-v1 {
    left: 25%;
}

.wave-line-v2 {
    left: 50%;
    background: linear-gradient(to bottom, transparent 0%, rgba(37, 99, 235, 0.06) 50%, transparent 100%);
    animation-delay: 3s;
}

.wave-line-v3 {
    left: 75%;
    background: linear-gradient(to bottom, transparent 0%, rgba(220, 38, 38, 0.04) 50%, transparent 100%);
    animation-delay: 5s;
}

.corner-accent {
    position: absolute;
    border-radius: 50%;
    animation: pulse-slow 4s ease-in-out infinite;
}

.corner-accent-1 {
    top: 80px;
    right: 80px;
    width: 128px;
    height: 128px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.05) 0%, transparent 70%);
}

.corner-accent-2 {
    bottom: 80px;
    left: 80px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    animation-delay: 4s;
}

.hexagon-container {
    position: absolute;
    top: 33.33%;
    right: 25%;
    opacity: 0.02;
}

.hexagon-pattern {
    width: 120px;
    height: 120px;
    background:
        linear-gradient(30deg, transparent 33%, rgba(0,0,0,0.1) 33%, rgba(0,0,0,0.1) 66%, transparent 66%),
        linear-gradient(-30deg, transparent 33%, rgba(0,0,0,0.1) 33%, rgba(0,0,0,0.1) 66%, transparent 66%);
    background-size: 20px 20px;
    animation: rotate 20s linear infinite;
}

/* Section Background Images */
.section-backgrounds {
    position: absolute;
    inset: 0;
}

.section-bg {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg {
    top: 0;
    background-image: url('https://images.unsplash.com/photo-1662601618863-183cb68b07bf?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1920');
    opacity: 0.08;
    filter: blur(0.5px) grayscale(20%);
}

.news-bg {
    top: 100vh;
    background-image: url('https://images.unsplash.com/photo-1707581796584-7bea36154d22?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1920');
    opacity: 0.12;
    filter: blur(0.3px) grayscale(15%);
}

.about-bg {
    top: 200vh;
    background-image: url('https://images.unsplash.com/photo-1560271417-9c9e0b126309?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1920');
    opacity: 0.015;
    filter: blur(1px) grayscale(60%);
}

.projects-bg {
    top: 400vh;
    background-image: url('https://images.unsplash.com/photo-1743274926273-c0f73a751583?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1920');
    opacity: 0.02;
    filter: blur(1px) grayscale(100%);
}

.contact-bg {
    top: 500vh;
    background-image: url('https://images.unsplash.com/photo-1662601618863-183cb68b07bf?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1920');
    opacity: 0.04;
    filter: blur(0.5px) brightness(1.4) contrast(1.2);
    background-position: center bottom;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

/* Top Bar */
.top-bar {
    background-color: rgba(243, 244, 246, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: none;
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--top-bar-height);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item i {
    font-size: 0.75rem;
}

.social-media {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: #1d4ed8;
    transform: scale(1.1);
}

/* Main Navigation */
.main-nav {
    height: var(--header-height);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-img {
    height: 80px;
    width: auto;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--foreground);
    font-weight: 500;
    border-radius: var(--radius);
    position: relative;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
    background-color: rgba(241, 245, 249, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.2s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.cta-desktop {
    display: none;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
}

.menu-toggle {
    font-size: 25px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border: none;
    background: transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-toggle:hover {
    background-color: var(--accent);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--background);
    border-top: 1px solid var(--border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-menu-content {
    padding: 1rem;
}

.mobile-contact-social {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-row {
    display: flex;
    gap: 1rem;
}

.contact-row:first-child {
    gap: 1.5rem;
}

.contact-row .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    flex: 1;
}

.contact-item:first-child {
    padding-left: 2rem;
}

.contact-item-full {
    justify-content: center;
}

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

.mobile-nav-link {
    display: block;
    padding: 0.75rem;
    text-decoration: none;
    color: var(--foreground);
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background-color: var(--accent);
    color: var(--primary);
}

.mobile-cta {
    padding: 1rem 0;
}

.mobile-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.mobile-social .social-link {
    width: 36px;
    height: 36px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    overflow: hidden;
}

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

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    padding: 0.75rem;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-control:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

@media (max-width: 1023px) {
    .carousel-control {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 30;
        padding: 0.75rem;
        border: none;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(4px);
        cursor: pointer;
        transition: all 0.2s ease;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .carousel-control:hover {
        background-color: rgba(255, 255, 255, 0.9);
        transform: translateY(-50%) scale(1.1);
    }

    .carousel-prev {
        left: 1rem;
    }

    .carousel-next {
        right: 1rem;
    }


    .hero-image {
        position: relative;
    }

    .carousel-prev,
    .carousel-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    gap: 0.5rem;
}

@media (max-width: 1023px) {
    .carousel-indicators {
        position: absolute;
        bottom: 0rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 30;
        display: flex;
        gap: 0.5rem;
        margin: 0;
        padding: 0.5rem;
        background-color: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(4px);
        border-radius: 9999px;
    }
}

.indicator {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
}

.indicator.active,
.indicator:hover {
    background-color: var(--primary);
    transform: scale(1.1);
}
#nextSlide {
    font-size: 20px;
}
#prevSlide {
    font-size: 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}


@media (max-width: 1023px) {
    .hero-content {
        grid-template-rows: auto auto;
        gap: 2rem;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }
}

.hero-heading {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: slideInFromTop 0.8s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: slideInFromTop 0.8s ease-out 0.8s both;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: slideInFromTop 0.8s ease-out 1s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    animation: slideInFromTop 0.8s ease-out 1.2s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.25rem;
    animation: scaleIn 0.5s ease-out 1.4s both;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.hero-image {
    position: relative;
    animation: slideInFromRight 0.8s ease-out 0.4s both;
}

.hero-image-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-image-container:hover .main-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
}

.image-caption {
    position: absolute;
    bottom: 32px;
    left: 1.5rem;
    right: 1.5rem;
    animation: slideInFromBottom 0.6s ease-out 0.6s both;
}

.caption-content {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: var(--radius);
    padding: 1rem;
    border: 1px solid var(--border);
}

.caption-content h3 {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.caption-content p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

.decorative-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(24px);
    animation: scaleIn 1s ease-out 1.4s both;
}

.decorative-1 {
    top: -1rem;
    right: -1rem;
    width: 96px;
    height: 96px;
    background-color: rgba(220, 38, 38, 0.1);
}

.decorative-2 {
    bottom: -2rem;
    left: -2rem;
    width: 128px;
    height: 128px;
    background-color: rgba(37, 99, 235, 0.1);
    animation-delay: 1.6s;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    background-color: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-cta {
    text-align: center;
    margin-top: 4rem;
}

/* News Section */
.news-section {
    padding: 5rem 0;
    background-color: var(--background);
}

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

.news-card {
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.news-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-8px) scale(1.02);
}

.news-card.featured {
    border: 2px solid rgba(220, 38, 38, 0.2);
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 192px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-type {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid;
}

.news-type.haber {
    background-color: rgba(59, 130, 246, 0.1);
    color: #1e40af;
    border-color: rgba(59, 130, 246, 0.2);
}

.news-type.duyuru {
    background-color: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border-color: rgba(34, 197, 94, 0.2);
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.news-title {
    color: var(--foreground);
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

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

.news-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: rgba(243, 244, 246, 0.3);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.value-card {
    background-color: var(--background);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background-color: rgba(220, 38, 38, 0.1);
    border-radius: 50%;
    color: var(--primary);
}

.value-title {
    margin-bottom: 1rem;
}

.value-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.expertise-section {
    margin-top: 4rem;
}

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

.expertise-text h3 {
    margin-bottom: 1rem;
}

.expertise-text p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.expertise-tag {
    padding: 0.5rem 1rem;
    background-color: var(--accent);
    color: var(--accent-foreground);
    border-radius: 9999px;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.expertise-tag:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.expertise-image img {
    max-width: 550px;
    max-height: 550px;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: var(--radius);
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    background-color: var(--background);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    position: relative;
    background-color: var(--background);
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 35px -5px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}


.product-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background-color: rgba(220, 38, 38, 0.1);
    border-radius: var(--radius);
    color: var(--primary);
}
.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.product-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
    flex-grow: 1;
}

.product-features-section {
    margin-bottom: 2rem;
}

.features-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.product-features {
    list-style: none;
    margin: 0;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.product-features i {
    color: #10b981;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.product-price-section {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.price-note {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.products-cta {
    text-align: center;
    margin-top: 4rem;
}

.cta-background {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(241, 245, 249, 0.1) 100%);
    border-radius: 1rem;
    padding: 3rem 2rem;
    border: 1px solid var(--border);
}

.cta-background h3 {
    margin-bottom: 1rem;
    color: var(--foreground);
}

.cta-background p {
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Projects Section */
.projects-section {
    padding: 5rem 0;
    background-color: rgba(243, 244, 246, 0.3);
}

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

.project-card {
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 35px -5px rgba(0, 0, 0, 0.15);
}


.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

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


.project-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-status.active {
    background-color: rgba(168, 85, 247, 0.1);
    color: #7c3aed;
    border: 1px solid rgba(168, 85, 247, 0.2);
}


.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

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

.project-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.project-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.project-info-item i {
    font-size: 1rem;
}

.project-technologies {
    margin-bottom: 1.5rem;
}

.project-technologies h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.technology-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.tech-tag {
    padding: 0.25rem 0.5rem;
    background-color: transparent;
    color: var(--muted-foreground);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.75rem;
}

.project-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.flex-1 {
    flex: 1;
}

.btn-ghost {
    background-color: transparent;
    color: var(--muted-foreground);
    border: none;
    padding: 0.5rem;
}

.btn-ghost:hover {
    background-color: var(--accent);
    color: var(--foreground);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: var(--background);
}

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

.contact-form-section h3,
.contact-info-section h3 {
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--accent);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--muted-foreground);
    margin: 0;
    line-height: 1.5;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 100px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.footer-social .social-link {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-social .social-link:hover {
    background-color: var(--primary);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    list-style: none;
}

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

.footer-contact i {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

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

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

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Animations */
@keyframes wave-x {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0%);
        opacity: 1;
    }
}

@keyframes wave-y {
    0%, 100% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        transform: translateY(0%);
        opacity: 1;
    }
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.05);
    }
}

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

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes smoothSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes smoothFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes smoothScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (min-width: 640px) {
    .container {
        --container-padding: 1.5rem;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

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

    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .contact-content {
        grid-template-columns: 1.5fr 1fr;
    }

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

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

    .project-info {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .top-bar {
        display: block;
    }

    .desktop-nav {
        display: flex;
    }

    .cta-desktop {
        display: block;
    }

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

    .hero {
        padding-top: 160px;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero-heading {
        font-size: 3.5rem;
    }

    .expertise-content {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

    .contact-cards {
        grid-template-columns: 1fr;
    }

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

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

    .hero-heading {
        font-size: 4rem;
    }
}

/* Scroll Animation Classes */
.animate-in {
    animation: smoothSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Smooth Card Animations */
.news-card,
.value-card,
.product-card,
.project-card,
.contact-card {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity, box-shadow;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.news-card:hover,
.value-card:hover,
.product-card:hover,
.project-card:hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Section Headers Animation */
.section-header {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Utility Classes for JavaScript */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.fade-in {
    animation: smoothFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in {
    animation: smoothScaleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
