/* GENEL STİLLER */
:root {
    --primary-red: #d9232d;
    --dark-grey: #1a1a1a;
    --medium-grey: #333;
    --light-grey: #f4f4f4;
    --text-color: #555;
    --white: #fff;
    --sans-serif: 'Poppins', sans-serif;
    --serif: 'Roboto', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: var(--primary-red);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-grey);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sans-serif);
    font-weight: 700;
    color: var(--dark-grey);
    line-height: 1.3;
    margin-bottom: 15px;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn-red {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--sans-serif);
}

.btn-red:hover {
    background-color: var(--dark-grey);
    color: var(--white);
}

.section-padding {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* HEADER */
header[role="banner"] {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    height: 80px;
}

header .logo img {
    height: 40px;
    display: block;
}

nav.main-nav ul {
    display: flex;
    gap: 30px;
}

nav.main-nav a {
    color: var(--dark-grey);
    font-weight: 600;
    font-family: var(--sans-serif);
    font-size: 1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

nav.main-nav a:hover, 
nav.main-nav a.active {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

header .header-right {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none; /* Mobil için */
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-grey);
    margin-left: 20px;
}

/* HERO BÖLÜMÜ */
#hero {
    height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

#hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}


/* FEATURES BÖLÜMÜ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.feature-icon i {
    font-size: 40px;
    color: var(--primary-red);
    margin-bottom: 20px;
}

/* ÜRÜNLER BÖLÜMÜ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    margin-bottom: 10px;
}

.product-content .btn-red {
    margin-top: 15px;
}

/* FOOTER */
.site-footer {
    background-color: var(--dark-grey);
    color: #ccc;
}

.newsletter-section {
    background-color: var(--medium-grey);
    padding: 40px 0;
    color: var(--white);
}

.newsletter-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.newsletter-icon i {
    font-size: 50px;
}

.newsletter-form form {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 400px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #555;
    background: #444;
    color: var(--white);
    border-radius: 8px;
}

.footer-main {
    padding: 60px 0;
}

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

.footer-widget h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul a {
    color: #ccc;
}

.footer-widget ul a:hover {
    color: var(--white);
}

.footer-widget address p {
    margin-bottom: 10px;
}

.footer-social a {
    color: var(--white);
    font-size: 20px;
    margin-right: 15px;
}

.footer-bottom {
    background-color: #111;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* İÇ SAYFA STİLLERİ */
#page-header {
    height: 40vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

#page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

#page-header .container {
    position: relative;
}

#page-header h1 {
    font-size: 3rem;
    color: var(--white);
}

/* HAKKIMIZDA SAYFASI */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission-card, .vision-card {
    background: var(--light-grey);
    padding: 40px;
    border-radius: 8px;
}

.mission-icon i, .vision-icon i {
    font-size: 30px;
    color: var(--primary-red);
    margin-bottom: 15px;
}

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

.team-member-card {
    text-align: center;
}

.team-member-img img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    border: 5px solid var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* İLETİŞİM SAYFASI */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h4 i {
    color: var(--primary-red);
    margin-right: 15px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.contact-form input, 
.contact-form select,
.contact-form textarea {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 100%;
    font-family: inherit;
}

/* MOBİL UYUMLULUK */
@media (max-width: 992px) {
    .features-grid,
    .product-grid,
    .footer-grid,
    .mission-vision-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-section .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .main-nav ul li {
        text-align: center;
    }

    .main-nav ul a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    .menu-toggle {
        display: block;
    }
    
    header .header-right .btn-red .fa-phone {
        margin-right: 8px;
    }
    
    header .header-right .btn-red span {
        display: none;
    }

    #hero h1, #page-header h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
    
    .header-right .btn-red {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}
