/*
Theme Name: Flavor Weather Pro
Theme URI: https://flavor-weather.com
Author: Flavor Team
Author URI: https://flavor-weather.com
Description: Beautiful weather theme with Samsung Weather design, AccuWeather style, animated backgrounds, glassmorphism cards, and full support for Flavor Weather Samsung Pro plugin.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flavor-weather-theme
Tags: weather, one-column, custom-menu, featured-images, theme-options, translation-ready

Flavor Weather Pro - Premium Weather Theme
*/

/* ========================================
   CSS Variables & Design Tokens
   ======================================== */
:root {
    /* Brand Colors */
    --fw-primary: #f05514;
    --fw-primary-light: #ff7a45;
    --fw-primary-dark: #c93d00;
    --fw-secondary: #1a73e8;
    --fw-secondary-light: #4dabf5;
    --fw-secondary-dark: #0d47a1;
    
    /* Neutrals */
    --fw-white: #ffffff;
    --fw-gray-50: #f8fafc;
    --fw-gray-100: #f1f5f9;
    --fw-gray-200: #e2e8f0;
    --fw-gray-300: #cbd5e1;
    --fw-gray-400: #94a3b8;
    --fw-gray-500: #64748b;
    --fw-gray-600: #475569;
    --fw-gray-700: #334155;
    --fw-gray-800: #1e293b;
    --fw-gray-900: #0f172a;
    
    /* Weather Colors */
    --fw-sunny: #FFD54F;
    --fw-cloudy: #90A4AE;
    --fw-rainy: #42A5F5;
    --fw-stormy: #5C6BC0;
    --fw-snowy: #E3F2FD;
    
    /* Gradients */
    --fw-gradient-sky: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --fw-gradient-sunset: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --fw-gradient-ocean: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --fw-gradient-night: linear-gradient(135deg, #0c1445 0%, #1a237e 50%, #283593 100%);
    --fw-gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    
    /* Typography */
    --fw-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --fw-font-display: 'Poppins', var(--fw-font-sans);
    
    /* Spacing */
    --fw-space-xs: 4px;
    --fw-space-sm: 8px;
    --fw-space-md: 16px;
    --fw-space-lg: 24px;
    --fw-space-xl: 32px;
    --fw-space-2xl: 48px;
    --fw-space-3xl: 64px;
    --fw-space-4xl: 96px;
    
    /* Border Radius */
    --fw-radius-sm: 8px;
    --fw-radius-md: 12px;
    --fw-radius-lg: 16px;
    --fw-radius-xl: 24px;
    --fw-radius-2xl: 32px;
    --fw-radius-full: 9999px;
    
    /* Shadows */
    --fw-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --fw-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --fw-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --fw-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --fw-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --fw-shadow-glow: 0 0 40px rgba(240, 85, 20, 0.3);
    
    /* Glass */
    --fw-glass-bg: rgba(255, 255, 255, 0.1);
    --fw-glass-border: rgba(255, 255, 255, 0.2);
    --fw-glass-blur: blur(20px);
    
    /* Transitions */
    --fw-transition-fast: 150ms ease;
    --fw-transition-base: 300ms ease;
    --fw-transition-slow: 500ms ease;
    --fw-transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--fw-font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--fw-gray-800);
    background: var(--fw-gray-50);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--fw-primary);
    text-decoration: none;
    transition: color var(--fw-transition-fast);
}

a:hover {
    color: var(--fw-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--fw-font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--fw-gray-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
}

/* ========================================
   Layout Utilities
   ======================================== */
.fw-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--fw-space-lg);
}

.fw-container-wide {
    max-width: 1600px;
}

.fw-container-narrow {
    max-width: 900px;
}

.fw-section {
    padding: var(--fw-space-4xl) 0;
}

.fw-section-sm {
    padding: var(--fw-space-2xl) 0;
}

.fw-flex {
    display: flex;
}

.fw-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fw-grid {
    display: grid;
    gap: var(--fw-space-lg);
}

