/* Köyceğiz Zeytinyağı - Modern CSS Efektleri */

/* Gradient Animasyonları */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.gradient-animated {
    background: linear-gradient(-45deg, #556B2F, #6B8E23, #8B9A46, #BC8F8F);
    background-size: 400% 400%;
    animation: gradient-shift 8s ease infinite;
}

/* Glassmorphism Efekt */
.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.glass-dark {
    background: rgba(85, 107, 47, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(85, 107, 47, 0.3);
}

/* Glow Efektleri */
.glow-zeytin {
    box-shadow: 0 0 20px rgba(85, 107, 47, 0.5),
                0 0 40px rgba(85, 107, 47, 0.3),
                0 0 60px rgba(85, 107, 47, 0.2);
}

.glow-toprak {
    box-shadow: 0 0 20px rgba(188, 143, 143, 0.5),
                0 0 40px rgba(188, 143, 143, 0.3);
}

.glow-hover:hover {
    box-shadow: 0 0 25px rgba(85, 107, 47, 0.6),
                0 0 50px rgba(85, 107, 47, 0.4);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* Modern Card Hover Efektleri */
.card-modern {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.card-modern:hover::before {
    left: 100%;
}

.card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
                0 0 30px rgba(85, 107, 47, 0.2);
}

/* Gradient Butonlar */
.btn-gradient {
    background: linear-gradient(135deg, #556B2F 0%, #6B8E23 50%, #8B9A46 100%);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-gradient:hover::before {
    left: 100%;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #6B8E23 0%, #8B9A46 50%, #556B2F 100%);
    box-shadow: 0 10px 25px rgba(85, 107, 47, 0.4);
    transform: translateY(-2px);
}

/* Shine Efekti */
.shine {
    position: relative;
    overflow: hidden;
}

.shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Pulse Glow */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(85, 107, 47, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(85, 107, 47, 0.8),
                    0 0 60px rgba(85, 107, 47, 0.6);
    }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Modern Shadow Layers */
.shadow-modern {
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.06),
        0 16px 32px rgba(0, 0, 0, 0.04);
}

.shadow-modern-hover:hover {
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 16px 32px rgba(0, 0, 0, 0.08),
        0 32px 64px rgba(0, 0, 0, 0.06);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #556B2F 0%, #6B8E23 50%, #BC8F8F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Border Gradient */
.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, #556B2F, #BC8F8F) 1;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(
        90deg,
        #f0f0f0 0px,
        #e0e0e0 40px,
        #f0f0f0 80px
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Modern Input Focus */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #556B2F;
    box-shadow: 0 0 0 3px rgba(85, 107, 47, 0.1),
                0 0 15px rgba(85, 107, 47, 0.2);
    transition: all 0.3s ease;
}

/* Badge Glow */
.badge-glow {
    position: relative;
    overflow: hidden;
}

.badge-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Image Hover */
.img-hover-zoom {
    overflow: hidden;
    position: relative;
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.1);
}

/* Modern Timeline Connector */
.timeline-connector {
    position: relative;
}

.timeline-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #556B2F, #BC8F8F, #556B2F);
    background-size: 200% 100%;
    animation: gradient-flow 3s linear infinite;
    transform: translateY(-50%);
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* Neon Text Effect (Subtle) */
.neon-text {
    text-shadow: 
        0 0 5px rgba(85, 107, 47, 0.5),
        0 0 10px rgba(85, 107, 47, 0.3),
        0 0 15px rgba(85, 107, 47, 0.2);
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #556B2F, #BC8F8F);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #6B8E23, #8B9A46);
}
