/* ===================================
   Tacos Móre - Custom Styles
   Charcoal + Coral Color Palette
   =================================== */

/* CSS Variables */
:root {
    --color-charcoal: #2D2D2D;
    --color-charcoal-light: #3D3D3D;
    --color-coral: #FF6B6B;
    --color-coral-dark: #E85555;
    --color-coral-light: #FF8E8E;
    --color-cream: #FFF8F5;
    --color-white: #FFFFFF;
    --color-gray-100: #F7F7F7;
    --color-gray-200: #E8E8E8;
    --color-gray-600: #6B6B6B;
    --color-gray-800: #2D2D2D;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

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

.accent {
    color: var(--color-coral);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--color-coral-dark);
    border-color: var(--color-coral-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-charcoal);
    border-color: var(--color-charcoal);
}

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

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

.btn-white:hover {
    background-color: var(--color-gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-gray-200);
    transition: all 0.3s ease;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-coral);
    transition: width 0.3s ease;
}

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

.nav-cta {
    background-color: var(--color-coral) !important;
    color: var(--color-white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

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

.nav-cta:hover {
    background-color: var(--color-coral-dark) !important;
    transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--color-charcoal);
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-charcoal);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-menu-overlay ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu-overlay a {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-menu-overlay a:hover {
    color: var(--color-coral);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--color-cream);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background-color: var(--color-coral);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background-color: var(--color-coral);
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background-color: var(--color-charcoal);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 107, 107, 0.1);
    color: var(--color-coral);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-coral);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    color: var(--color-charcoal);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    margin-bottom: 32px;
    line-height: 1.8;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-coral);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background-color: var(--color-white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 3s ease-in-out infinite;
}

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

.floating-icon {
    font-size: 2.5rem;
}

.floating-title {
    font-weight: 700;
    display: block;
}

.floating-subtitle {
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background-color: rgba(255, 107, 107, 0.1);
    color: var(--color-coral);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

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

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

/* Menu Section */
.menu-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 28px;
    border: 2px solid var(--color-gray-200);
    background-color: transparent;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.category-btn:hover,
.category-btn.active {
    border-color: var(--color-coral);
    background-color: var(--color-coral);
    color: var(--color-white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.menu-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--color-gray-200);
}

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

.card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--color-coral);
    color: var(--color-white);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-content {
    padding: 24px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.card-description {
    font-size: 0.95rem;
    color: var(--color-gray-600);
    margin-bottom: 16px;
    line-height: 1.6;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-tags {
    display: flex;
    gap: 8px;
}

.tag {
    background-color: var(--color-gray-100);
    color: var(--color-gray-600);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.menu-cta {
    text-align: center;
    padding: 40px;
    background-color: var(--color-cream);
    border-radius: var(--radius-lg);
}

.menu-cta p {
    font-size: 1.125rem;
    margin-bottom: 24px;
    color: var(--color-gray-600);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--color-cream);
    position: relative;
    overflow: hidden;
}

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

.about-image-side {
    position: relative;
}

.about-images {
    position: relative;
    z-index: 1;
}

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

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 6px solid var(--color-white);
    box-shadow: var(--shadow-md);
}

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

.about-geometric {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.geo-shape {
    position: absolute;
    border-radius: var(--radius-sm);
}

.geo-1 {
    width: 120px;
    height: 120px;
    background-color: var(--color-coral);
    opacity: 0.2;
    top: 0;
    left: 0;
    transform: rotate(15deg);
}

.geo-2 {
    width: 80px;
    height: 80px;
    background-color: var(--color-coral);
    opacity: 0.15;
    bottom: 40px;
    right: 20px;
    transform: rotate(-10deg);
}

.geo-3 {
    width: 60px;
    height: 60px;
    background-color: var(--color-charcoal);
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: rotate(30deg);
}

.about-content {
    position: relative;
    z-index: 1;
}

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

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

.feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--color-gray-600);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-charcoal-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    background-color: var(--color-coral);
    opacity: 0.1;
    top: -100px;
    right: -100px;
}

.cta-shape-2 {
    width: 300px;
    height: 300px;
    background-color: var(--color-coral);
    opacity: 0.08;
    bottom: -80px;
    left: -80px;
}

.cta-container {
    text-align: center;
    position: relative;
    z-index: 1;
}

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

.cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Location Section */
.location-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

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

.location-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background-color: var(--color-cream);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.info-content p {
    color: var(--color-gray-600);
    line-height: 1.6;
}

.info-content a {
    color: var(--color-coral);
    font-weight: 600;
}

.info-content a:hover {
    text-decoration: underline;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
}

/* Footer */
.footer {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links h5,
.footer-contact h5 {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--color-white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--color-coral);
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--color-coral);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--color-coral-dark);
    transform: translateY(-4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .about-container {
        gap: 60px;
    }
    
    .location-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-floating-card {
        left: 20px;
        bottom: 20px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-image-side {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-img-secondary {
        right: 20px;
        bottom: -20px;
        width: 150px;
        height: 150px;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding-top: 60px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
}
