/* So Cal LNC - Main Stylesheet */
/* Inspired by Melrose Law design with dark navy/gold luxury aesthetic */

/* ============================================
   CSS Variables & Reset
   ============================================ */

:root {
    /* Colors */
    --navy-dark: #0a0a1f;
    --navy-medium: #1a1a3e;
    --navy-light: #2a2a5e;
    --gold: #d4af37;
    --gold-light: #e6c968;
    --gold-dark: #b8941f;
    --white: #ffffff;
    --gray-light: #e5e7eb;
    --gray-medium: #9ca3af;
    --gray-dark: #4b5563;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--white);
    background-color: var(--navy-dark);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-light);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--gold-light);
}

/* ============================================
   Layout & Container
   ============================================ */

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

section {
    padding: var(--section-padding);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--navy-dark);
}

.btn-primary:hover {
    background-color: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--gold);
    color: var(--gold);
}

.btn-secondary:hover {
    background-color: var(--gold);
    color: var(--navy-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

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

.btn-large {
    padding: 18px 42px;
    font-size: 18px;
}

/* ============================================
   Header & Navigation
   ============================================ */

.site-header {
    background-color: var(--navy-medium);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo-img {
    height: 60px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}

.phone-link:hover {
    color: var(--gold-light);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--gold);
    transition: var(--transition-smooth);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border: 1px solid var(--gold);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--gray-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-light);
    font-size: 15px;
}

.feature-icon {
    color: var(--gold);
    flex-shrink: 0;
}

/* ============================================
   Section Headers
   ============================================ */

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-medium);
}

/* ============================================
   Support Section
   ============================================ */

.support-section {
    background-color: var(--navy-medium);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.support-card {
    background-color: var(--navy-dark);
    padding: 40px 30px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition-smooth);
}

.support-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.support-icon {
    color: var(--gold);
    margin-bottom: 20px;
}

.support-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.support-card p {
    color: var(--gray-light);
    line-height: 1.7;
}

/* ============================================
   Why Choose Section
   ============================================ */

.why-choose {
    background-color: var(--navy-dark);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.why-card {
    padding: 40px;
    background: linear-gradient(135deg, var(--navy-medium) 0%, var(--navy-light) 100%);
    border-left: 4px solid var(--gold);
    position: relative;
}

.why-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.2);
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
}

.why-card h3 {
    font-size: 1.75rem;
    color: var(--gold);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.why-card p {
    color: var(--gray-light);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ============================================
   Services Preview
   ============================================ */

.services-preview {
    background-color: var(--navy-medium);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background-color: var(--navy-dark);
    padding: 40px 30px;
    text-align: center;
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition-smooth);
    position: relative;
}

.service-card.featured {
    border-color: var(--gold);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--gold);
    color: var(--navy-dark);
    padding: 6px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25);
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 15px;
}

.service-card > p {
    color: var(--gray-light);
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    text-align: left;
    margin: 25px 0;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-features li {
    color: var(--gray-light);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

.service-price {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--gold);
    font-weight: 700;
    margin: 25px 0;
}

.service-card .btn {
    margin-top: 20px;
}

.services-cta {
    text-align: center;
}

/* ============================================
   Benefits Section
   ============================================ */

.benefits-section {
    background-color: var(--navy-dark);
    padding: 60px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--gold);
    transition: var(--transition-smooth);
}

.benefit-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.benefit-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.benefit-text h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.benefit-text p {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--navy-medium) 0%, var(--navy-dark) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content > p {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 40px;
}

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

.cta-note {
    color: var(--gray-medium);
    font-size: 0.95rem;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    background-color: #050510;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

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

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-col a {
    color: var(--gray-light);
    transition: var(--transition-smooth);
}

.footer-col a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--gray-light);
}

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

.footer-bottom p {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 0.85rem;
    font-style: italic;
    max-width: 800px;
    margin: 20px auto 0;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .support-grid,
    .why-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .why-number {
        font-size: 3rem;
        top: 15px;
        right: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col:first-child {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .header-cta {
        flex-direction: column;
        gap: 10px;
    }
    
    .phone-link {
        font-size: 16px;
    }
}