/* Lawyer Link Alberta - Luxe/Influencer Style (Dark Theme) */
/* Retaining Canadian/Alberta Colors: Navy, Burgundy, Gold */

:root {
    /* Core Brand Colors - Dark Mode Base */
    --navy-deep: #0A2540; /* Main Background */
    --navy-light: #163A5F; /* Card Background */
    --burgundy-rich: #8B1538; /* Accent */
    --gold-warm: #D4AF37; /* Primary Text/Accent */
    
    /* Text Colors */
    --text-main: #FFFFFF;
    --text-muted: #E2E8F0;
    --text-dark: #0A2540; /* For light buttons */
    
    /* Accents */
    --maple-red: #C8102E; /* Calls to action */
    --alberta-blue: #003DA5;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

body {
    background-color: var(--navy-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Header - Clean & Luxe */
header {
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2); /* Subtle Gold Border */
    padding: 1rem 0;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

.nav-cta {
    background: var(--gold-warm);
    color: var(--navy-deep) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0; /* Sharp corners for Luxe feel */
    font-weight: 700 !important;
    transition: transform 0.3s !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    background: #fff;
}

/* Hero Section - Bold & Impactful */
.hero {
    padding: 8rem 0;
    text-align: center;
    background: radial-gradient(circle at center, var(--navy-light) 0%, var(--navy-deep) 100%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMSIgY3k9IjEiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
    opacity: 0.3;
}

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

.hero-badge {
    display: inline-block;
    color: var(--gold-warm);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid var(--gold-warm);
    padding: 0.5rem 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--gold-warm);
    -webkit-text-fill-color: var(--gold-warm);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.cta-primary {
    background: var(--maple-red); /* Canadian Red */
    color: white;
    border-color: var(--maple-red);
}

.cta-primary:hover {
    background: transparent;
    color: var(--maple-red);
}

.cta-secondary {
    background: transparent;
    color: var(--text-main);
    border-color: rgba(255,255,255,0.3);
}

.cta-secondary:hover {
    border-color: var(--text-main);
    background: rgba(255,255,255,0.05);
}

/* Trust Bar - Minimalist */
.trust-bar {
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 3rem 0;
    background: rgba(10, 37, 64, 0.5);
}

.trust-items {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-warm);
    font-family: var(--font-heading);
}

.trust-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Services Section - Dark Cards */
.services {
    padding: 6rem 0;
    background: var(--navy-deep);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    color: var(--gold-warm);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--navy-light);
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-warm);
}

.service-icon {
    font-size: 2rem;
    color: var(--gold-warm);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.service-features li i {
    color: var(--maple-red);
}

/* Process Section */
.process {
    padding: 6rem 0;
    background: #0d2f52; /* Slightly different shade */
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gold-warm);
    color: var(--navy-deep);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Keep circle or make square for luxe? Circle is fine */
    margin: 0 auto 1.5rem;
}

.step h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.step p {
    color: var(--text-muted);
}

/* Testimonials - Clean */
.testimonials {
    padding: 6rem 0;
}

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

.testimonial-card {
    background: var(--navy-light);
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--gold-warm);
    color: var(--navy-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-name {
    font-weight: 700;
    color: var(--text-main);
}

.author-location {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.rating {
    color: var(--gold-warm);
    font-size: 0.8rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--navy-deep), #000);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--navy-light);
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

/* Footer */
footer {
    background: #051424; /* Very dark navy */
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-section h3 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--gold-warm);
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Add JS to toggle */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .trust-items {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

.top-bar {
    background: var(--burgundy-rich);
    color: white;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.5rem;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Blog Styles Integration */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-post-card {
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-warm);
}

.blog-post-image {
    height: 200px;
    background: #2c5282;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-post-meta {
    font-size: 0.8rem;
    color: var(--gold-warm);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-post-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-post-title a:hover {
    color: var(--gold-warm);
}

.blog-post-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-post-read-more {
    color: var(--gold-warm);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
}

.blog-post-read-more:hover {
    color: white;
}
