/*
Theme Name: Smart Elementor Theme
Theme URI: https://example.com
Author: Your Name
Description: WordPress theme with Summer/Winter/Spring presets + dark mode.
Version: 1.3
License: GPL v2 or later
Text Domain: smart-elementor
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    padding: 20px 0;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.site-header .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.site-branding a {
    text-decoration: none;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
}

.dark-mode-toggle {
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 50px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.site-footer {
    padding: 20px 0;
    background: #f5f5f5;
    border-top: 1px solid #ddd;
    margin-top: 40px;
    text-align: center;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
    background: #000;
    color: #fff;
    padding: 10px;
}

a:focus, button:focus {
    outline: 2px solid var(--smart-primary, #007cba);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        justify-content: center;
    }
    .container {
        padding: 0 15px;
    }
}

body.dark-mode {
    background: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .site-header,
body.dark-mode .site-footer {
    background: #2d2d2d;
    border-color: #444;
}

body.dark-mode .site-branding a,
body.dark-mode nav a {
    color: var(--smart-primary, #66b3ff);
}

body.dark-mode .dark-mode-toggle {
    border-color: #666;
    color: #fff;
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background: #2d2d2d;
    color: #e0e0e0;
    border-color: #555;
}
