/* ==========================================================================
   Mason-Lewis Entertainment - Modern Stylesheet
   Brand Colors: Blue #2F6088 | Silver #8A8A8A
   ========================================================================== */

:root {
    --blue: #2F6088;
    --blue-dark: #1e4460;
    --blue-light: #3d7aaa;
    --silver: #8A8A8A;
    --silver-light: #b0b0b0;
    --silver-dark: #6a6a6a;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #eef1f4;
    --dark: #1a1a2e;
    --text: #2d2d3a;
    --text-light: #6b7280;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 8px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    color: var(--blue-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.navbar-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width var(--transition);
}

.navbar-menu a:hover {
    color: var(--blue);
}

.navbar-menu a:hover::after {
    width: 100%;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--blue-dark) 50%, var(--blue) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(47, 96, 136, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(138, 138, 138, 0.15) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 120px 24px 80px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

/* Button */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--light-gray);
    color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Sections (shared)
   ========================================================================== */

.section {
    padding: 100px 0;
}

.section:nth-child(even) {
    background: var(--off-white);
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--blue);
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 20px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--silver);
    border-radius: 2px;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-content {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.9;
}

.about-content p {
    margin-bottom: 1.2em;
}

/* ==========================================================================
   Team Section
   ========================================================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

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

.team-photo {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--light-gray);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo-placeholder span {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 600;
    color: var(--blue);
    opacity: 0.3;
    text-transform: uppercase;
}

.team-info {
    padding: 24px;
}

.team-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--blue);
    margin-bottom: 4px;
}

.team-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--silver);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ==========================================================================
   Clients Section
   ========================================================================== */

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
    margin-top: 60px;
    align-items: center;
}

.client-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    min-height: 100px;
}

.client-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.client-item img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition);
}

.client-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-grid {
    max-width: 600px;
    margin: 60px auto 0;
}

.contact-info {
    display: grid;
    gap: 32px;
}

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

.contact-item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--blue);
    margin-bottom: 8px;
}

.contact-item a {
    font-size: 1.05rem;
    color: var(--text-light);
}

.contact-item a:hover {
    color: var(--blue);
}

.contact-item p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 30px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

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

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-social a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-credit {
    margin-top: 8px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Full-Screen Mobile Menu
   ========================================================================== */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: var(--white);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 8px;
    transition: color var(--transition);
    z-index: 1;
}

.mobile-menu-close:hover {
    color: var(--blue);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 80px 24px 40px;
    position: relative;
}

.mobile-menu-logo {
    margin-bottom: 48px;
}

.mobile-menu-logo img {
    height: 70px;
    width: auto;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.mobile-menu-nav a {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.02em;
    padding: 10px 0;
    position: relative;
    transition: color var(--transition);
}

.mobile-menu-nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width var(--transition);
}

.mobile-menu-nav a:hover {
    color: var(--blue);
}

.mobile-menu-nav a:hover::after {
    width: 100%;
}

.mobile-menu-footer {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
}

.mobile-menu-credit {
    font-size: 0.75rem;
    color: var(--silver-light);
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-tagline {
        font-size: 2rem;
    }
}
