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

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

h1, h2, h3, .rest-logo {
    font-family: 'Playfair Display', serif;
}

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

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

.btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    height: 70px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.header-left a:hover, .header-right a:hover {
    color: #888;
}

.header-center {
    position: relative;
    display: flex;
    justify-content: center;
    width: 200px;
}

.logo-badge {
    position: absolute;
    top: -35px;
    background-color: #1a1a1a;
    color: #fff;
    width: 180px;
    padding: 30px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.logo-top {
    font-size: 0.6rem;
    letter-spacing: 2px;
}

.logo-mid {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 5px 0;
}

.logo-bot {
    font-size: 0.55rem;
    letter-spacing: 2px;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: calc(100vh - 70px);
    min-height: 600px;
    background-color: #111;
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/hero-banner.png');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-banner {
    background-color: rgba(26, 20, 20, 0.85);
    padding: 3rem 4rem;
    text-align: center;
    border-radius: 4px;
    max-width: 800px;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-banner h2 {
    font-size: 3rem;
    color: #f7a2a2;
    margin-bottom: 1rem;
    font-style: italic;
}

.hero-banner p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.hero-bottom {
    position: absolute;
    bottom: 2rem;
    left: 0; right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero-contact {
    text-align: left;
}

.hero-contact .subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.hero-contact .phone {
    font-size: 1.2rem;
}

.hero-contact .phone span {
    font-size: 2.5rem;
    font-weight: 700;
}

.hero-tripadvisor {
    text-align: center;
    max-width: 300px;
}

.ta-badge {
    border: 2px solid #fff;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    margin: 0 auto 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.ta-badge span { font-size: 0.7rem; }
.ta-badge strong { font-size: 0.9rem; margin: 4px 0; text-align: center; line-height: 1.2;}
.ta-circles { color: #00aa6c; margin: 5px 0; }

/* RESTAURANT SECTIONS */
.restaurant-section {
    padding: 6rem 0;
}

.rest-top {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.rest-image {
    flex: 1;
}

.rest-image img {
    width: 100%;
    border-radius: 20px 100px 20px 100px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.rest-info {
    flex: 1;
}

.rest-logo {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #4a5c39;
}

.rest-logo span {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 3px;
    display: block;
    color: #888;
}

.rest-info .desc {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.socials {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.socials a {
    width: 36px;
    height: 36px;
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

.horario {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.horario i {
    font-size: 1.5rem;
    margin-top: 4px;
}

.horario strong {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.contact-links a {
    display: block;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.gallery {
    display: flex;
    width: 100%;
}

.gal-img {
    flex: 1;
    height: 350px;
}

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

/* SPECIFIC RESTAURANTS */
/* Magnolias */
.magnolias {
    background-color: #f4ece1;
}
.btn-magnolias {
    background-color: #6a7c59;
    color: #fff;
}
.btn-magnolias:hover { background-color: #556647; }

/* Sobre Maderos */
.sobre-maderos {
    background-color: #1a1a1a;
    color: #fff;
}
.sobre-maderos .rest-image img {
    border-radius: 10px;
}
.sm-logo {
    color: #fff;
    font-size: 2.5rem;
    text-align: center;
}
.sm-logo .sm-top {
    font-size: 1.2rem;
    border: 1px solid #d68d2b;
    padding: 2px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
    color: #d68d2b;
}
.btn-maderos {
    background-color: #d68d2b;
    color: #fff;
}
.btn-maderos:hover { background-color: #c07a22; }
.sobre-maderos .contact-links a { color: #ccc; }
.sobre-maderos .socials a { background-color: #111; border: 1px solid rgba(255,255,255,0.2); }

/* Bonis */
.bonis {
    background-color: #e6dcd0;
}
.bonis-logo {
    color: #333;
    font-size: 4rem;
}
.bonis-logo small {
    font-size: 0.8rem;
    letter-spacing: 4px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 5px 0;
    display: inline-block;
    margin-top: 10px;
}

/* BIENVENIDOS */
.bienvenidos {
    padding: 6rem 0;
    background-color: #fff;
}

.bienvenidos-wrapper {
    display: flex;
    gap: 4rem;
}

.bienvenidos-text {
    flex: 1;
}

.bienvenidos-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.bienvenidos-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.bienvenidos-logos {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.b-logo-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}

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

.b-logo {
    width: 150px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    text-align: center;
}
.magnolias-b { color: #c9a4a7; }
.sm-b { color: #333; font-size: 1.2rem; }
.bonis-b { border: 1px solid #333; padding: 10px; font-size: 1.8rem; }

.b-logo-item p {
    flex: 1;
    font-size: 0.9rem;
    color: #666;
}

/* CONTACTO FORM */
.contacto-form {
    background-color: #111;
    background-image: url('https://images.unsplash.com/photo-1556910103-1c02745aae4d?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 6rem 0;
    color: #fff;
    text-align: center;
}

.form-container {
    max-width: 800px;
}

.contacto-form h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.contacto-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row input {
    flex: 1;
}

.contacto-form input, .contacto-form textarea {
    width: 100%;
    padding: 15px;
    background-color: #fff;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.btn-submit {
    background-color: #fff;
    color: #111;
    align-self: flex-start;
    padding: 15px 40px;
    font-weight: 600;
}
.btn-submit:hover {
    background-color: #ccc;
}

/* FOOTER */
.main-footer {
    background-color: #fff;
    color: #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-weight: 500;
}

.footer-logo {
    position: relative;
    width: 200px;
    display: flex;
    justify-content: center;
}

.footer-badge {
    top: -80px; /* Adjust to overlap correctly */
    clip-path: polygon(0 20%, 50% 0, 100% 20%, 100% 80%, 50% 100%, 0 80%);
    padding: 40px 20px;
}

.footer-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding: 2rem;
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid #eee;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .header { padding: 0 2rem; }
    .hero-banner { padding: 2rem; margin: 0 2rem; }
    .rest-top { flex-direction: column; text-align: center; }
    .horario { justify-content: center; }
    .socials { justify-content: center; }
    .bienvenidos-wrapper { flex-direction: column; }
    .gallery { flex-direction: column; }
    .gal-img { height: 250px; }
}

@media (max-width: 768px) {
    .header-left, .header-right { display: none; } /* Add burger menu later */
    .hero-bottom { flex-direction: column; gap: 2rem; align-items: center; text-align: center; position: relative; bottom: 0; padding-top: 2rem; }
    .hero-contact { text-align: center; }
    .form-row { flex-direction: column; }
    .footer-content { flex-direction: column; gap: 4rem; text-align: center; }
    .footer-info { text-align: center; }
    .footer-badge { position: relative; top: 0; }
}
