/* Reset CSS Start */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}

:root {
    --bg-color: #FFFFFF;
    /* Genel arka plan */
    --second-bg-color: #F5F5F5;
    /* Header ve bölümler */
    --text-color: #333333;
    /* Yazı rengi */
    --main-color: #1A73E8;
    /* Vurgu rengi */
    --hover-color: #FF5722;
    /* Hover efekt rengi */
    --error-color: #F44336;
    /* Hata rengi */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Reset CSS End */

/* Header Start */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--second-bg-color);
    min-height: 100px;
    padding: 30px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 40px;
    margin-left: 30px;
    font-weight: 800;
    color: var(--main-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

.logo:hover {
    transform: scale(1.2);
    color: var(--hover-color);
}

#menu-icon {
    display: none;
    color: var(--text-color);
}

.navbar {
    display: flex;
    align-items: center;
}

.navbar a {
    font-size: 18px;
    font-weight: 500;
    margin-right: 30px;
    color: var(--text-color);
    position: relative;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: var(--main-color);
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--main-color);
    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .logo {
        margin-left: 10px;
    }

    #menu-icon {
        display: block;
        font-size: 30px;
        cursor: pointer;
    }

    .navbar {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100px;
        right: 0;
        background-color: var(--second-bg-color);
        width: 100%;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar a {
        margin: 10px 0;
        text-align: center;
    }

    .navbar.active {
        display: flex;
    }
}
/* Header End */

/* Hero Section Start */
.hero {
    background-color: var(--bg-color); /* Arka plan rengini burada değiştirebilirsiniz */
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 100px;
}

.hero h1 {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero p {
    font-size: 20px;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .hero {
        padding-top: 150px;
    }
}
/* Hero Section End */

/* Products Section Start */
.products {
    background-color: var(--bg-color);
    padding: 50px 25px;
    text-align: center;
}

.products h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-color);
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.product-card {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.product-card p {
    font-size: 16px;
    color: var(--main-color);
}

/* Products Section End */

/* About Us Section Start */
.about-us {
    background-color: var(--second-bg-color);
    padding: 50px 30px;
    text-align: center;
}

.about-us h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-us p {
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.about-us img {
    max-width: 25%;
    border-radius: 10px;
    margin-top: 30px;
}

/* About Us Section End */

/* Contact Section Start */
.contact {
    background-color: var(--second-bg-color);
    padding: 50px 30px;
    text-align: center;
}

.contact h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.contact p {
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: 600px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form button {
    background-color: var(--main-color);
    color: var(--bg-color);
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--hover-color);
}

/* Contact Section End */

/* Product List Start */
.product-list {
    background-color: var(--second-bg-color);
    padding: 80px 30px;
    text-align: center;
    border-top: 5px solid var(--main-color);
    border-bottom: 5px solid var(--main-color);
}

.product-list h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 60px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-list-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

.product-list-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.product-list-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    background-color: var(--hover-bg-color);
}

.product-list-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    text-transform: capitalize;
    letter-spacing: 1px;
}

.product-list-card p {
    font-size: 18px;
    color: var(--main-color);
    line-height: 1.5;
    margin-bottom: 20px;
}

.product-list-card a {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: var(--main-color);
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid var(--main-color);
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.product-list-card a:hover {
    background-color: var(--main-color);
    color: var(--bg-color);
}
/* Product List End */

/* Footer Start */
.footer {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 4rem 10%;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-about,
.footer-links,
.footer-contact {
    flex: 1;
    min-width: 18rem;
    /* Genişlik ayarlandı */
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
    font-size: 2.2rem;
    /* Başlık boyutunu biraz küçülttük */
    margin-bottom: 1rem;
    color: var(--main-color);
}

.footer-about p {
    font-size: 1.3rem;
    /* Paragraf boyutunu daha küçük yaptık */
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li a {
    color: var(--text-color);
    font-size: 1.3rem;
    /* Link boyutunu biraz küçülttük */
    margin-bottom: 1rem;
    display: block;
    transition: color 0.3s ease;
}

.footer-contact p {
    font-size: 1.3rem;
}

.footer-links ul li a:hover {
    color: var(--main-color);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.footer-social i {
    font-size: 2.2rem;
    /* Sosyal ikonları biraz küçülttük */
    color: var(--text-color);
    transition: color 0.3s ease;
}

.footer-social i:hover {
    color: var(--main-color);
}

/* Responsive ayarları */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-about,
    .footer-links,
    .footer-contact {
        min-width: 100%;
        margin-bottom: 2rem;
    }
}
/* Footer End */

/* 404 Error Page Start */
.error-page {
    background-color: var(--second-bg-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px;
}

.error-content {
    max-width: 600px;
    padding: 40px;
    margin-top: 100px;
    background-color: var(--bg-color);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.error-content h1 {
    font-size: 100px;
    font-weight: 700;
    color: var(--error-color);
}

.error-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 20px 0;
    color: var(--text-color);
}

.error-content p {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 30px;
}

.btn-back-home {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--main-color);
    color: var(--bg-color);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-back-home:hover {
    background-color: var(--hover-color);
}
/* 404 Error Page End */