/* Premium Legal Website Styles - Maroon & Gold Theme */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Lato:wght@300;400;700&display=swap');

/* CSS Reset and Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #580100;
    --secondary-color: #7a0100;
    --accent-color: #D7B15C;
    --gold: #D7B15C;
    --dark-color: #333333;
    --light-color: #f8f6f3;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e8e4dd;
    --shadow: 0 5px 20px rgba(88, 1, 0, 0.08);
    --shadow-lg: 0 15px 40px rgba(88, 1, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #580100 0%, #7a0100 100%);
    --gradient-gold: linear-gradient(135deg, #D7B15C 0%, #c09944 100%);
}

/* Base Styles */
body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { font-size: 3rem; letter-spacing: -0.5px; }
h2 { font-size: 2.5rem; letter-spacing: -0.5px; }
h3 { font-size: 1.75rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.0625rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(88, 1, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo h1 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0;
    font-weight: 800;
}

.tagline {
    font-size: 0.875rem;
    color: var(--accent-color);
    margin: 0;
    font-weight: 600;
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.5rem 0;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(215,177,92,0.03) 20px,
        rgba(215,177,92,0.03) 40px
    );
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-weight: 600;
}

.hero-description {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: var(--shadow);
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.trust-item {
    text-align: center;
}

.trust-item strong {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-family: 'Playfair Display', serif;
}

.trust-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    font-style: italic;
}

/* Service Cards */
.service-areas {
    background: linear-gradient(to bottom, var(--light-color) 0%, var(--white) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-gold);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.service-list {
    list-style: none;
    margin: 1.5rem 0;
}

.service-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.25rem;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-link:hover {
    color: var(--accent-color);
}

/* Why Choose Us */
.why-choose {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

/* Info Section */
.info-section {
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-color) 100%);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--accent-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.info-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* CTA Box */
.cta-box {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(215,177,92,0.1) 0%, transparent 70%);
}

.cta-box h3 {
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-box p {
    position: relative;
    z-index: 1;
}

.cta-box .btn {
    position: relative;
    z-index: 1;
}

/* Blog Section */
.blog-preview,
.blog-section {
    background-color: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 2rem 0;
}

.blog-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s ease;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: var(--accent-color);
}

.blog-date {
    color: var(--accent-color);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-category {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-card h3 a {
    color: var(--primary-color);
}

.blog-card h3 a:hover {
    color: var(--accent-color);
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-block;
    margin-top: 1rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(to bottom, var(--light-color) 0%, var(--white) 100%);
}

.faq-container {
    max-width: 900px;
    margin: 2rem auto;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 1.25rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-color);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 2rem;
    background-color: var(--white);
    border: none;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-color);
}

.faq-question::after {
    content: "+";
    font-size: 2rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 2rem;
    background-color: var(--light-color);
}

.faq-answer.active {
    max-height: 500px;
    padding: 1.5rem 2rem;
}

/* Location Cards */
.location-section {
    background: var(--white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.location-card {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.location-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(215,177,92,0.05) 10px,
        rgba(215,177,92,0.05) 20px
    );
}

.cta-section h2 {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-section p {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
}

.cta-section .cta-buttons {
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 4rem 0 1.5rem;
    border-top: 3px solid var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3,
.footer-col h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-col p,
.footer-col a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-col a:hover {
    color: var(--accent-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.contact-info p {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(215, 177, 92, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Lato', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(215, 177, 92, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.125rem;
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.pricing-card {
    background: var(--white);
    border: 3px solid var(--border-color);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--accent-color);
    border-width: 4px;
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-color) 100%);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow);
}

.pricing-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0;
    font-family: 'Playfair Display', serif;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.pricing-card li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-card li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.25rem;
}

.fee-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 2rem;
    font-style: italic;
}

/* Timeline */
.timeline {
    max-width: 900px;
    margin: 2rem auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.timeline-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.warning-text,
.important-text {
    background-color: #fff8e1;
    color: #92400e;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border-left: 4px solid var(--accent-color);
    margin-top: 1rem;
    font-weight: 600;
}

/* Other Styles */
.text-center {
    text-align: center;
}

.btn-block {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.key-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.point-box {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 8px;
}

.documents-grid,
.benefits-grid,
.scenarios-list,
.defenses-grid,
.mistakes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.doc-card,
.benefit-item,
.scenario-item,
.defense-card,
.mistake-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.checklist {
    list-style: none;
}

.checklist li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.checklist li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin: 2rem 0;
}

.contact-detail-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 2rem;
}

.blog-categories {
    background: var(--light-color);
    padding: 2rem 0;
}

.category-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.qa-container {
    max-width: 900px;
    margin: 2rem auto;
}

.qa-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.qa-question h3 {
    color: var(--primary-color);
}

.qa-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.qa-answer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .trust-indicators {
        gap: 2rem;
    }
    
    .services-grid,
    .features-grid,
    .info-grid,
    .blog-grid,
    .locations-grid,
    .pricing-cards,
    .key-points,
    .documents-grid,
    .benefits-grid,
    .defenses-grid,
    .mistakes-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .category-filters {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .trust-item strong {
        font-size: 2rem;
    }
}