﻿/* Modern Letour Türkiye CSS */

:root {
    --primary-color: #2c5530;
    --primary-light: #4a7c59;
    --secondary-color: #8bc34a;
    --accent-color: #ff6b35;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --background-light: #f8f9fa;
    --border-color: #e9ecef;
}

* {
    box-sizing: border-box;
}
a{color:#444; text-decoration:none; cursor:pointer!important;}
a:hover {
    color: #888;
 
}
  html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}
 
/* Header Styles */
.header-modern .navbar-brand {
    hero-slider-section transition: all 0.3s ease;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-modern .navbar-brand:hover {
    transform: scale(1.05);
}

.header-modern .nav-link {
    position: relative;
    transition: all 0.3s ease;
    color: var(--text-dark) !important;
}
.nav-link {
    color: color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important;
}
.accordion-button:not(.collapsed) {
    color: var(--secondary-color);
}
/*.header-modern .nav-link:hover {
    color: var(--primary-color) !important;
}*/
/*.header-modern .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}*/
/*.header-modern .nav-link:hover::after {
    width: 100%;
}*/
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 0.2rem 0;
}

.dropdown-menu-modern {
    border: none;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 250px;
}

.dropdown-item {
    padding: 0.5rem 0.5rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0.2rem 0.5rem;
}

    .dropdown-item:hover {
 
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-light));
    color: white;
    transform: translateX(3px);
 

   /* background-color: var(--background-light);
    color: var(--primary-color);
    transform: translateX(5px);*/
}

/* Dropdown Submenu Styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    margin-right: 0.1rem;
    border-radius: 8px;
    min-width: 200px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > .dropdown-toggle::after {
    display: none;
}

.dropdown-submenu .dropdown-item {
    white-space: nowrap;
    font-size: 0.9rem;
}

.dropdown-submenu .dropdown-item:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-light));
    color: white;
    transform: translateX(3px);
}
.main-image {
text-align:center;
}
.list-image {
    text-align: center;
    height:250px;
}
/* Responsive dropdown adjustments */
@media (max-width: 991px) {
    .dropdown-submenu > .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-left: 1rem;
        box-shadow: none;
        border-left: 2px solid var(--secondary-color);
        border-radius: 0;
        background-color: rgba(139, 195, 74, 0.05);
    }
    
    .dropdown-submenu:hover > .dropdown-menu {
        display: none;
    }
    
    .dropdown-submenu.show > .dropdown-menu {
        display: block;
    }
}

/* Enhanced dropdown animations */
.dropdown-menu {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    /*display: block;*/
    visibility: hidden;
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.9), rgba(139, 195, 74, 0.8)), url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

/* Hero Slider Styles */
.hero-slider-section {
    position: relative;
    height: 65vh;
    min-height: 650px;
    overflow: hidden;
}

.carousel-image {
    height: 65vh;
    min-height: 650px;
    object-fit: cover;
    object-position: center;
}

.carousel-item {
  position: relative;
}
/*
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.6), rgba(139, 195, 74, 0.4));
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.carousel-caption-content {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.carousel-caption h2 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

*/.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    z-index: 3;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-size: 100%, 100%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.carousel-indicators {
    bottom: 20px;
    z-index: 3;
}

.carousel-indicators button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
   /* border: 2px solid rgba(255, 255, 255, 0.5);*/
    background-color: transparent;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--secondary-color);
  /*  border-color: var(--secondary-color);
    transform: scale(1.2);*/
}

.carousel-indicators button:hover {
    border-color: rgba(255, 255, 255, 0.8);
    height:3px;
    padding:0px;
}

/* Carousel fade effect */
.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0.8s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev {
    transform: translateX(0);
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    .hero-slider-section {
        height: 22vh;
        min-height: 180px;
    }
    
    .carousel-image {
        height: 22vh;
        min-height: 180px;
    }
    
    .carousel-caption {
        position: absolute;
        top: 60%;
        width: 95%;
    }
    
    .carousel-caption-content {
        padding: 1rem;
    }
    
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .carousel-caption {
        display: block !important;
        top: 70%;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    .hero-slider-section {
        height: 20vh;
        min-height: 160px;
    }
    
    .carousel-image {
        height: 20vh;
        min-height: 160px;
    }
    
}

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

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.btn-hero {
    background: linear-gradient(45deg, var(--accent-color), #ff8a65);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: none;
    height: 100%;
}

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

.category-card .icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.category-card:hover .icon {
    transform: scale(1.2);
    color: var(--primary-color);
}

.category-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

/* Product Cards */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: none;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.product-list-img {
    text-align:center;
    height:250px;
}
.product-card img {
   /* width: 94%;*/
   width:auto!important;
    height: 250px;
   /* object-fit: cover;*/
    transition: all 0.3s ease;
}

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

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .product-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    height:42px;
    overflow:hidden;
}

.product-card .product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-card .btn-product {
    background: var(--accent-color);
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.product-card .btn-product:hover {
    background: var(--text-light);
    transform: translateY(-2px);
}

/* Features Section */
.features-section {
    background: var(--background-light);
    padding: 5rem 0;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-item .icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-item h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Utilities */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.btn-outline-primary-custom {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary-custom:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color:white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Detail Thumbnail Gallery */
.thumbnail-image {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-image:hover {
    border-color: var(--primary-color);
    opacity: 0.8;
}

.thumbnail-image.active-thumbnail {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

/* Footer Styles */
.footer-link {
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color) !important;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .category-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn-hero {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Footer */
.footer-modern {
    background: linear-gradient(135deg, #1a1a1a, #2c3e50) !important;
}

.footer-modern a:hover {
    color: var(--secondary-color) !important;
    transition: all 0.3s ease;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

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

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Thumbnail Gallery */
.thumbnail-images img {
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.thumbnail-images img:hover,
.thumbnail-images img.active {
    opacity: 1;
    transform: scale(1.05);
    border: 2px solid var(--secondary-color);
}

/* Additional Responsive Improvements */
@media (max-width: 991px) {
    .hero-section {
        text-align: center;
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .features-section .row {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .hero-section {
        min-height: 60vh;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .product-card .card-body {
        padding: 1rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
}