:root {
    --black: #000000;
    --dark-gray: #333333;
    --light-gray: #999999;
    --white: #ffffff;
    --orange: #ff6b2b;
    --orange-light: #ff8f5a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-gray);
    color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: var(--black);
}


.logo img {
    height: 25px;
    width: auto; 
    transition: transform 0.3s ease; 
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%; 
    max-width: 1400px;
    margin: 0 auto;
}

.nav-links a {
    font-family: 'Roboto Condensed', sans-serif;
    color: var(--white);
    text-decoration: none;
    margin-left: 2.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section - Ana Stiller */
.hero {
    height: 100vh;
    position: relative;
    background: url('hero-bg.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    z-index: 2; /* Hero'ya daha yüksek z-index verdim */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text {
    max-width: 600px;
    position: relative;
    z-index: 3;
}

/* Desktop için başlık stilleri */
.hero h1 {
    font-size: 4rem; /* Desktop için büyük başlık */
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 4; /* Kartlara en yüksek z-index verdim */
}

/* Hero Section */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.hero-line {
    width: 100px;
    height: 3px;
    background: var(--orange);
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--light-gray);
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-10px);
}

.hero-card i {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.hero-card h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* About Section */
.about {
    padding: 12rem 0;
    position: relative;
    z-index: 1;
    background: var(--dark-gray); /* Arka plan rengi ekledim */
    margin-top: 4rem; /* Üstten boşluk ekledim */
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.about-text {
    max-width: 100%;
    position: relative; /* Eklendi */
    z-index: 2; /* Eklendi - yazının üstte kalmasını sağlar */
}

.about-image {
    overflow: hidden;
    border-radius: 10px;
    height: 100%;
    position: relative; /* Eklendi */
    z-index: 1; /* Eklendi - resmin arkada kalmasını sağlar */
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Tablet için düzenleme */
@media (max-width: 1024px) {
    .about {
        padding: 10rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text {
        order: -1; /* Yazıyı üste alır */
        margin-bottom: 2rem; /* Alt boşluk ekler */
        background: var(--dark-gray); /* Yazı arka planı */
        padding: 1rem 0; /* Yazı etrafında boşluk */
    }

    .about-image {
        max-height: 400px;
        margin-top: 2rem; /* Resim ile yazı arası mesafe */
    }
}

/* Mobil cihazlar için düzenleme */
@media (max-width: 768px) {
    .about {
        padding: 8rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        order: -1;
        margin-bottom: 2rem;
        background: var(--dark-gray);
        padding: 1rem 0;
        width: 100%;
    }

    .about-image {
        max-height: 350px;
        width: 100%;
        margin-top: 2rem;
    }
}

/* Küçük mobil cihazlar için düzenleme */
@media (max-width: 576px) {
    .about {
        padding: 6rem 0;
    }

    .about-content {
        gap: 1.5rem;
    }

    .about-text {
        margin-bottom: 1.5rem;
    }

    .about-image {
        max-height: 250px;
        margin-top: 1.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Çok küçük ekranlar için düzenleme */
@media (max-width: 375px) {
    .about {
        padding: 5rem 0;
    }

    .about-text {
        margin-bottom: 1rem;
    }

    .about-image {
        max-height: 200px;
        margin-top: 1rem;
    }

    h2 {
        font-size: 1.8rem;
    }
}

/* Services Section */
/* Services Section - Güncellenmiş Versiyon */
/* Services Section */
.services {
    padding: 8rem 0;
    background: var(--black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16/9; /* En-boy oranını sabitle */
    background: var(--black);
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.95) 0%, 
        rgba(0,0,0,0.8) 50%, 
        transparent 100%);
    color: var(--white);
}

.service-content h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-content p {
    color: var(--white);
    opacity: 0.9;
    font-size: 1rem;
    line-height: 1.5;
}

/* Tablet ve küçük masaüstü */
@media (max-width: 1199px) {
    .service-item {
        aspect-ratio: 16/9;
    }
}

/* Tablet dikey */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-item {
        aspect-ratio: 16/9;
    }
}

/* Mobil yatay */
@media (max-height: 500px) and (orientation: landscape) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .service-item {
        aspect-ratio: 16/9;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .service-content p {
        font-size: 0.9rem;
    }
}

/* Küçük mobil */
@media (max-width: 480px) {
    .service-content {
        padding: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .service-content p {
        font-size: 0.9rem;
    }
}
/* Contact Section */
.contact {
    padding: 8rem 0;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--orange);
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--orange);
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--orange);
    color: var(--orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--orange);
    color: var(--white);
}

/* Footer */
footer {
    padding: 2rem 0;
    background: var(--black);
    text-align: center;
    color: var(--light-gray);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 30px;
        height: 2px;
        background: var(--white);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-cards {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design - Güncellenmiş Versiyon */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }

    .hero-cards {
        gap: 1.5rem;
    }

    .service-image {
        height: 250px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 3rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--black);
        padding: 1.5rem;
        text-align: center;
    }

    .nav-links.active a {
        margin: 1rem 0;
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1000;
    }

    .menu-toggle span {
        width: 25px;
        height: 2px;
        background: var(--white);
        transition: 0.3s;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
        padding-right: 0;
    }

    .hero-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-content {
        text-align: center;
        grid-template-columns: 1fr;
    }

    .section-line {
        margin: 2rem auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-card {
        padding: 1.5rem;
    }

    .hero-card h3 {
        font-size: 1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .service-content h3 {
        font-size: 1.2rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .social-links {
        gap: 1rem;
    }
}

@media (max-width: 375px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-card i {
        font-size: 2rem;
    }

    .stat .number {
        font-size: 2rem;
    }

    .service-content {
        padding: 1rem;
    }

    .contact-item a {
        font-size: 0.9rem;
    }
}

/* Safari Fix */
@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .hero-card:hover,
    .service-item:hover .service-image img,
    .about-image:hover img {
        transform: none;
    }
}
@media (max-width: 344px) {
    .hero-content {
        padding: 0 1rem;
        margin-top: 4rem; /* Header'dan sonra boşluk bırakır */
    }

    .hero h1 {
        font-size: 1.8rem; /* Başlık boyutunu küçült */
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .hero-line {
        margin-bottom: 1rem;
    }

    .hero-cards {
        margin-top: 2rem;
        gap: 1rem;
    }

    .hero-card {
        padding: 1rem;
    }

    .hero-card i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .hero-card h3 {
        font-size: 0.9rem;
    }
}

/* Hero section için genel düzeltme */
.hero {
    min-height: 100vh; /* height: 100vh yerine min-height kullan */
    padding: 80px 0; /* Üst ve alttan minimum padding */
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    word-wrap: break-word; /* Uzun kelimelerin taşmasını önler */
}

.hero-text {
    max-width: 100%; /* 600px yerine 100% kullan */
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--black);
        padding: 1.5rem;
        text-align: center;
    }

    .nav-links.active a {
        margin: 1rem 0;
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1000;
    }

    .menu-toggle span {
        width: 25px;
        height: 2px;
        background: var(--white);
        transition: 0.3s;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        min-height: 100vh;
        padding-top: 80px; /* Header yüksekliği için boşluk */
    }

    .hero-content {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    .hero-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .about-content {
        text-align: center;
        grid-template-columns: 1fr;
    }

    .section-line {
        margin: 2rem auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        padding: 1rem;
        margin-top: 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-card {
        padding: 1.5rem;
    }

    .hero-card h3 {
        font-size: 1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .service-content h3 {
        font-size: 1.2rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .social-links {
        gap: 1rem;
    }
}

@media (max-width: 390px) {
    .hero-content {
        padding: 1rem;
        margin-top: 4rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    .hero-line {
        margin-bottom: 1.5rem;
    }

    .hero-cards {
        margin-top: 2rem;
        gap: 1rem;
    }

    .hero-card {
        padding: 1.2rem;
    }

    .hero-card i {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .hero-card h3 {
        font-size: 0.9rem;
        line-height: 1.3;
    }
}

/* En küçük ekranlar için ek düzeltmeler */
@media (max-width: 344px) {
    .hero-content {
        padding: 1rem;
        margin-top: 4rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .hero-card {
        padding: 1rem;
    }

    .hero-card i {
        font-size: 1.8rem;
    }

    .hero-card h3 {
        font-size: 0.85rem;
    }
}

/* Genel hero düzeltmeleri */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('hero-bg.jpg') no-repeat center center;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    word-wrap: break-word;
}

.hero-text {
    max-width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

/* Yatay (Landscape) mod için responsive düzenlemeler */

/* iPhone SE, küçük telefonlar (yatay) */
@media (max-height: 375px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px 0;
    }

    .hero-content {
        margin-top: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .hero-card {
        padding: 1rem;
    }

    .hero-card i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .hero-card h3 {
        font-size: 0.8rem;
    }
}

/* Orta boy telefonlar (yatay) */
@media (min-height: 376px) and (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px 0;
    }

    .hero-content {
        margin-top: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .about-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Büyük telefonlar (yatay) */
@media (min-height: 501px) and (max-height: 600px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px 0;
    }

    .hero-content {
        margin-top: 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tabletler (yatay) */
@media (min-width: 1024px) and (max-height: 800px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
    }

    .hero-content {
        padding: 120px 2rem 60px 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Genel yatay mod düzeltmeleri */
@media (orientation: landscape) {
    /* Navigation düzeltmeleri */
    .nav-links.active {
        max-height: 80vh;
        overflow-y: auto;
    }

    /* Contact section düzeltmeleri */
    .contact-content {
        flex-direction: row;
        justify-content: space-around;
        align-items: flex-start;
    }

    /* About section düzeltmeleri */
    .about {
        padding: 4rem 0;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    /* Services section düzeltmeleri */
    .services {
        padding: 4rem 0;
    }

    .service-image {
        height: 180px;
    }
}

/* iPhone 12/13 Pro Max gibi uzun ekranlar için */
@media (min-aspect-ratio: 19/9) {
    .hero-content {
        padding-top: 100px;
    }

    .hero-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Çok geniş ekranlar için güvenlik önlemi */
@media (min-aspect-ratio: 2/1) {
    .hero {
        height: auto;
        min-height: 100vh;
    }

    .container {
        max-width: 80vw;
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        order: -1; /* yazının resimden önce gelmesini sağlar */
    }
    
    .about-image {
        max-height: 400px; /* resmin yüksekliğini sınırlar */
        width: 100%;
    }
    
    .about-image img {
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 576px) {
    .about-image {
        max-height: 300px;
    }
}

/* Mobil için Hero düzenlemeleri */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        padding-top: 80px; /* Navbar için boşluk */
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-text {
        width: 100%;
        text-align: left;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }

    .hero-card {
        padding: 1.5rem;
    }

    .hero-card h3 {
        font-size: 1rem;
    }
}

/* Daha küçük mobil ekranlar için */
@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-text {
        margin-top: -50px; /* Yazıyı biraz yukarı çeker */
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.8); /* Arka plan transparanlığını artırır */
    }

    .hero-card {
        padding: 1rem;
    }

    .hero-card i {
        font-size: 2rem;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero-card h3 {
        font-size: 0.9rem;
    }
}

/* Yatay mobil görünüm için */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0;
    }

    .hero-text {
        margin-top: 0;
    }

    .hero-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet için düzenlemeler */
@media (max-width: 1024px) {
    .hero {
        background-attachment: scroll; /* Mobil uyumluluk için */
    }
}

/* Mobil için Hero düzenlemeleri */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        padding-top: 80px;
        background-position: 70% center; /* Mobilde background pozisyonu */
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-text {
        width: 100%;
        text-align: left;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.5); /* Yazı okunabilirliği için */
        border-radius: 10px;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }

    .hero-card {
        padding: 1.5rem;
        backdrop-filter: blur(10px);
    }
}

/* Küçük mobil ekranlar için (576px) */
@media (max-width: 576px) {
    .hero {
        background-position: 65% center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-text {
        margin-top: -30px;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
}

/* 375px ekranlar için */
@media (max-width: 375px) {
    .hero {
        background-position: 60% center;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .hero-text {
        margin-top: -20px;
        padding: 0.8rem;
    }

    .hero-card {
        padding: 1rem;
    }

    .hero-card h3 {
        font-size: 0.9rem;
    }

    .hero-card i {
        font-size: 1.8rem;
    }
}

/* 360px ekranlar için */
@media (max-width: 360px) {
    .hero {
        background-position: 58% center;
    }

    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .hero-text {
        margin-top: -15px;
        padding: 0.7rem;
    }

    .hero-card {
        padding: 0.8rem;
    }

    .hero-card h3 {
        font-size: 0.85rem;
    }

    .hero-card i {
        font-size: 1.6rem;
    }
}

/* Yatay mobil görünüm için */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0;
        background-position: center center;
    }

    .hero-text {
        margin-top: 0;
        background: rgba(0, 0, 0, 0.6);
    }

    .hero-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* iPhone SE ve benzer küçük ekranlar için ek düzenleme */
@media (max-width: 320px) {
    .hero {
        background-position: 55% center;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.8rem;
    }

    .hero-card h3 {
        font-size: 0.8rem;
    }

    .hero-card i {
        font-size: 1.5rem;
    }
}

/* Mobil için Hero düzenlemeleri */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 1.5rem;
        justify-content: center; /* İçeriği dikeyde ortala */
    }

    .hero-text {
        width: 100%;
        text-align: left;
        margin-top: 0; /* Üst margin'i kaldır */
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
}

/* Küçük mobil ekranlar için */
@media (max-width: 576px) {
    .hero-content {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-cards {
        margin-top: 1.5rem;
    }
}

/* 375px ekranlar için */
@media (max-width: 375px) {
    .hero-content {
        justify-content: center;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .hero-cards {
        margin-top: 1.2rem;
    }
}

/* 360px ekranlar için */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .hero-cards {
        gap: 0.8rem;
    }
}

/* Yatay mobil görünüm için */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

    .hero-content {
        padding: 80px 1rem;
        min-height: auto;
    }

    .hero-text {
        margin-top: 0;
    }
}

/* Tüm mobil cihazlar için (768px ve altı) */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
    }

    .hero-content {
        padding: 0 1rem;
        margin-top: 100px;
    }

    .hero-text {
        width: 100%;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    .hero-line {
        margin: 1rem 0;
    }

    .hero-cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .hero-card {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.1);
    }

    .hero-card i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .hero-card h3 {
        font-size: 0.9rem;
    }
}

/* Yatay mobil görünüm için */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-content {
        margin-top: 80px;
        padding: 1rem;
    }

    .hero-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

/* iPhone SE ve çok küçük ekranlar için */
@media (max-width: 320px) {
    .hero-content {
        margin-top: 90px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .hero-card h3 {
        font-size: 0.8rem;
    }

    .hero-card i {
        font-size: 1.6rem;
    }
}