/* ============================================
   Original Luisa & Son Bake Shop — Styles
   Premium Dark Luxury | Navy + Gold
   ============================================ */

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

:root {
    --navy-950: #070e1a;
    --navy-900: #0a1628;
    --navy-800: #0f1c2e;
    --navy-700: #152640;
    --navy-600: #1b3152;
    --gold-500: #c9a84c;
    --gold-400: #d4b85e;
    --gold-300: #e0c970;
    --gold-600: #a8872e;
    --cream-100: #f5f0e8;
    --cream-200: #ebe4d6;
    --text-light: #f0ebe0;
    --text-muted: #9ca8b8;
    --text-dark: #1a1a2e;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Raleway', 'Segoe UI', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    background: var(--navy-950);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

/* --- Typography --- */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-light);
    margin-bottom: 20px;
}

.section-title em {
    font-style: italic;
    color: var(--gold-500);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.8;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-950);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-500);
    border: 1.5px solid var(--gold-500);
}

.btn-outline-gold:hover {
    background: var(--gold-500);
    color: var(--navy-950);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

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

.navbar.scrolled {
    background: rgba(7, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-light);
}

.logo-text {
    letter-spacing: 0.02em;
}

.logo-accent {
    color: var(--gold-500);
}

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

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

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

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

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

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

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
}

.nav-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    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(
        to bottom,
        rgba(7, 14, 26, 0.7) 0%,
        rgba(7, 14, 26, 0.55) 40%,
        rgba(7, 14, 26, 0.75) 100%
    );
}

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

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-light);
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-500);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gold-500);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.7;
    animation: float 2s ease-in-out infinite;
}

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

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

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

/* --- About --- */
.about {
    background: var(--navy-900);
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    border: 4px solid var(--navy-900);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--navy-950);
    padding: 16px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

.about-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 36px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.value-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 8px;
}

.value-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
}

/* --- Products --- */
.products {
    background: var(--navy-950);
}

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

.product-card {
    background: var(--navy-800);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(201, 168, 76, 0.08);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(201, 168, 76, 0.2);
}

.product-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5/4;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 14, 26, 0.6), transparent);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.product-tag {
    background: var(--gold-500);
    color: var(--navy-950);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 2px;
}

.product-info {
    padding: 24px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Craft --- */
.craft {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.craft-bg {
    position: absolute;
    inset: 0;
}

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

.craft-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(7, 14, 26, 0.92) 0%,
        rgba(7, 14, 26, 0.8) 50%,
        rgba(7, 14, 26, 0.6) 100%
    );
}

.craft-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.craft-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.craft-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 48px;
    max-width: 560px;
}

.craft-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold-500);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* --- Testimonials --- */
.testimonials {
    background: var(--navy-900);
}

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

.testimonial-card {
    background: var(--navy-800);
    border-radius: 12px;
    padding: 36px;
    border: 1px solid rgba(201, 168, 76, 0.08);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(201, 168, 76, 0.2);
    transform: translateY(-4px);
}

.testimonial-quote {
    margin-bottom: 20px;
    opacity: 0.6;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.85rem;
    color: var(--gold-500);
    font-weight: 500;
}

/* --- Contact --- */
.contact {
    background: var(--navy-950);
}

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

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 10px;
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-value a {
    color: var(--text-light);
    transition: var(--transition);
}

.contact-value a:hover {
    color: var(--gold-500);
}

/* --- Form --- */
.contact-form-wrapper {
    background: var(--navy-800);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(201, 168, 76, 0.1);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 28px;
}

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

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--navy-950);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-input::placeholder {
    color: rgba(156, 168, 184, 0.5);
}

.form-input:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

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

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

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

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

.success-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.success-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* --- Footer --- */
.footer {
    background: var(--navy-900);
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    padding: 64px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-500);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-hours ul,
.footer-contact p {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.footer-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    gap: 16px;
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-contact a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--gold-500);
}

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

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy-900);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-img-secondary {
        right: 0;
        bottom: -30px;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .craft-stats {
        gap: 32px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .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;
    }
    
    .section {
        padding: 72px 0;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .about-img-secondary {
        width: 65%;
    }
    
    .craft-stats {
        flex-direction: column;
        gap: 24px;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
