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

:root {
    /* Açık / beyazımsı tema renkleri */
    --primary-blue: #2563eb;
    --dark-blue: #1d4ed8;
    --light-blue: #93c5fd;
    --silver: #64748b;
    --light-silver: #1f2933;      /* Genel metin rengi (koyu) */
    --medium-silver: #4b5563;     /* İkincil metin */
    --dark-silver: #9ca3af;
    --white: #ffffff;
    --dark: #f3f4f6;
    --gray: #4b5563;
    --silver-blue: #64748b;
    --dark-gray-bg: #f3f4f6;      /* Sayfa arka planı için açık gri */
    --medium-gray: #f9fafb;       /* Bölüm zeminleri için çok açık */
    --light-gray: #e5e7eb;
    --card-bg: #ffffff;           /* Kart zeminleri beyaz */
    --card-hover: #f3f4f6;        /* Kart hover açık gri */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--light-silver);
    background-color: var(--dark-gray-bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar .container {
    padding-left: 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 244, 246, 0.98) 100%);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
}

.logo {
    margin-left: 15px;
    margin-right: auto;
}

.logo h2 {
    background: linear-gradient(135deg, var(--light-silver) 0%, var(--medium-silver) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.1rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--medium-silver);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0;
    display: inline-block;
    transition: all 0.2s ease;
    position: relative;
    overflow: visible;
    font-size: 0.9rem;
    letter-spacing: 0;
}

.nav-link::before {
    display: none;
}

.nav-link:hover {
    color: var(--primary-blue);
    transform: none;
    box-shadow: none;
    background: rgba(191, 219, 254, 0.5);
}

.nav-link.active {
    color: var(--primary-blue);
    background: transparent;
    box-shadow: none;
    transform: none;
    border-bottom: 2px solid var(--primary-blue);
}

.nav-link::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--light-silver) 0%, var(--medium-silver) 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hamburger:hover span {
    background: linear-gradient(90deg, var(--medium-silver) 0%, var(--light-silver) 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: linear-gradient(90deg, var(--light-silver) 0%, var(--medium-silver) 100%);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: linear-gradient(90deg, var(--light-silver) 0%, var(--medium-silver) 100%);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(191, 219, 254, 0.9) 0%, rgba(219, 234, 254, 0.9) 50%, rgba(191, 219, 254, 0.9) 100%), url('arkaplan.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--light-silver);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.55);
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--light-silver);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--light-gray);
    color: var(--light-silver);
}

.btn-primary:hover {
    background: var(--medium-gray);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--light-silver);
    margin-bottom: 1rem;
    font-weight: 700;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--light-gray), var(--medium-silver), var(--light-silver));
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--medium-gray);
}

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

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--medium-silver);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(113, 128, 150, 0.2);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-silver);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--medium-silver);
    font-weight: 500;
}

/* Products Section */
.products {
    background: var(--dark-gray-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Hızlı erişim kartlarının aynı boyda görünmesi için */
.products-grid a {
    display: block;
    height: 100%;
}

.product-card {
    background: var(--card-bg);
    padding: 1.75rem 1.5rem;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(113, 128, 150, 0.2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(113, 128, 150, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: var(--card-hover);
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.product-card h3 {
    font-size: 1.25rem;
    color: var(--light-silver);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.product-card p {
    color: var(--medium-silver);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, var(--medium-gray) 0%, var(--dark-gray-bg) 100%);
}

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

.service-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(113, 128, 150, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--medium-silver);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.service-item:hover::before {
    transform: scaleY(1);
}

.service-item:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.service-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(160, 174, 192, 0.3);
    line-height: 1;
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.5rem;
    color: var(--light-silver);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-item p {
    color: var(--medium-silver);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: var(--medium-gray);
}

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

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

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%);
    color: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.info-text h4 {
    font-size: 1.2rem;
    color: var(--light-silver);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-text p {
    color: var(--medium-silver);
    line-height: 1.6;
}

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

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

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 1px solid rgba(113, 128, 150, 0.2);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: var(--white);
    color: var(--light-silver);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--medium-silver);
    opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(113, 128, 150, 0.5);
    background: var(--light-gray);
    box-shadow: 0 0 0 2px rgba(113, 128, 150, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Gallery Section */
.gallery {
    background: var(--medium-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(113, 128, 150, 0.2);
    transition: all 0.3s ease;
    background: var(--card-bg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(113, 128, 150, 0.4);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    color: var(--medium-silver);
    font-size: 3rem;
}

.gallery-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(148, 163, 184, 0.95), transparent);
    color: var(--light-silver);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-size: 1.2rem;
    font-weight: 600;
}

.gallery-item:hover h3 {
    transform: translateY(0);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--medium-gray) 0%, var(--dark-gray-bg) 100%);
    color: var(--light-silver);
    text-align: center;
    padding: 2rem 0;
    border-top: 2px solid rgba(113, 128, 150, 0.2);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 244, 246, 0.98) 100%);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
        padding: 1rem;
        gap: 0.5rem;
        border-radius: 0;
        border-top: 1px solid rgba(113, 128, 150, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
        width: 100%;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        border-radius: 0;
        border-bottom: none;
    }
    
    .nav-link.active {
        border-bottom: 2px solid var(--medium-silver);
    }

    .hero {
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

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

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

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .products-grid,
    .services-content {
        grid-template-columns: 1fr;
    }
}
