/* GLS Injury Law - Main Stylesheet */

/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    --primary-dark: #0a0f1e;
    --secondary-dark: #1a1f2e;
    --accent-red: #c41230;
    --accent-yellow: #ffc107;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --border-color: #2a2f3e;
}

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

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--primary-dark);
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

a {
    color: var(--accent-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-yellow);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    background-color: var(--primary-dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    border-bottom: 2px solid var(--accent-red);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.header-phone {
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-phone i {
    color: var(--accent-red);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--secondary-dark);
    min-width: 280px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    z-index: 1001;
    padding: 1rem 0;
    margin-top: 0.5rem;
    border-top: 2px solid var(--accent-red);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: var(--accent-red);
    color: var(--text-light);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0L100 100M100 0L0 100" stroke="%23ffffff" stroke-width="0.5" opacity="0.03"/></svg>');
    opacity: 0.1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-tagline {
    font-size: 2rem;
    font-style: italic;
    color: var(--accent-yellow);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-red);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-red);
    color: var(--text-light);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-red);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent-red);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(196, 18, 48, 0.4);
}

.cta-button-secondary {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.cta-button-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-dark);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
    background-color: var(--secondary-dark);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    color: var(--accent-red);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-dark);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(196, 18, 48, 0.1);
}

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

.form-submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--accent-red);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background-color: #a00e28;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 18, 48, 0.4);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-header h2 {
    color: var(--text-light);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header .highlight {
    color: var(--accent-red);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
}

.section-alt {
    background-color: var(--secondary-dark);
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--secondary-dark);
    padding: 2.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.section-alt .service-card {
    background-color: var(--primary-dark);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(196, 18, 48, 0.2);
    border-color: var(--accent-red);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--accent-red);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-link {
    display: inline-block;
    color: var(--accent-red);
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--accent-yellow);
    transform: translateX(5px);
}

.service-link i {
    margin-left: 0.5rem;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
    padding: 3rem 0;
}

.content-section h2,
.content-section h3 {
    color: var(--text-light);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section h2 {
    font-size: 2.5rem;
    border-bottom: 3px solid var(--accent-red);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.content-section h3 {
    font-size: 1.8rem;
    color: var(--accent-red);
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-section ul,
.content-section ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-section li {
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.content-section strong {
    color: var(--text-light);
}

.highlight-box {
    background-color: var(--secondary-dark);
    border-left: 4px solid var(--accent-red);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 5px;
}

.highlight-box h3 {
    margin-top: 0;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.team-member {
    text-align: center;
}

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--accent-red);
    background-color: var(--secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-gray);
}

.team-member h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.team-title {
    color: var(--accent-red);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.team-member p {
    color: var(--text-gray);
}

/* ============================================
   CONTACT INFO
   ============================================ */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info-card {
    background-color: var(--secondary-dark);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.contact-info-card i {
    font-size: 3rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.contact-info-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.contact-info-card a:hover {
    color: var(--accent-red);
}

.map-container {
    margin-top: 3rem;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

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

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: #050811;
    padding: 3rem 0 1rem;
    border-top: 3px solid var(--accent-red);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.footer-section h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--accent-red);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-dark);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-red);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--secondary-dark);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: var(--primary-dark);
        margin-top: 0;
        border: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .section-container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-red {
    color: var(--accent-red);
}

.text-yellow {
    color: var(--accent-yellow);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}
