/* ========================================
   Cal's Lounge — Styles
   Palette: Charcoal (#2D2D2D) + Coral (#E86A50)
   Fonts: Playfair Display + Nunito
======================================== */

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

:root {
    --charcoal: #2D2D2D;
    --charcoal-light: #3D3D3D;
    --charcoal-dark: #1A1A1A;
    --coral: #E86A50;
    --coral-light: #F08974;
    --coral-dark: #D4553D;
    --coral-pale: #FDF0ED;
    --coral-muted: #FCEAE5;
    --cream: #FFFAF7;
    --cream-dark: #F5EDE8;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(45,45,45,0.06), 0 1px 2px rgba(45,45,45,0.04);
    --shadow-md: 0 4px 16px rgba(45,45,45,0.08), 0 2px 4px rgba(45,45,45,0.04);
    --shadow-lg: 0 12px 40px rgba(45,45,45,0.12), 0 4px 12px rgba(45,45,45,0.06);
    --shadow-xl: 0 24px 60px rgba(45,45,45,0.16), 0 8px 20px rgba(45,45,45,0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul { list-style: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral);
    background: var(--coral-pale);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-label-light {
    color: var(--white);
    background: rgba(232, 106, 80, 0.3);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--charcoal);
    margin-bottom: 20px;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 560px;
    margin: 0 auto;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 100px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--coral);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(232, 106, 80, 0.35);
}

.btn-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 106, 80, 0.45);
}

.btn-secondary {
    background: var(--white);
    color: var(--charcoal);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 250, 247, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(45,45,45,0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 250, 247, 0.97);
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
}

.nav-logo:hover { color: var(--coral); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--charcoal);
    padding: 8px 16px;
    border-radius: 100px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--coral);
    background: var(--coral-pale);
}

.nav-cta {
    background: var(--coral) !important;
    color: var(--white) !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--coral-dark) !important;
    color: var(--white) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-toggle:hover { background: var(--coral-pale); }

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--coral-pale);
    color: var(--charcoal);
    transition: var(--transition);
}

.mobile-menu-close:hover {
    background: var(--coral);
    color: var(--white);
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--charcoal);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.mobile-menu-link:hover {
    color: var(--coral);
    background: var(--coral-pale);
}

.mobile-menu-cta {
    margin-top: 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--coral);
    color: var(--white) !important;
    border-radius: 100px;
    padding: 14px 32px;
}

.mobile-menu-cta:hover {
    background: var(--coral-dark) !important;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.82) 0%,
        rgba(45, 45, 45, 0.70) 50%,
        rgba(232, 106, 80, 0.30) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    background: rgba(232, 106, 80, 0.25);
    border: 1px solid rgba(232, 106, 80, 0.4);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-badge svg { opacity: 0.9; }

.hero-headline {
    font-size: clamp(2.25rem, 5.5vw, 4.5rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 800px;
}

.hero-headline em {
    font-style: italic;
    color: var(--coral-light);
}

.hero-subheadline {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.85);
    max-width: 580px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- About ---------- */
.about {
    padding: 100px 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

.about-img-secondary img {
    width: 260px;
    height: 195px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    top: -20px;
    right: 40px;
    opacity: 0.8;
}

.about-content { padding: 20px 0; }

.about-text {
    font-size: 1.05rem;
    color: var(--gray-700);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral-pale);
    border-radius: var(--radius-md);
}

.value-item strong {
    display: block;
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: 2px;
}

.value-item span {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ---------- Products ---------- */
.products {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    margin-bottom: 60px;
}

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

.product-card {
    background: var(--cream);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.product-img {
    overflow: hidden;
    height: 240px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-info {
    padding: 28px;
}

.product-info h3 {
    font-size: 1.35rem;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.product-info p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ---------- Visit ---------- */
.visit {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.visit-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.visit-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visit-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.85) 0%,
        rgba(45, 45, 45, 0.75) 60%,
        rgba(232, 106, 80, 0.35) 100%
    );
}

.visit-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.visit-content .section-title { margin-bottom: 48px; }

.visit-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
    text-align: left;
}

.visit-detail {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 28px;
    backdrop-filter: blur(8px);
}

.visit-detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 106, 80, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    color: var(--coral-light);
}

.visit-detail strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--coral-light);
    margin-bottom: 8px;
}

.visit-detail p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

.visit-detail a {
    color: rgba(255,255,255,0.85);
    transition: var(--transition);
}

.visit-detail a:hover { color: var(--white); }

.visit-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- Contact ---------- */
.contact {
    padding: 100px 0;
    background: var(--cream);
}

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

.contact-text {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-method:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.contact-method-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral-pale);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-method span {
    font-size: 0.95rem;
    color: var(--charcoal);
    font-weight: 600;
}

/* Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form { display: block; }

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--cream);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--coral);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(232, 106, 80, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show { display: block; }

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--coral-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success h3 {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--charcoal-dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    color: var(--white) !important;
    margin-bottom: 16px;
}

.footer-logo:hover { color: var(--coral-light) !important; }

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    max-width: 280px;
}

.footer-links strong,
.footer-hours strong,
.footer-contact strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    padding: 6px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--coral-light);
    padding-left: 6px;
}

.footer-hours p,
.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid { gap: 48px; }
    .contact-grid { gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

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

    .hero-content { padding: 100px 24px 60px; }

    .hero-headline { font-size: clamp(1.75rem, 7vw, 2.75rem); }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .about-img-secondary {
        right: 0;
        bottom: -30px;
    }

    .products-grid { grid-template-columns: 1fr; }

    .visit-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper { padding: 28px; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .nav-container { padding: 0 16px; }

    .about { padding: 72px 0; }
    .products { padding: 72px 0; }
    .visit { padding: 72px 0; }
    .contact { padding: 72px 0; }

    .about-img-secondary img {
        width: 200px;
        height: 150px;
    }

    .product-img { height: 200px; }
}
