/* 
    Madrina's Bar - Styles
    Theme: Fresh, Airy, Terracotta & Sand
*/

:root {
    /* Palette */
    --color-terracotta: #C05640;
    --color-terracotta-dark: #9C4230;
    --color-sand: #F5F0E8;
    --color-sand-light: #FAFAF8;
    --color-text-dark: #2C2420;
    --color-text-light: #6B5E57;
    --color-white: #FFFFFF;
    --color-border: #E8E0D5;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-sand-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--color-terracotta);
    color: var(--color-white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    border: 2px solid var(--color-terracotta);
    transition: var(--transition);
}

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

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--color-text-dark);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    border: 2px solid var(--color-text-dark);
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--color-text-dark);
    color: var(--color-white);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--color-terracotta);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid var(--color-terracotta);
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--color-terracotta);
    color: var(--color-white);
}

/* Eyebrow Text */
.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-terracotta);
    margin-bottom: 16px;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

p {
    color: var(--color-text-light);
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.text-accent {
    color: var(--color-terracotta);
    font-style: italic;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.logo .dot {
    color: var(--color-terracotta);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--color-text-dark);
}

.nav-links a:hover {
    color: var(--color-terracotta);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-dark);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-sand-light);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-text-dark);
}

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

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--color-sand-light) 0%, var(--color-sand) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

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

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

.hero-sub {
    font-size: 1.25rem;
    margin-bottom: 32px;
    color: var(--color-text-light);
}

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

.hero-image-wrapper {
    position: relative;
    height: 600px;
}

.img-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 85%;
    border-radius: 200px 200px 20px 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(192, 86, 64, 0.15);
}

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

.img-accent {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 45%;
    height: 45%;
    border-radius: 20px;
    overflow: hidden;
    border: 8px solid var(--color-sand-light);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.hero-badge {
    position: absolute;
    top: 40px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-badge span {
    background-color: var(--color-white);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-terracotta);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Sections */
.section {
    padding: var(--section-padding) 0;
}

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

.section-header h2 {
    margin-bottom: 16px;
}

/* About Section */
.about {
    background-color: var(--color-white);
}

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

.about-text p {
    margin-bottom: 24px;
}

.signature {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--color-terracotta);
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

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

/* Menu Section */
.menu {
    background-color: var(--color-sand);
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.menu-category {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-border);
}

.category-header h3 {
    margin-bottom: 0;
}

.tag {
    background-color: var(--color-sand);
    color: var(--color-text-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.menu-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.item-price {
    font-weight: 600;
    color: var(--color-terracotta);
    font-size: 1.1rem;
}

.item-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin: 0;
}

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

/* Gallery */
.gallery {
    padding: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 4px;
}

.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-item.large {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item:not(.large) {
    grid-column: span 3;
}

/* Visit Section */
.visit {
    background-color: var(--color-white);
}

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

.visit-info h2 {
    margin-bottom: 20px;
}

.visit-info > p {
    margin-bottom: 40px;
}

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

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

.contact-item svg {
    color: var(--color-terracotta);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item strong {
    display: block;
    color: var(--color-text-dark);
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
    font-size: 1rem;
}

.contact-item a {
    color: var(--color-terracotta);
    font-weight: 500;
}

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

.visit-map {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.map-placeholder {
    position: relative;
}

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

.map-placeholder .btn-primary {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-white);
    color: var(--color-terracotta);
    border-color: var(--color-white);
}

.map-placeholder .btn-primary:hover {
    background-color: var(--color-sand);
    border-color: var(--color-sand);
}

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

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.footer-brand h3 {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--color-sand);
    opacity: 0.8;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--color-sand);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-terracotta);
}

.footer-copy {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(245, 240, 232, 0.2);
}

.footer-copy p {
    color: var(--color-sand);
    opacity: 0.6;
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-container,
    .about-container,
    .visit-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero {
        padding-top: 100px;
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        height: 400px;
        order: -1;
    }
    
    .img-main {
        width: 80%;
        right: 10%;
    }
    
    .img-accent {
        width: 40%;
        bottom: 20px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
        height: 300px;
    }
    
    .gallery-item:not(.large) {
        grid-column: span 1;
        height: 250px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero-image-wrapper {
        height: 300px;
    }
    
    .img-main {
        width: 90%;
        right: 5%;
    }
    
    .img-accent {
        width: 45%;
        bottom: 10px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.large,
    .gallery-item:not(.large) {
        grid-column: span 1;
        height: 250px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}
