/* =========================================
   BUZZ CAFE - BASE STYLES (SHARED)
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

/* === CSS VARIABLES === */
:root {
    --bg-void: #030303;
    --bg-card: #0A0A0A;
    --bg-elevated: #121212;
    --bg-glass: rgba(10, 10, 10, 0.85);

    --text-white: #FAFAFA;
    --text-gray: #8B8B8B;
    --bg-dark: #0a0a0a;
    --bg-card: #0A0A0A;
    /* Kept from original, not in provided root */
    --bg-elevated: #121212;
    /* Kept from original, not in provided root */
    --bg-glass: rgba(10, 10, 10, 0.85);
    /* Kept from original, not in provided root */

    --text-white: #f5f5f5;
    --text-gray: #a1a1a1;
    --text-dim: #666;
    --text-accent: #D4AF37;
    /* Cinematic Gold */

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.08);
    /* Kept from original, not in provided root */

    --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    /* Kept from original, not in provided root */
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Kept from original, not in provided root */
}

/* === RESET & BASE === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* Crisp text */
    -moz-osx-font-smoothing: grayscale;
    /* Kept from original html, moved to body */
}

/* === CINEMATIC GRAIN OVERLAY === */
/* This adds that subtle 'expensive' texture to the dark background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-white);
}

h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    letter-spacing: 0.03em;
}

p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 65ch;
}

/* === LAYOUT === */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.section {
    padding: clamp(5rem, 12vh, 10rem) 0;
    position: relative;
}

/* === HEADER === */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    transition: all 0.6s var(--ease-smooth);
}

.main-header.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(24px) saturate(180%);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s;
}

.logo:hover {
    color: var(--text-accent);
}

.nav-menu {
    display: flex;
    gap: clamp(2rem, 4vw, 4rem);
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    position: relative;
    transition: color 0.4s var(--ease-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-accent);
    transition: width 0.4s var(--ease-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link:hover::after {
    width: 100%;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.5rem;
    border: none;
    border-radius: 2px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--text-white);
    color: var(--bg-void);
}

.btn-primary:hover {
    background: var(--text-accent);
    color: var(--bg-void);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: var(--text-white);
}

.btn-outline:hover {
    border-color: var(--text-white);
    background: rgba(255, 255, 255, 0.06);
}

/* === ANIMATIONS === */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s var(--ease-smooth), transform 1.2s var(--ease-smooth);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-delay-1 {
    transition-delay: 0.15s;
}

.stagger-delay-2 {
    transition-delay: 0.3s;
}

.stagger-delay-3 {
    transition-delay: 0.45s;
}

/* === FOOTER === */
.site-footer {
    background: #010101;
    border-top: 1px solid var(--border-subtle);
    padding: 3.5rem 0 1.5rem;
    /* Further reduced padding */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
    /* Adjusted ratios for better visual balance */
    gap: 2rem;
    margin-bottom: 2.5rem;
    /* Reduced margin */
    padding-bottom: 2.5rem;
    /* Reduced padding */
    border-bottom: 1px solid var(--border-subtle);
    align-items: start;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--text-white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.social-link:hover {
    color: var(--text-accent);
    border-color: var(--text-accent);
}

.google-reviews {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    text-decoration: none;
    color: var(--text-white);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: transform 0.3s;
}

.google-reviews:hover {
    transform: translateX(5px);
}

.stars {
    color: #FFD700;
    /* Gold/Yellow for stars */
    letter-spacing: 2px;
}

.footer-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-accent);
    margin-bottom: 1.5rem;
    /* Reduced from 2rem */
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--text-white);
    transform: translateX(5px);
}

.footer-contact li {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #444;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dev-credit a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.dev-credit a:hover {
    color: var(--text-white);
}

/* === RESPONSIVE === */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

/* === FORMS === */
input,
textarea,
select {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-medium);
    border-radius: 2px;
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s var(--ease-smooth);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--text-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* === RESPONSIVE === */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 4rem 0;
    }
}