/* ================================================================
   InnDojo Shared Styles
   Version: 1.0 | Updated: March 2026
   ================================================================ */

/* Variables */
:root {
    --color-primary: #1a1a2e;
    --color-secondary: #A89A8C;
    --color-accent: #c9a959;
    --color-text: #2d2d2d;
    --color-text-light: #666;
    --color-bg: #fafafa;
    --color-white: #ffffff;
    --color-red: #dc3545;
    --color-green: #28a745;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-white);
}

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

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

/* ================================================================
   Navigation
   ================================================================ */
nav {
    background: var(--color-white);
    padding: 16px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img { height: 70px; }

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--color-accent); }

/* Hamburger Menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) { opacity: 0; }

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================================================
   Buttons
   ================================================================ */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #b8993f;
    transform: translateY(-2px);
}

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

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

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

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* ================================================================
   Section Defaults
   ================================================================ */
.section-heading {
    font-family: var(--font-heading);
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-primary);
}

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

/* ================================================================
   Trust Badges
   ================================================================ */
.trust-badges {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.trust-badge-dark {
    color: var(--color-text-light);
}

/* ================================================================
   Footer
   ================================================================ */
footer {
    padding: 60px 0 30px;
    background: #111;
    color: rgba(255,255,255,0.6);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
}

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

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

.footer-veteran {
    text-align: center;
    padding-top: 16px;
    font-size: 13px;
    opacity: 0.7;
}

/* ================================================================
   Cards
   ================================================================ */
.card {
    padding: 40px;
    background: var(--color-bg);
    border-radius: 12px;
    border-left: 4px solid var(--color-accent);
}

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

.card p {
    color: var(--color-text-light);
    font-size: 16px;
}

/* Feature cards (icon left) */
.feature-card {
    padding: 30px;
    background: var(--color-bg);
    border-radius: 12px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-card .icon {
    font-size: 36px;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 15px;
}

/* ================================================================
   CTA Section
   ================================================================ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2d2d4a 100%);
    color: var(--color-white);
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    font-size: 18px;
    padding: 18px 40px;
}

.cta-note {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.7;
}

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        z-index: 999;
        padding-top: 40px;
        overflow-y: auto;
    }

    .nav-links.open { display: flex; }

    .nav-links a {
        font-size: 18px;
        padding: 16px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links a:last-child {
        border-bottom: none;
        margin-top: 16px;
    }

    .logo img { height: 50px; }

    .section-heading { font-size: 28px; }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-section h2 { font-size: 28px; }
    .cta-section .btn-primary { font-size: 16px; padding: 16px 32px; }
}