.fw-text-center {
    text-align: center;
}

/* ========================================
   Header
   ======================================== */
.fw-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--fw-gray-200);
    transition: all var(--fw-transition-base);
}

.fw-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--fw-shadow-md);
}

.fw-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.fw-logo {
    display: flex;
    align-items: center;
    gap: var(--fw-space-sm);
    font-family: var(--fw-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fw-gray-900);
}

.fw-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--fw-gradient-ocean);
    border-radius: var(--fw-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.fw-logo span {
    color: var(--fw-primary);
}

/* Navigation */
.fw-nav {
    display: flex;
    align-items: center;
    gap: var(--fw-space-xl);
}

.fw-nav-menu {
    display: flex;
    list-style: none;
    gap: var(--fw-space-lg);
}

.fw-nav-menu a {
    display: flex;
    align-items: center;
    gap: var(--fw-space-xs);
    padding: var(--fw-space-sm) var(--fw-space-md);
    color: var(--fw-gray-600);
    font-weight: 500;
    border-radius: var(--fw-radius-md);
    transition: all var(--fw-transition-fast);
}

.fw-nav-menu a:hover,
.fw-nav-menu .current-menu-item a {
    color: var(--fw-primary);
    background: rgba(240, 85, 20, 0.1);
}

/* Header Search */
.fw-header-search {
    display: flex;
    align-items: center;
    background: var(--fw-gray-100);
    border-radius: var(--fw-radius-full);
    padding: var(--fw-space-sm) var(--fw-space-md);
    gap: var(--fw-space-sm);
    transition: all var(--fw-transition-fast);
}

.fw-header-search:focus-within {
    background: var(--fw-white);
    box-shadow: 0 0 0 3px rgba(240, 85, 20, 0.2);
}

.fw-header-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    width: 200px;
    color: var(--fw-gray-800);
}

.fw-header-search input::placeholder {
    color: var(--fw-gray-400);
}

.fw-header-search svg {
    width: 18px;
    height: 18px;
    color: var(--fw-gray-400);
}

/* Mobile Menu Toggle */
.fw-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: var(--fw-space-sm);
    cursor: pointer;
}

.fw-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--fw-gray-800);
    margin: 6px 0;
    transition: all var(--fw-transition-fast);
}

/* ========================================
   Hero Section
   ======================================== */
.fw-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--fw-gradient-sky);
    padding-top: 72px;
}

.fw-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

/* Animated Clouds */
.fw-cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 100px;
    filter: blur(1px);
}

.fw-cloud::before,
.fw-cloud::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

.fw-cloud-1 {
    width: 200px;
    height: 60px;
    top: 15%;
    left: -200px;
    animation: cloudFloat 35s linear infinite;
}

.fw-cloud-1::before {
    width: 80px;
    height: 80px;
    top: -40px;
    left: 30px;
}

.fw-cloud-1::after {
    width: 100px;
    height: 100px;
    top: -50px;
    left: 80px;
}

.fw-cloud-2 {
    width: 150px;
    height: 45px;
    top: 25%;
    left: -150px;
    animation: cloudFloat 45s linear infinite 10s;
}

.fw-cloud-2::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 20px;
}

.fw-cloud-2::after {
    width: 70px;
    height: 70px;
    top: -35px;
    left: 60px;
}

.fw-cloud-3 {
    width: 180px;
    height: 55px;
    top: 40%;
    left: -180px;
    animation: cloudFloat 40s linear infinite 20s;
    opacity: 0.7;
}

.fw-cloud-3::before {
    width: 70px;
    height: 70px;
    top: -35px;
    left: 25px;
}

.fw-cloud-3::after {
    width: 85px;
    height: 85px;
    top: -45px;
    left: 70px;
}

@keyframes cloudFloat {
    from { transform: translateX(0); }
    to { transform: translateX(calc(100vw + 300px)); }
}

/* Sun Animation */
.fw-sun-hero {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 150px;
    height: 150px;
}

