/* ========================================
   Monica Goel & Associates - Professional Legal Website
   Clean, Sharp, Minimal Design
   ======================================== */

/* CSS Variables */
:root {
    --primary: #1a2a3a;
    --primary-dark: #0d1520;
    --primary-light: #2c4156;
    --accent: #8b7355;
    --accent-light: #a08b70;
    --white: #ffffff;
    --off-white: #f7f7f7;
    --gray-100: #f2f2f2;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --transition: all 0.25s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.navbar.scrolled .logo-icon {
    background: var(--primary);
}

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

.logo-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.navbar.scrolled .logo-name {
    color: var(--primary);
}

.logo-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar.scrolled .logo-sub {
    color: var(--gray-500);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 0;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--gray-600);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition);
}

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

.nav-link:hover {
    color: var(--white);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    font-size: 20px;
    color: var(--white);
    cursor: pointer;
}

.navbar.scrolled .nav-toggle {
    color: var(--primary);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
}

.hero-badge {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 10px 28px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--accent);
    margin-bottom: 28px;
    font-weight: 400;
    font-style: italic;
}

.hero-description {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.8;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.hero-scroll {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-size: 16px;
}

.hero-scroll a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ========================================
   Sections Common
   ======================================== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header.light .section-label,
.section-header.light .section-title {
    color: var(--white);
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.section-description {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 540px;
    margin: 0 auto;
    font-weight: 300;
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--off-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.about-image {
    position: relative;
}

.about-image-frame {
    aspect-ratio: 3/4;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.about-icon {
    font-size: 80px;
    color: var(--gray-300);
}

.about-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--primary);
    color: var(--white);
    padding: 20px 28px;
    text-align: center;
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

.badge-text {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    display: block;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 8px;
}

.about-designation {
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.8;
    font-weight: 300;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-300);
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 400;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--gray-200);
    border: 1px solid var(--gray-200);
}

.service-card {
    background: var(--white);
    padding: 48px 36px;
    transition: var(--transition);
    text-align: left;
}

.service-card:hover {
    background: var(--off-white);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    font-size: 22px;
    color: var(--white);
}

.service-card:hover .service-icon {
    background: var(--accent);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 16px;
}

.service-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    font-weight: 300;
}

/* ========================================
   Publications Section
   ======================================== */
.publications {
    background: var(--white);
}

.publications-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.publication-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    padding: 32px;
    align-items: center;
}

.publication-image {
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.publication-image img {
    width: 100%;
    height: auto;
    display: block;
}

.publication-source {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.publication-info h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.publication-info p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    font-weight: 300;
}

@media (max-width: 768px) {
    .publication-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .publication-image {
        max-width: 280px;
        margin: 0 auto;
    }
}

/* ========================================
   Notable Cases Section
   ======================================== */
.cases {
    background: var(--off-white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.case-card {
    background: var(--white);
    padding: 36px;
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.case-card:hover {
    border-left-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.case-court {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.case-card h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 400;
    color: var(--gray-800);
    margin-bottom: 12px;
    line-height: 1.5;
}

.case-topic {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 300;
}

.case-outcome {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.case-outcome i {
    color: #2d7a4d;
    font-size: 14px;
}

.case-outcome span {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-600);
}

.case-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 16px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.case-download:hover {
    background: var(--accent);
}

.case-download i {
    color: var(--white);
    font-size: 14px;
}

/* ========================================
   Experience Section
   ======================================== */
.experience {
    background: var(--primary);
}

.courts-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.1);
}

.court-item {
    background: var(--primary);
    padding: 40px 24px;
    text-align: center;
    color: var(--white);
    transition: var(--transition);
}

.court-item:hover {
    background: var(--primary-light);
}

.court-item i {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
}

.court-item span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: var(--off-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-card {
    background: var(--white);
    padding: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--accent);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-details p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
    font-weight: 300;
}

.contact-details a {
    color: var(--gray-500);
}

.contact-details a:hover {
    color: var(--accent);
}

.contact-map {
    min-height: 100%;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 64px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gray-800);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 24px;
    color: var(--accent);
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--white);
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    font-weight: 300;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-links a {
    display: block;
    font-size: 13px;
    padding: 8px 0;
    color: var(--gray-400);
    font-weight: 300;
}

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

.footer-contact p {
    font-size: 13px;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 300;
}

.footer-contact i {
    color: var(--accent);
    width: 16px;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 300;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .courts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .nav-container {
        padding: 0 24px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        transition: var(--transition);
        padding: 40px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .navbar.scrolled .nav-menu {
        background: var(--white);
    }
    
    .navbar.scrolled .nav-menu .nav-link {
        color: var(--gray-600);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .about-image {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .about-badge {
        right: 0;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .stat {
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .courts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        min-height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .courts-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
}
