/* 
  Torres Law Group - Premium Design System 
  Colors: Dark Navy (#002D44), Bright Cyan (#00AEEF)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --color-primary: #002D44;
    /* Dark Navy */
    --color-primary-light: #004060;
    --color-accent: #00AEEF;
    /* Bright Cyan */
    --color-accent-hover: #0096cf;
    --color-text-light: #F8F9FA;
    --color-text-dark: #1A1A1A;
    --color-text-gray: #6C757D;
    --color-bg-light: #FFFFFF;
    --color-bg-off-white: #F4F6F8;

    --font-main: 'Outfit', sans-serif;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 15px rgba(0, 174, 239, 0.3);
}

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

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

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

.text-white {
    color: var(--color-text-light);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.btn-outline:hover {
    background: var(--color-accent);
    color: #fff;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    height: 80px;
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

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

.logo-name {
    font-size: 1.8rem;
    font-weight: 800;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 1rem;
}

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

/* Language Toggle */
.lang-toggle {
    display: flex;
    border: 1px solid var(--color-primary);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.lang-btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    background: transparent;
    color: var(--color-primary);
    border: none;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--color-primary);
    color: #fff;
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(135deg, rgba(0, 45, 68, 0.95) 0%, rgba(0, 45, 68, 0.8) 100%), url('assets/images/hero_statue.jpg');
    /* Updated hero bg */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--color-bg-light), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    color: #fff;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-btns {
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* About Section */
.about-section {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-img {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.03);
}

.about-text {
    flex: 1;
}

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

.practice-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-top: 4px solid var(--color-accent);
}

.practice-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.practice-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Lead Form */
.lead-form-section {
    background-color: var(--color-bg-off-white);
}

.lead-form {
    background: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
}

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

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

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: #fff;
    padding: 4rem 0 2rem;
}

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

.footer-col h4 {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-contact p {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .about-section {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    /* Add hamburger later if needed */
    .hero {
        margin-top: 60px;
        height: auto;
        padding: 4rem 0;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }
}