.fw-sun-hero-core {
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #FFF9C4 0%, #FFEE58 50%, #FFD54F 100%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 0 30px 15px rgba(255, 238, 88, 0.4),
        0 0 60px 30px rgba(255, 213, 79, 0.3),
        0 0 100px 50px rgba(255, 202, 40, 0.2);
    animation: sunPulse 4s ease-in-out infinite;
}

.fw-sun-hero-rays {
    position: absolute;
    width: 150px;
    height: 150px;
    top: 0;
    left: 0;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 255, 255, 0.2) 10deg, transparent 20deg);
    border-radius: 50%;
    animation: sunRotate 20s linear infinite;
}

@keyframes sunPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes sunRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Hero Content */
.fw-hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    color: var(--fw-white);
}

.fw-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--fw-space-sm);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: var(--fw-space-sm) var(--fw-space-md);
    border-radius: var(--fw-radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--fw-space-lg);
}

.fw-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--fw-space-lg);
    color: var(--fw-white);
}

.fw-hero-title span {
    display: block;
    background: linear-gradient(90deg, #FFD54F, #FF8A65);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fw-hero-desc {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--fw-space-xl);
    line-height: 1.7;
}

/* Hero Search Box */
.fw-hero-search {
    background: var(--fw-white);
    border-radius: var(--fw-radius-xl);
    padding: var(--fw-space-sm);
    display: flex;
    align-items: center;
    box-shadow: var(--fw-shadow-2xl);
    max-width: 550px;
}

.fw-hero-search-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--fw-space-md);
    padding: var(--fw-space-md) var(--fw-space-lg);
}

.fw-hero-search-input svg {
    width: 24px;
    height: 24px;
    color: var(--fw-gray-400);
    flex-shrink: 0;
}

.fw-hero-search-input input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    color: var(--fw-gray-800);
}

.fw-hero-search-input input::placeholder {
    color: var(--fw-gray-400);
}

.fw-hero-search-btn {
    background: var(--fw-primary);
    color: var(--fw-white);
    border: none;
    padding: var(--fw-space-md) var(--fw-space-xl);
    border-radius: var(--fw-radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--fw-transition-fast);
    white-space: nowrap;
}

.fw-hero-search-btn:hover {
    background: var(--fw-primary-dark);
    transform: translateY(-2px);
}

/* Popular Cities */
.fw-hero-popular {
    display: flex;
    flex-wrap: wrap;
    gap: var(--fw-space-sm);
    margin-top: var(--fw-space-lg);
}

.fw-hero-popular-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-right: var(--fw-space-sm);
}

.fw-hero-popular a {
    background: rgba(255, 255, 255, 0.2);
    color: var(--fw-white);
    padding: var(--fw-space-xs) var(--fw-space-md);
    border-radius: var(--fw-radius-full);
    font-size: 0.875rem;
    transition: all var(--fw-transition-fast);
}

.fw-hero-popular a:hover {
    background: var(--fw-white);
    color: var(--fw-primary);
}

/* Hero Character */
.fw-hero-character {
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 300px;
    height: 400px;
    pointer-events: none;
    z-index: 5;
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ========================================
   Weather Cards Grid
   ======================================== */
.fw-cities-section {
    background: var(--fw-white);
    position: relative;
}

.fw-cities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: var(--fw-gradient-sky);
    transform: translateY(-50%);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

.fw-section-header {
    text-align: center;
    margin-bottom: var(--fw-space-3xl);
    position: relative;
    z-index: 1;
}

.fw-section-header h2 {
    margin-bottom: var(--fw-space-md);
}

.fw-section-header p {
    color: var(--fw-gray-500);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Weather Card */
.fw-weather-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--fw-space-xl);
}

.fw-weather-card {
    background: var(--fw-white);
    border-radius: var(--fw-radius-xl);
    overflow: hidden;
    box-shadow: var(--fw-shadow-lg);
    transition: all var(--fw-transition-base);
    position: relative;
}

