/* ============================================
   TacoRriendo — Custom Styles
   Deep Navy (#1a2744) + Warm Gold (#c9a84c)
   Clean, minimalist, generous whitespace
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --navy: #1a2744;
    --navy-light: #243456;
    --navy-dark: #0f1a2e;
    --gold: #c9a84c;
    --gold-light: #d4b96a;
    --gold-dark: #b08f3a;
    --cream: #faf8f4;
    --cream-dark: #f2ede4;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #6b6b6b;
    --text-light: #9a9a9a;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* --- Typography --- */
.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: var(--space-md);
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem 2.2rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--navy-light);
    border-color: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 39, 68, 0.2);
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: all var(--transition);
}

.nav.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 0 rgba(26, 39, 68, 0.08);
    padding: 0.7rem 0;
}

.nav.scrolled .nav-logo-text {
    color: var(--navy);
}

.nav.scrolled .nav-link {
    color: var(--text-dark);
}

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

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

.nav-logo {
    z-index: 1001;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 0.02em;
    transition: color var(--transition);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition);
    position: relative;
}

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

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

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

.nav-cta {
    padding: 0.55rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--navy) !important;
}

.nav.scrolled .nav-cta {
    border-color: var(--navy);
    color: var(--navy);
}

.nav.scrolled .nav-cta:hover {
    background-color: var(--navy);
    border-color: var(--navy);
    color: var(--white) !important;
}

/* --- Mobile Nav Toggle --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 1.5px;
    background-color: var(--white);
    transition: all var(--transition);
}

.nav.scrolled .nav-toggle-line {
    background-color: var(--navy);
}

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

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

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

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: 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;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(15, 26, 46, 0.55) 0%,
        rgba(26, 39, 68, 0.7) 50%,
        rgba(15, 26, 46, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--space-md);
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.hero-title-line {
    display: block;
}

.hero-title-line:first-child {
    font-style: italic;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Section Divider --- */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    max-width: 200px;
    margin: 0 auto;
}

/* --- About --- */
.about {
    padding: var(--space-2xl) 0;
    background-color: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid var(--gold);
    border-radius: var(--radius-md);
    z-index: -1;
}

.about-content {
    padding: var(--space-md) 0;
}

.about-divider {
    width: 60px;
    height: 1px;
    background-color: var(--gold);
    margin-bottom: var(--space-md);
}

.about-text {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: var(--space-sm);
}

.about-signature {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--cream-dark);
}

.about-signature-text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--navy);
}

/* --- Features --- */
.features {
    padding: var(--space-2xl) 0;
    background-color: var(--navy);
}

.features-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.feature-card {
    padding: var(--space-md);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--gold);
    background-color: rgba(201, 168, 76, 0.05);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
}

.feature-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.feature-text {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

/* --- Menu --- */
.menu {
    padding: var(--space-2xl) 0;
    background-color: var(--cream);
}

.menu-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.menu-divider {
    width: 60px;
    height: 1px;
    background-color: var(--gold);
    margin: var(--space-sm) auto var(--space-md);
}

.menu-intro {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.menu-category {
    padding: var(--space-md);
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--cream-dark);
}

.menu-category-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 0.3rem;
}

.menu-category-subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.78rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--cream-dark);
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.menu-item {
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--cream);
}

.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-item-name {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--navy);
    display: block;
    margin-bottom: 0.2rem;
}

.menu-item-desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.menu-footer {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--cream-dark);
}

.menu-footer-text {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.82rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: var(--space-md);
}

/* --- Gallery --- */
.gallery {
    padding: var(--space-2xl) 0;
    background-color: var(--white);
}

.gallery-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: var(--space-sm);
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- Visit --- */
.visit {
    padding: var(--space-2xl) 0;
    background-color: var(--cream);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.visit-info {
    padding: var(--space-lg);
    background-color: var(--navy);
    border-radius: var(--radius-lg);
}

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

.visit-details {
    margin: var(--space-lg) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.visit-detail {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

.visit-detail-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: 50%;
    color: var(--gold);
}

.visit-detail-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.2rem;
}

.visit-detail-value {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.visit-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
}

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

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 480px;
    box-shadow: 0 8px 32px rgba(26, 39, 68, 0.12);
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    min-height: 480px;
}

/* --- Footer --- */
.footer {
    background-color: var(--navy-dark);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--white);
    display: inline-block;
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    max-width: 300px;
}

.footer-nav-title,
.footer-contact h4 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.footer-nav-list,
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-nav-link {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition);
}

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

.footer-contact-link {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition);
}

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

.footer-contact-text {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.7;
}

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

.footer-copy,
.footer-locale {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-categories {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 220px);
    }
    
    .gallery-item--wide {
        grid-column: span 2;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--navy-dark);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-md);
        transition: right var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu.active .nav-link {
        color: rgba(255, 255, 255, 0.85);
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 350px;
    }
    
    .about-image::after {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item,
    .gallery-item--wide {
        grid-column: span 1;
        height: 250px;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-map {
        min-height: 300px;
    }
    
    .visit-map iframe {
        min-height: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .menu-category {
        padding: var(--space-sm);
    }
}
