/* Genel Stiller */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --text-color: #333;
    --transition: all 0.3s ease;
}

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

        .transparent-navbar {
            background-color: transparent;
            box-shadow: none;
        }

        .navbar-toggler {
            background: transparent;
            border: none;
        }

        .btn-close {
            padding-right: 1.7rem !important;
        }

        .offcanvas {
            background-color: rgba(0, 0, 0, 0.7);
            color: #ffffff;
        }

        .btn-close::before,
        .btn-close::after {
            content: none;
        }

        .btn-close {
            background: none;
            border: none;
            padding: 0;
        }

        .btn-close img {
            display: block;
            width: 30px;
            height: 30px;
        }

        .offcanvas-header {
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .offcanvas-body {
            text-align: center;
        }

        .link-target {
            color: #ffffff;
            text-decoration: none;
            font-size: 18px;
            font-weight: 500;
        }

        .link-target:hover {
            text-decoration: underline;
        }

        .custom-menu-btn {
            position: relative;
            background-color: transparent;
            border: none;
            padding: 0;
            cursor: pointer;
        }

        button:focus {
            outline: none !important;
            box-shadow: none !important;
        }

        .offcanvas-body ul {
            margin: 0;
            padding: 0;
        }

        .offcanvas-body ul li {
            margin-bottom: 15px;
        }

        .scrollable-nav {
            max-height: 80vh;
            overflow-y: auto;
        }


/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-color);
    border-top: 5px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navbar Stilleri */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.whatsapp-icon {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #25D366 !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
    cursor: pointer !important;
    z-index: 1000 !important;
    transition: transform 0.3s !important;
  }
  
  .whatsapp-icon:hover {
    transform: scale(1.1) !important;
  }
  
  .whatsapp-icon img {
    width: 35px !important;
    height: 35px !important;
  }

  
  .phone-icon {
  position: fixed !important;
  bottom: 90px !important; /* WhatsApp butonunun üstünde yer alır */
  right: 20px !important;
  width: 60px !important;
  height: 60px !important;
  background-color: red !important; /* Mavi, istersen yeşil yaparız */
  border-radius: 50% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
  cursor: pointer !important;
  z-index: 1000 !important;
  transition: transform 0.3s !important;
}

.phone-icon:hover {
  transform: scale(1.1) !important;
}

.phone-icon img {
  width: 35px !important;
  height: 35px !important;
}


.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.navbar-brand i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.9));
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

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

.hero-section h1 {
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-weight: 500;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.hero-buttons .btn-primary {
    background-color: var(--secondary-color);
    border: none;
}

.hero-buttons .btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero-buttons .btn-outline-light {
    border-width: 2px;
}

.hero-buttons .btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.pulse-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    color: white;
    font-size: 2rem;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.scroll-down:hover {
    color: var(--secondary-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Section Header */
.section-header {
    margin-bottom: 3rem;
}

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

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

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Hakkımızda Section */
.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    transition: var(--transition);
}

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

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: 10px;
    background-color: var(--secondary-color);
    color: white;
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.experience-badge span {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge p {
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--light-color);
    transition: var(--transition);
    height: 100%;
}

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

.feature-box i {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.feature-box h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* İstatistikler Section */
.stats-section {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.8);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Ürünler Section */
.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    height: 100%;
}

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

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-content {
    padding: 2rem;
}

.product-content h5 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.product-features li {
    margin-bottom: 0.5rem;
    color: #666;
}

.product-features i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

/* Galeri Section */
.gallery-slider {
    padding: 2rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--secondary-color) !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--secondary-color) !important;
}

/* Müşteri Yorumları Section */
.testimonial-item {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 1rem;
}

.testimonial-content {
    position: relative;
    padding: 1rem 0;
}

.testimonial-content i {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-info h5 {
    margin: 0;
    font-weight: 600;
    color: var(--primary-color);
}

.author-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* İletişim Section */
.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-floating > .form-control {
    padding: 1rem 0.75rem;
}

.form-floating > label {
    padding: 1rem 0.75rem;
}

.contact-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-card h4 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.footer p {
    color: #ccc;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact,
.footer-hours {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li,
.footer-hours li {
    color: #ccc;
    margin-bottom: 0.8rem;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer hr {
    border-color: rgba(255,255,255,0.1);
    margin: 2rem 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

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

.back-to-top:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* Responsive Düzenlemeler */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .about-image {
        margin-bottom: 2rem;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
        bottom: 20px;
        right: -10px;
    }
    
    .experience-badge span {
        font-size: 1.5rem;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .gallery-item {
        height: 300px;
    }
    
    .contact-card {
        text-align: center;
    }
    
    .social-media {
        justify-content: center;
    }

    .offcanvas {
        width: 100%;
        max-width: 100%;
    }

    .navbar {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .feature-box {
        margin-bottom: 1rem;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}