.fw-weather-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--fw-shadow-2xl);
}

.fw-weather-card-header {
    padding: var(--fw-space-xl);
    background: var(--fw-gradient-ocean);
    color: var(--fw-white);
    position: relative;
    overflow: hidden;
}

.fw-weather-card-header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.fw-weather-card-city {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--fw-space-xs);
}

.fw-weather-card-country {
    font-size: 0.9rem;
    opacity: 0.85;
}

.fw-weather-card-body {
    padding: var(--fw-space-xl);
}

.fw-weather-card-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--fw-space-lg);
}

.fw-weather-card-temp {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--fw-gray-800);
    line-height: 1;
}

.fw-weather-card-icon {
    font-size: 4rem;
    line-height: 1;
}

.fw-weather-card-condition {
    color: var(--fw-gray-500);
    margin-bottom: var(--fw-space-lg);
}

.fw-weather-card-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--fw-space-md);
    padding-top: var(--fw-space-lg);
    border-top: 1px solid var(--fw-gray-200);
}

.fw-weather-card-detail {
    text-align: center;
}

.fw-weather-card-detail-label {
    font-size: 0.75rem;
    color: var(--fw-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--fw-space-xs);
}

.fw-weather-card-detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--fw-gray-800);
}

.fw-weather-card-footer {
    padding: 0 var(--fw-space-xl) var(--fw-space-xl);
}

.fw-weather-card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--fw-space-sm);
    padding: var(--fw-space-md);
    background: rgba(240, 85, 20, 0.1);
    color: var(--fw-primary);
    border-radius: var(--fw-radius-lg);
    font-weight: 600;
    transition: all var(--fw-transition-fast);
}

.fw-weather-card-link:hover {
    background: var(--fw-primary);
    color: var(--fw-white);
}

/* ========================================
   Features Section
   ======================================== */
.fw-features {
    background: var(--fw-gray-900);
    color: var(--fw-white);
    position: relative;
    overflow: hidden;
}

.fw-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(240, 85, 20, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(26, 115, 232, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.fw-features .fw-section-header h2 {
    color: var(--fw-white);
}

.fw-features .fw-section-header p {
    color: var(--fw-gray-400);
}

.fw-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--fw-space-xl);
    position: relative;
    z-index: 1;
}

.fw-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--fw-radius-xl);
    padding: var(--fw-space-xl);
    text-align: center;
    transition: all var(--fw-transition-base);
}

.fw-feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(240, 85, 20, 0.3);
}

.fw-feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--fw-space-lg);
    background: var(--fw-gradient-ocean);
    border-radius: var(--fw-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.fw-feature-card:nth-child(2) .fw-feature-icon {
    background: var(--fw-gradient-warm);
}

.fw-feature-card:nth-child(3) .fw-feature-icon {
    background: var(--fw-gradient-sky);
}

.fw-feature-card:nth-child(4) .fw-feature-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.fw-feature-card:nth-child(5) .fw-feature-icon {
    background: var(--fw-gradient-sunset);
}

.fw-feature-card:nth-child(6) .fw-feature-icon {
    background: var(--fw-gradient-night);
}

.fw-feature-title {
    font-size: 1.25rem;
    margin-bottom: var(--fw-space-sm);
    color: var(--fw-white);
}

.fw-feature-desc {
    color: var(--fw-gray-400);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   Continents Explorer
   ======================================== */
.fw-continents {
    background: linear-gradient(180deg, var(--fw-gray-50) 0%, var(--fw-white) 100%);
}

.fw-continents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--fw-space-lg);
}

.fw-continent-card {
    background: var(--fw-white);
    border-radius: var(--fw-radius-xl);
    padding: var(--fw-space-xl);
    text-align: center;
    box-shadow: var(--fw-shadow-md);
    transition: all var(--fw-transition-base);
    text-decoration: none;
    color: var(--fw-gray-800);
}

.fw-continent-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--fw-shadow-xl);
    color: var(--fw-primary);
}

