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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #e74c3c;
    margin: 15px auto 0;
}

/* HEADER STYLES */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.logo h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-red {
    color: #e74c3c;
}

.logo-black {
    color: #333;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover {
    color: #e74c3c;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #e74c3c;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/sunglass.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* MOBİL UYUM (768px ve altı) */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll !important; /* Mobilde sabit arkaplanı kapat */
        background-size: cover !important; /* Resmi tam ekran kapla */
        min-height: 100vh; /* Ekran yüksekliğine sığdır */
    }
    
    .hero-title {
        font-size: 3.5rem !important; /* Mobilde başlık boyutu */
    }
    
    .hero-subtitle {
        font-size: 1.2rem !important; /* Mobilde alt başlık boyutu */
    }
}

/* KÜÇÜK MOBİL (576px ve altı) */
@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
}

.btn {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ABOUT SECTION */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* PRODUCTS SECTION */
.products {
    background: #f8f9fa;
}

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

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    color: #2c3e50;
}

.product-card p {
    padding: 0 20px 20px;
    color: #7f8c8d;
}

/* SERVICES SECTION */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 50px;
    margin-bottom: 20px;
    color: #e74c3c;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-card p {
    color: #7f8c8d;
}

/* CONTACT SECTION */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.contact-info i {
    margin-right: 15px;
    font-size: 1.2rem;
    color: #e74c3c;
    width: 25px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a i {
    color: white;
}

.social-links .facebook {
    background: #3b5998;
}

.social-links .twitter {
    background: #1DA1F2;
}

.social-links .instagram {
    background: #E1306C;
}

.social-links .whatsapp {
    background: #25D366;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* MAP STYLES */
.map-container {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* FOOTER */
footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    font-size: 1.1rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.3rem;
    }
    .about-content {
        flex-direction: column;
    }
    .about-image {
        margin-top: 40px;
        max-width: 600px;
    }
    .contact-content {
        flex-direction: column;
    }
    .map-container {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 30px;
        transition: all 0.5s ease;
    }
    .nav-links.active {
        left: 0;
    }
    .nav-links li {
        margin: 15px 0;
    }
    .mobile-menu {
        display: block;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero {
        min-height: 500px;
    }
    .section {
        padding: 60px 0;
    }
    .logo h1 {
        font-size: 1.5rem;
    }
    .btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}