/* Global Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #6c757d;
    --accent-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    transition: all 0.3s ease;
}

/* Top Bar Links - remove underline */
.top-bar a {
    color: #6c757d;
    text-decoration: none !important;
}

.top-bar a:hover {
    color: var(--primary-color);
    text-decoration: none !important;
}

/* Header Styles */
header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Offcanvas Styles */
@media (max-width: 991.98px) {
    .offcanvas-header {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .offcanvas-body .navbar-nav {
        flex-direction: column;
    }

    .offcanvas-body .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .offcanvas-body .nav-link:hover {
        background-color: rgba(0, 0, 0, 0.03);
    }

    /* Mobilde header ile slider arası boşluğu kaldır */
    header {
        padding: 0.5rem 0 !important;
        margin-bottom: 0 !important;
    }

    main {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .hero-slider {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .hero-slider .owl-stage-outer,
    .hero-slider .owl-stage,
    .hero-slider .owl-item {
        height: 100%;
    }

    .hero-slider .item {
        background-position: center top;
    }
}


header h1 {
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: var(--dark-color);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-slider .item {
    height: 500px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-slider .item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Category Section */
.category-section {
    padding: 4rem 0;
}

.category-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

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

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    border-radius: 50%;
}

.category-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.category-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Product Section */
.product-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

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

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

.product-img {
    height: 250px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
}

/* Call to Action */
.cta-section {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
    padding: 0.7rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-light:hover {
    background-color: #f0f0f0;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #004494;
    color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        max-width: 100%;
        padding: 1.5rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .category-section,
    .product-section {
        padding: 3rem 0;
    }

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

@media (max-width: 768px) {
    .hero-slider .item {
        height: 400px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .category-card,
    .product-card {
        margin-bottom: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-slider .item {
        height: 350px;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

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

    .whatsapp-btn,
    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}