.fw-continent-emoji {
    font-size: 3rem;
    margin-bottom: var(--fw-space-md);
    display: block;
}

.fw-continent-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--fw-space-xs);
}

.fw-continent-count {
    font-size: 0.875rem;
    color: var(--fw-gray-500);
}

/* ========================================
   CTA / Newsletter Section
   ======================================== */
.fw-cta {
    background: var(--fw-gradient-ocean);
    color: var(--fw-white);
    text-align: center;
}

.fw-cta h2 {
    color: var(--fw-white);
    margin-bottom: var(--fw-space-md);
}

.fw-cta p {
    opacity: 0.9;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto var(--fw-space-xl);
}

.fw-newsletter-form {
    display: flex;
    gap: var(--fw-space-md);
    max-width: 500px;
    margin: 0 auto;
}

.fw-newsletter-form input {
    flex: 1;
    padding: var(--fw-space-md) var(--fw-space-lg);
    border: none;
    border-radius: var(--fw-radius-lg);
    font-size: 1rem;
    outline: none;
}

.fw-newsletter-form button {
    background: var(--fw-primary);
    color: var(--fw-white);
    border: none;
    padding: var(--fw-space-md) var(--fw-space-xl);
    border-radius: var(--fw-radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--fw-transition-fast);
    white-space: nowrap;
}

.fw-newsletter-form button:hover {
    background: var(--fw-primary-dark);
    transform: translateY(-2px);
}

/* ========================================
   Footer
   ======================================== */
.fw-footer {
    background: var(--fw-gray-900);
    color: var(--fw-gray-400);
    padding: var(--fw-space-4xl) 0 var(--fw-space-xl);
}

.fw-footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--fw-space-3xl);
    margin-bottom: var(--fw-space-3xl);
}

.fw-footer-brand {
    max-width: 350px;
}

.fw-footer-logo {
    display: flex;
    align-items: center;
    gap: var(--fw-space-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fw-white);
    margin-bottom: var(--fw-space-lg);
}

.fw-footer-logo span {
    color: var(--fw-primary);
}

.fw-footer-desc {
    line-height: 1.7;
    margin-bottom: var(--fw-space-lg);
}

.fw-footer-social {
    display: flex;
    gap: var(--fw-space-md);
}

.fw-footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--fw-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fw-gray-400);
    transition: all var(--fw-transition-fast);
}

.fw-footer-social a:hover {
    background: var(--fw-primary);
    color: var(--fw-white);
}

.fw-footer-column h4 {
    color: var(--fw-white);
    font-size: 1.1rem;
    margin-bottom: var(--fw-space-lg);
}

.fw-footer-links {
    list-style: none;
}

.fw-footer-links li {
    margin-bottom: var(--fw-space-sm);
}

.fw-footer-links a {
    color: var(--fw-gray-400);
    transition: color var(--fw-transition-fast);
}

.fw-footer-links a:hover {
    color: var(--fw-primary);
}

.fw-footer-bottom {
    padding-top: var(--fw-space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--fw-space-md);
}

.fw-footer-copyright {
    font-size: 0.875rem;
}

.fw-footer-legal {
    display: flex;
    gap: var(--fw-space-lg);
    font-size: 0.875rem;
}

.fw-footer-legal a {
    color: var(--fw-gray-400);
}

.fw-footer-legal a:hover {
    color: var(--fw-white);
}

/* ========================================
   Buttons
   ======================================== */
.fw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--fw-space-sm);
    padding: var(--fw-space-md) var(--fw-space-xl);
    border-radius: var(--fw-radius-lg);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--fw-transition-fast);
    border: none;
}

.fw-btn-primary {
    background: var(--fw-primary);
    color: var(--fw-white);
}

.fw-btn-primary:hover {
    background: var(--fw-primary-dark);
    color: var(--fw-white);
    transform: translateY(-2px);
    box-shadow: var(--fw-shadow-lg);
}

