/* ========================================
   INDEX.CSS - Homepage Specific Styles
   ======================================== */

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

.hero {
    padding: var(--spacing-xxl) 0 0 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(26, 35, 50, 0.4) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero .row {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
}

/* Hero Image */
.hero-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    max-width: 100%;
    display: inline-block;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--gold-primary);
    opacity: 0.3;
    z-index: -1;
    transition: all var(--transition-slow);
}

.hero-image-wrapper:hover::before {
    top: -25px;
    left: -25px;
    right: 25px;
    bottom: 25px;
    opacity: 0.5;
}

.hero-image {
    max-width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: contain;
    display: block;
    box-shadow: 
        var(--shadow-lg),
        0 0 40px rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.hero-image:hover {
    transform: scale(1.02);
    box-shadow: 
        var(--shadow-lg),
        0 0 60px rgba(212, 175, 55, 0.15);
}

/* Hero Content */
.hero-content-wrapper {
    flex: 0 0 400px;
    max-width: 450px;
}

.hero-content {
    position: sticky;
    top: 120px;
    background: var(--background-card);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-gold);
    border-left: 4px solid var(--gold-primary);
    box-shadow: var(--shadow-lg);
    border-radius: 2px;
    backdrop-filter: blur(10px);
}

.hero-title {
    color: var(--text-primary);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
}

/* Specialty Tags */
.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: var(--spacing-md) 0;
}

.specialty-tag {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    color: var(--gold-secondary);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-gold);
    transition: all var(--transition-normal);
    cursor: default;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specialty-tag:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.1));
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.hero-content .tagline {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-style: italic;
    margin: var(--spacing-md) 0;
    line-height: 1.6;
}

.hero-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.hero-content .button {
    margin-top: var(--spacing-md);
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.8rem;
    white-space: nowrap;
}

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

.cta-section {
    background: linear-gradient(
        135deg, 
        var(--background-secondary) 0%, 
        var(--primary-dark) 100%
    );
    padding: var(--spacing-xxl) 0;
    text-align: center;
    border-bottom: 2px solid var(--gold-primary);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    pointer-events: none;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--gold-primary);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta-section p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: var(--gold-primary);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 3px;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid var(--gold-primary);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    background: var(--gold-light);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 
        var(--shadow-lg),
        0 8px 30px rgba(212, 175, 55, 0.4);
    border-color: var(--gold-light);
}

.cta-button:active {
    transform: translateY(-1px);
}

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

.cta-button.secondary:hover {
    background: var(--gold-primary);
    color: var(--primary-dark) !important;
}

.cta-button i {
    margin-right: 10px;
    font-size: 1.1em;
}

/* ========================================
   Practice Areas Section (if on homepage)
   ======================================== */

.practice-areas-section {
    background: var(--background-main);
    padding: var(--spacing-xxl) 0;
    margin-top: var(--spacing-xl);
}

.practice-card {
    background: var(--background-card);
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: 4px;
    border-left: 4px solid var(--gold-primary);
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        var(--shadow-lg),
        0 8px 25px rgba(212, 175, 55, 0.15);
    background: rgba(21, 27, 36, 0.8);
    border-color: var(--border-gold);
}

.practice-card h3 {
    color: var(--gold-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.practice-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.practice-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.practice-card ul li {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 10px 0 10px 30px;
    position: relative;
    transition: color var(--transition-fast);
}

.practice-card ul li:hover {
    color: var(--text-secondary);
}

.practice-card ul li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* ========================================
   Responsive Design for Index Page
   ======================================== */

@media (max-width: 992px) {
    .hero .row {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .hero-content-wrapper {
        flex: 1;
        max-width: 100%;
    }
    
    .hero-content {
        position: static;
        margin-top: var(--spacing-md);
    }
    
    .hero-image-container {
        min-height: auto;
        margin-bottom: var(--spacing-md);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: var(--spacing-lg) 0 0 0;
        min-height: auto;
    }
    
    .hero-image-wrapper::before {
        top: -10px;
        left: -10px;
        right: 10px;
        bottom: 10px;
    }
    
    .hero-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-content {
        text-align: center;
        padding: var(--spacing-md);
    }
    
    .hero-content .button {
        width: auto;
        display: inline-block;
        padding: 12px 24px;
    }
    
    .specialty-tags {
        justify-content: center;
    }
    
    .cta-section {
        padding: var(--spacing-lg) 0;
        margin: 0;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: var(--spacing-sm);
    }
    
    .specialty-tag {
        font-size: 0.75rem;
        padding: 8px 14px;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}
