/* ===========================
   RESET & BASE
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #1a2332;
    --color-secondary: #2c3e50;
    --color-accent: #27ae60;
    --color-accent-gold: #f39c12;
    --color-text: #333;
    --color-text-light: #666;
    --color-bg: #fff;
    --color-bg-light: #f8f9fa;
    --color-border: #e0e0e0;
    --color-success: #27ae60;
    --color-error: #e74c3c;
    --max-width: 1200px;
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    font-size: 16px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
.main-header {
    background: var(--color-primary);
    color: white;
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo a {
    text-decoration: none !important;
}

.logo a:hover {
    text-decoration: none !important;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo-text .highlight {
    color: var(--color-accent);
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.desktop-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    background: var(--color-accent);
    color: white;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background: var(--color-secondary);
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav.active {
    max-height: 400px;
}

.mobile-nav ul {
    list-style: none;
    padding: 20px 0;
}

.mobile-nav li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: var(--color-accent);
}

/* ===========================
   RESPONSIVE HEADER
   =========================== */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

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

.btn-secondary:hover {
    background: var(--color-bg-light);
    transform: translateY(-2px);
}

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

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

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   SECTIONS
   =========================== */
section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--color-primary);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 700px;
    margin: -30px auto 50px;
}

/* ===========================
   CARDS
   =========================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--color-accent);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.card p {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ===========================
   FORMS
   =========================== */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--color-border);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

.form-message {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===========================
   COOKIE BANNER
   =========================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    color: white;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-banner button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-accept {
    background: var(--color-accent);
    color: white;
}

.btn-accept:hover {
    background: #229954;
}

.btn-settings,
.btn-decline {
    background: white;
    color: var(--color-primary);
}

.btn-settings:hover,
.btn-decline:hover {
    background: var(--color-bg-light);
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
}

.cookie-modal h2 {
    margin-bottom: 25px;
    color: var(--color-primary);
}

.cookie-option {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--color-bg-light);
    border-radius: 6px;
}

.cookie-option label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.cookie-description {
    font-size: 14px;
    color: var(--color-text-light);
    margin-left: 30px;
}

/* ===========================
   FOOTER
   =========================== */
.main-footer {
    background: var(--color-primary);
    color: white;
    padding: 60px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
    color: var(--color-accent);
}

.footer-col p {
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-cta {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: var(--color-accent);
    color: white !important;
    border-radius: 4px;
    font-weight: 600;
}

.footer-cta:hover {
    background: #229954;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero .subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.bg-light {
    background: var(--color-bg-light);
}