.fw-btn-secondary {
    background: var(--fw-gray-100);
    color: var(--fw-gray-800);
}

.fw-btn-secondary:hover {
    background: var(--fw-gray-200);
    color: var(--fw-gray-900);
}

.fw-btn-outline {
    background: transparent;
    border: 2px solid var(--fw-primary);
    color: var(--fw-primary);
}

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

.fw-btn-lg {
    padding: var(--fw-space-lg) var(--fw-space-2xl);
    font-size: 1.1rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .fw-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .fw-hero-character {
        width: 200px;
        height: 280px;
        right: 2%;
    }
}

@media (max-width: 768px) {
    :root {
        --fw-space-4xl: 64px;
        --fw-space-3xl: 48px;
    }
    
    .fw-header-inner {
        height: 64px;
    }
    
    .fw-nav-menu,
    .fw-header-search {
        display: none;
    }
    
    .fw-menu-toggle {
        display: block;
    }
    
    .fw-hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .fw-hero-content {
        text-align: center;
    }
    
    .fw-hero-search {
        flex-direction: column;
        padding: var(--fw-space-md);
    }
    
    .fw-hero-search-input {
        width: 100%;
    }
    
    .fw-hero-search-btn {
        width: 100%;
    }
    
    .fw-hero-popular {
        justify-content: center;
    }
    
    .fw-hero-character {
        display: none;
    }
    
    .fw-sun-hero {
        width: 100px;
        height: 100px;
        top: 15%;
        right: 5%;
    }
    
    .fw-sun-hero-core {
        width: 50px;
        height: 50px;
    }
    
    .fw-weather-grid {
        grid-template-columns: 1fr;
    }
    
    .fw-footer-grid {
        grid-template-columns: 1fr;
        gap: var(--fw-space-2xl);
    }
    
    .fw-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .fw-newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .fw-container {
        padding: 0 var(--fw-space-md);
    }
    
    .fw-hero-title {
        font-size: 2rem;
    }
    
    .fw-weather-card-temp {
        font-size: 2.5rem;
    }
    
    .fw-weather-card-icon {
        font-size: 3rem;
    }
}

/* ========================================
   Mobile Navigation
   ======================================== */
.fw-mobile-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--fw-white);
    z-index: 999;
    padding: var(--fw-space-xl);
    transform: translateX(100%);
    transition: transform var(--fw-transition-base);
}

.fw-mobile-nav.active {
    transform: translateX(0);
}

.fw-mobile-nav ul {
    list-style: none;
}

.fw-mobile-nav li {
    border-bottom: 1px solid var(--fw-gray-200);
}

.fw-mobile-nav a {
    display: block;
    padding: var(--fw-space-md) 0;
    font-size: 1.1rem;
    color: var(--fw-gray-800);
}

.fw-mobile-nav a:hover {
    color: var(--fw-primary);
}

/* ========================================
   Loading & Animation
   ======================================== */
.fw-skeleton {
    background: linear-gradient(90deg, var(--fw-gray-200) 25%, var(--fw-gray-100) 50%, var(--fw-gray-200) 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s ease-in-out infinite;
    border-radius: var(--fw-radius-sm);
}

@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.fw-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   Plugin Support: Single Weather Page Override
   ======================================== */
body.single-fws_location .fw-header {
    background: transparent;
    border-bottom: none;
}

body.single-fws_location .fw-header.scrolled {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

body.single-fws_location .fw-logo,
body.single-fws_location .fw-nav-menu a {
    color: var(--fw-white);
}

body.single-fws_location .fw-header-search {
    background: rgba(255, 255, 255, 0.2);
}

body.single-fws_location .fw-header-search input {
    color: var(--fw-white);
}

body.single-fws_location .fw-header-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

body.single-fws_location .site-content,
body.single-fws_location .fw-main {
    padding-top: 0;
}

/* ========================================
   Accessibility
   ======================================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

:focus-visible {
    outline: 2px solid var(--fw-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
