/*

/* ===== ANA RENK PALETİ ===== */
:root {
    --primary-green: #4CAF50;      /* Ana yeşil */
    --dark-green: #2E7D32;         /* Koyu yeşil */
    --light-green: #81C784;        /* Açık yeşil */
    --pale-green: #C8E6C9;         /* Soluk yeşil */
    --mint-green: #A5D6A7;         /* Nane yeşili */
    --forest-green: #1B5E20;       /* Orman yeşili */
}

/* ===== HEADER & NAVIGATION ===== */
.header_section {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #4CAF50 !important;
}

.login_bt a {
    background-color: #4CAF50;
    border: 2px solid #4CAF50;
    transition: all 0.3s ease;
}

.login_bt a:hover {
    background-color: #2E7D32;
    border-color: #2E7D32;
    transform: translateY(-2px);
}

/* ===== BANNER SECTION ===== */
.banner_section {
    background: linear-gradient(135deg, #81C784 0%, #4CAF50 100%);
}

.started_text a {
    background-color: #4CAF50;
    border: 2px solid #4CAF50;
    color: white;
    padding: 12px 35px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.started_text a:hover {
    background-color: #2E7D32;
    border-color: #2E7D32;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

/* ===== ABOUT SECTION ===== */
.about_taital {
    color: #2E7D32;
}

.read_bt_1 a {
    background-color: #4CAF50;
    color: white;
    padding: 10px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.read_bt_1 a:hover {
    background-color: #2E7D32;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

/* ===== CREAM/PRODUCT SECTION ===== */
.cream_taital,
.services_taital {
    color: #2E7D32;
}

.cream_box {
    border: 2px solid #C8E6C9;
    transition: all 0.3s ease;
}

.cream_box:hover {
    border-color: #4CAF50;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.2);
    transform: translateY(-5px);
}

.price_text {
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
}

.cart_bt a {
    background-color: #4CAF50;
    color: white;
    padding: 8px 25px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.cart_bt a:hover {
    background-color: #2E7D32;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* ===== SERVICES SECTION ===== */
.services_box {
    background-color: #f8fff9;
    border: 2px solid #C8E6C9;
    transition: all 0.3s ease;
}

.services_box:hover {
    border-color: #4CAF50;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.2);
    transform: translateY(-5px);
}

.icon_img {
    background-color: #C8E6C9;
    border-radius: 50%;
    padding: 15px;
}

/* ===== TESTIMONIAL SECTION ===== */
.testimonial_section {
    background: linear-gradient(135deg, #f8fff9 0%, #C8E6C9 100%);
}

.testimonial_taital {
    color: #2E7D32;
}

.client_img img {
    border: 4px solid #4CAF50;
}

.carousel-control-prev,
.carousel-control-next {
    background-color: #4CAF50;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: #2E7D32;
}

/* ===== CONTACT SECTION ===== */
.contact_taital {
    color: #2E7D32;
}

.email-bt,
.massage-bt {
    border: 2px solid #C8E6C9;
    transition: all 0.3s ease;
}

.email-bt:focus,
.massage-bt:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.2);
}

.main_bt a {
    background-color: #4CAF50;
    color: white;
    padding: 12px 40px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.main_bt a:hover {
    background-color: #2E7D32;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.newsletter_text {
    color: #2E7D32;
}

.subscribe_bt a {
    background-color: #4CAF50;
    color: white;
    padding: 10px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.subscribe_bt a:hover {
    background-color: #2E7D32;
    transform: scale(1.05);
}

/* ===== SOCIAL MEDIA ICONS ===== */
.footer_social_icon ul li a {
    background-color: #4CAF50;
    transition: all 0.3s ease;
}

.footer_social_icon ul li a:hover {
    background-color: #2E7D32;
    transform: scale(1.1) rotate(5deg);
}

/* ===== SEE MORE BUTTON ===== */
.seemore_bt a {
    background-color: #4CAF50;
    color: white;
    padding: 12px 40px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.seemore_bt a:hover {
    background-color: #2E7D32;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

/* ===== CAROUSEL INDICATORS ===== */
.carousel-indicators li {
    background-color: #4CAF50;
}

.carousel-indicators li.active {
    background-color: #2E7D32;
}

/* ===== ANIMASYONLAR ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cream_box,
.services_box {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== SCROLL ANIMASYONU ===== */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ===== LOADING ANIMATION ===== */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.price_text {
    animation: pulse 2s infinite;
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 768px) {
    .started_text a,
    .cart_bt a,
    .main_bt a {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .cream_box,
    .services_box {
        margin-bottom: 20px;
    }
}

/* ===== DARK MODE HAZIRLIĞI ===== */
@media (prefers-color-scheme: dark) {
    .services_box {
        background-color: #1a3a1a;
    }
}

/* ================================================
   ANİMASYONLAR VE RESPONSIVE İYİLEŞTİRMELER
   style.css dosyanıza ekleyin
   ================================================ */

/* ===== LOADING ANIMATION ===== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.ice-cream-loader {
    font-size: 80px;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.loader-text {
    font-size: 24px;
    margin-top: 20px;
    animation: pulse 1.5s infinite;
}

/* ===== FADE IN ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Delay classes */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ===== HOVER ANIMATIONS ===== */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

/* ===== FLOATING ANIMATION ===== */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== ROTATE ANIMATION ===== */
.rotate-on-hover {
    transition: transform 0.3s ease;
}

.rotate-on-hover:hover {
    transform: rotate(5deg);
}

/* ===== SHAKE ANIMATION ===== */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.shake-on-hover:hover {
    animation: shake 0.5s;
}

/* ===== PULSE ANIMATION ===== */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===== PARALLAX EFFECT ===== */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===== SMOOTH SCROLL ===== */
html {
    scroll-behavior: smooth;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

/* ===== TOOLTIP ===== */
.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-text {
    visibility: hidden;
    background-color: #2E7D32;
    color: white;
    text-align: center;
    padding: 8px 12px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
    font-size: 14px;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #2E7D32 transparent transparent transparent;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */

/* Large Devices (Desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Medium Devices (Tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .banner_taital {
        font-size: 40px;
    }
    
    .cream_section_2,
    .services_section_2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .navbar-nav {
        text-align: center;
    }
}

/* Small Devices (Phones, less than 768px) */
@media (max-width: 767px) {
    /* Typography */
    .banner_taital,
    .about_taital,
    .cream_taital,
    .services_taital {
        font-size: 28px;
    }
    
    .banner_text,
    .about_text,
    .services_text {
        font-size: 14px;
    }
    
    /* Header */
    .navbar-brand img {
        max-width: 120px;
    }
    
    .login_bt {
        margin-top: 10px;
    }
    
    /* Banner */
    .banner_section {
        padding: 40px 0;
    }
    
    .carousel-indicators {
        bottom: -30px;
    }
    
    /* Products */
    .cream_section_2,
    .services_section_2 {
        grid-template-columns: 1fr;
    }
    
    .cream_box,
    .services_box {
        margin-bottom: 20px;
    }
    
    /* Buttons */
    .started_text a,
    .cart_bt a,
    .main_bt a,
    .seemore_bt a {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Contact Form */
    .contact_main {
        margin-bottom: 30px;
    }
    
    .location_text {
        padding: 20px 0;
    }
    
    /* Footer */
    .copyright_text {
        font-size: 12px;
        text-align: center;
    }
    
    /* Scroll to top button */
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Extra Small Devices (Phones, less than 576px) */
@media (max-width: 575px) {
    .header h1 {
        font-size: 24px;
    }
    
    .product-card {
        padding: 15px;
    }
    
    .product-img {
        width: 100px;
        height: 100px;
    }
    
    /* Hide some decorative elements on very small screens */
    .icon_img {
        display: none;
    }
}

/* ===== HAMBURGER MENU ANIMATION ===== */
.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 25px;
    height: 2px;
    background-color: #4CAF50;
    display: block;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    width: 25px;
    height: 2px;
    background-color: #4CAF50;
    display: block;
    position: absolute;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ===== CARD FLIP EFFECT ===== */
.flip-card {
    perspective: 1000px;
    height: 300px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
}

.flip-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* ===== PROGRESS BAR ===== */
.progress-bar-container {
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50 0%, #2E7D32 100%);
    width: 0%;
    transition: width 0.1s;
}

/* ===== SKELETON LOADING ===== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.skeleton-img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
}

/* ===== NOTIFICATION BADGE ===== */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #f44336;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* Use GPU acceleration for animations */
.animated-element {
    will-change: transform, opacity;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}