/* ===================================================================
   ATMOSFER EFEKTLERİ - Soğuk/Sıcak Hava Animasyonları
   =================================================================== */

/* ============ KAR EFEKTİ (SOĞUK) ============ */
.weather-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1em;
    animation: snowfall linear infinite;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.8), 0 0 12px rgba(150, 200, 255, 0.4);
    user-select: none;
}

@keyframes snowfall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(110vh) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

/* Buz parıltısı */
.frost-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(173, 216, 255, 0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(135, 206, 250, 0.12), transparent 40%);
    pointer-events: none;
}

/* ============ ALEV/SICAK EFEKTİ ============ */
.flame-particle {
    position: absolute;
    bottom: -30px;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, rgba(255, 200, 100, 0.9), rgba(255, 100, 50, 0.6) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(2px);
    animation: flameRise linear infinite;
    pointer-events: none;
}

@keyframes flameRise {
    0% {
        bottom: -30px;
        transform: scale(1) translateX(0);
        opacity: 0;
    }
    20% { opacity: 0.9; }
    50% {
        transform: scale(1.4) translateX(15px);
    }
    100% {
        bottom: 100vh;
        transform: scale(0.3) translateX(-15px);
        opacity: 0;
    }
}

.heat-wave {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at bottom, rgba(255, 100, 50, 0.15), transparent 50%),
        radial-gradient(ellipse at 30% 90%, rgba(255, 150, 50, 0.12), transparent 40%);
    pointer-events: none;
    animation: heatPulse 4s ease-in-out infinite;
}

@keyframes heatPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Sıcak hero arkaplan değişimi */
.hero-slider.weather-warm {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffc837 100%);
}

/* Soğuk hero (default) */
.hero-slider.weather-cold {
    background: linear-gradient(135deg, #1a2942 0%, #0066ff 50%, #00c896 100%);
}

/* ============ SOĞUK/SICAK SWITCH BUTONU ============ */
.weather-toggle {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 6px;
    display: flex;
    gap: 4px;
}

.weather-toggle button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.weather-toggle button.active {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ============ TEMPERATURE WIDGET BÖLÜMÜ ============ */
.temperature-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #fff5e6 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.temp-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s;
    height: 100%;
}

.temp-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.temp-card.summer {
    background: linear-gradient(135deg, #fff7e6 0%, #ffe0b3 100%);
    border: 2px solid #ffb84d;
}
.temp-card.winter {
    background: linear-gradient(135deg, #e6f5ff 0%, #b3dcff 100%);
    border: 2px solid #4da6ff;
}
.temp-card.spring {
    background: linear-gradient(135deg, #e8f9e8 0%, #c3f0c3 100%);
    border: 2px solid #5cdb5c;
}
.temp-card.autumn {
    background: linear-gradient(135deg, #fff0e0 0%, #ffd1a3 100%);
    border: 2px solid #ff8c42;
}

.temp-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: #fff;
}
.temp-card.summer .temp-icon { background: linear-gradient(135deg, #ff8c42, #ff6b35); animation: sunRotate 20s linear infinite; }
.temp-card.winter .temp-icon { background: linear-gradient(135deg, #4da6ff, #0066ff); animation: snowSpin 8s linear infinite; }
.temp-card.spring .temp-icon { background: linear-gradient(135deg, #5cdb5c, #2eb82e); animation: leafSway 3s ease-in-out infinite; }
.temp-card.autumn .temp-icon { background: linear-gradient(135deg, #ff8c42, #d2691e); animation: leafSway 3s ease-in-out infinite reverse; }

@keyframes sunRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes snowSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes leafSway {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

.temp-value {
    font-size: 42px;
    font-weight: 800;
    margin: 10px 0 5px;
    background: linear-gradient(135deg, #1a2942, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.temp-card.summer .temp-value {
    background: linear-gradient(135deg, #ff6b35, #d2691e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.temp-card.winter .temp-value {
    background: linear-gradient(135deg, #0066ff, #003d99);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.temp-label {
    color: var(--gray-500);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.temp-card h5 {
    color: var(--secondary);
    font-weight: 700;
    margin: 12px 0 8px;
}

.temp-card p {
    color: var(--gray-600);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* ============ TESTIMONIAL CARD ============ */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 80px;
    color: var(--primary-light);
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-card .stars { color: #ffa500; margin-bottom: 12px; }
.testimonial-card .comment {
    color: var(--gray-700);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--gray-100);
    padding-top: 15px;
}
.testimonial-card .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}
.testimonial-card .author-info h6 { margin: 0; color: var(--secondary); font-weight: 700; }
.testimonial-card .author-info small { color: var(--gray-500); }

/* ============ FAQ ACCORDION ============ */
.faq-item {
    background: #fff;
    border: 2px solid var(--gray-100);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.open {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--secondary);
    font-size: 15px;
    transition: var(--transition);
}
.faq-question:hover { background: var(--gray-50); }
.faq-question .icon-toggle {
    width: 32px;
    height: 32px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}
.faq-item.open .icon-toggle {
    background: var(--primary);
    color: #fff;
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s;
    padding: 0 25px;
    color: var(--gray-600);
    line-height: 1.7;
}
.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 25px 22px;
}

/* ============ SERVICE CARD ============ */
.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.service-card .service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.25);
}
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-8deg);
}
.service-card h5 {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 12px;
}
.service-card p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ============ BRANDS SECTION ============ */
.brands-section {
    background: #fff;
    padding: 50px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}
.brand-logo {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 25px 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}
.brand-logo:hover {
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    border-color: var(--primary);
}
.brand-logo span {
    font-weight: 700;
    color: var(--gray-600);
    font-size: 16px;
    transition: var(--transition);
}
.brand-logo:hover span {
    color: var(--primary);
}

/* ============ NEWSLETTER SECTION ============ */
.newsletter-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.newsletter-section::before {
    content: '\f1d8';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 250px;
    opacity: 0.05;
}
.newsletter-form {
    display: flex;
    max-width: 500px;
    background: #fff;
    border-radius: 50px;
    padding: 6px;
    margin-top: 20px;
}
.newsletter-form input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    background: transparent;
    color: var(--secondary);
    outline: none;
    border-radius: 50px;
}
.newsletter-form button {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
}
.newsletter-form button:hover { transform: scale(1.05); }

/* Responsive efektler */
@media (max-width: 768px) {
    .weather-toggle { top: 15px; right: 15px; }
    .weather-toggle button { padding: 6px 10px; font-size: 11px; }
    .temp-value { font-size: 32px; }
}
