/* Kelvin Strauss Investment Consulting - Balanced Horizon Architecture */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Root Variables */
:root {
    --primary: #0F2439;
    --secondary: #5B8A8C;
    --tertiary: #9D7A54;
    --accent: #C4785C;
    --bg-alabaster: #FAFAF9;
    --bg-mist: #F0F4F5;
    --text-primary: #1C1917;
    --text-secondary: #57534E;
}

/* Global Styles */
body {
    font-family: 'Nunito Sans', sans-serif;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-alabaster) 0%, var(--bg-mist) 100%);
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--primary);
}

.caption-text {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
}

/* Header Styles */
.header-nav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(15, 36, 57, 0.08);
}

.nav-link {
    color: var(--text-secondary);
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

/* Mobile Navigation */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    display: block;
    transform: translateX(0);
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-overlay.active {
    display: block;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.burger-menu span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .desktop-nav {
        display: none;
    }
}

/* Button Styles */
.btn-primary {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background: #B86B50;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 120, 92, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

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

/* Card Styles */
.service-card {
    background: white;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(15, 36, 57, 0.08);
    transition: all 0.2s ease;
    border: 1px solid rgba(91, 138, 140, 0.1);
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(15, 36, 57, 0.12);
    transform: translateY(-2px);
}

.testimonial-card {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(15, 36, 57, 0.06);
    border-left: 3px solid var(--accent);
}

/* Avatar Styles */
.avatar-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--tertiary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 20px;
}

/* Rating Stars */
.star-rating {
    color: var(--tertiary);
}

.star-rating .filled {
    color: #F59E0B;
}

/* Section Dividers */
.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--tertiary));
    margin: 0 auto 32px;
}

/* Footer Styles */
footer {
    background: var(--primary);
    color: white;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

footer a:hover {
    color: white;
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(91, 138, 140, 0.2);
    border-radius: 6px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    transition: border-color 0.2s ease;
    background: white;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--secondary);
}

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

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
}

.cookie-modal.show {
    display: block;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.2s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.2s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--secondary);
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

input:disabled + .toggle-slider {
    background-color: var(--primary);
    cursor: not-allowed;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 16px 24px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: none;
}

.notification.show {
    display: block;
}

/* FAQ Accordion */
.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid rgba(91, 138, 140, 0.1);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: var(--bg-mist);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 36, 57, 0.08);
}

.comparison-table th {
    background: var(--primary);
    color: white;
    padding: 16px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(91, 138, 140, 0.1);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: var(--bg-mist);
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .cookie-modal {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    
    .notification {
        right: 10px;
        left: 10px;
    }
}

/* Map Container */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(15, 36, 57, 0.08);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Stats Counter */
.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Cormorant Garamond', serif;
}

/* Process Steps */
.process-step {
    position: relative;
    padding-left: 50px;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 40px;
    bottom: -20px;
    width: 2px;
    background: linear-gradient(180deg, var(--secondary), transparent);
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Bank Grid */
.bank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.bank-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(91, 138, 140, 0.1);
    font-weight: 600;
    color: var(--text-primary);
}

/* Pricing Card */
.pricing-card {
    background: white;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(15, 36, 57, 0.08);
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.pricing-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(15, 36, 57, 0.12);
}

.pricing-card.featured {
    border-color: var(--accent);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Recommended';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Cormorant Garamond', serif;
}

/* Achievement Badge */
.achievement-badge {
    background: linear-gradient(135deg, var(--tertiary), var(--accent));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}

/* Browser Instructions */
.browser-instructions {
    background: var(--bg-mist);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    border-left: 3px solid var(--secondary);
}

.browser-instructions h4 {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.browser-instructions .content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.browser-instructions.active .content {
    max-height: 500px;
    margin-top: 16px;
}
