/* ========================================
   RESET E BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #fff;
}

/* ========================================
   CONTAINER E LAYOUT
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
    white-space: nowrap;
}

.btn:focus {
    outline: 2px solid #c0392b;
    outline-offset: 2px;
}

.btn-primary {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    color: white;
    border-color: #c0392b;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #a93226, #c0392b);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 57, 43, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #c0392b;
    border-color: #c0392b;
}

.btn-secondary:hover {
    background: #c0392b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 57, 43, 0.3);
}

/* ========================================
   HEADER E NAVEGAÇÃO
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo {
    height: 50px;
    width: auto;
    display: block;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    color: #2c3e50;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link:focus {
    color: #c0392b;
}

.nav-link:focus {
    outline: 2px solid #c0392b;
    outline-offset: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c0392b;
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23c0392b" width="1200" height="800"/><circle fill="%23e74c3c" cx="200" cy="200" r="100" opacity="0.3"/><circle fill="%23e74c3c" cx="800" cy="400" r="150" opacity="0.2"/><circle fill="%23e74c3c" cx="1000" cy="600" r="80" opacity="0.4"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: 70px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1.5rem;
    color: #ecf0f1;
    font-weight: 400;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2.5rem;
    color: #bdc3c7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: 10px auto;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   SECTIONS
   ======================================== */
section {
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-header {
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    color: #555;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.feature h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* ========================================
   MENU SECTION
   ======================================== */
.menu {
    background: white;
}

.menu-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.menu-btn {
    padding: 10px 25px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

.menu-btn:hover,
.menu-btn.active {
    background: #c0392b;
    color: white;
    border-color: #c0392b;
}

.menu-btn:focus {
    outline: 2px solid #c0392b;
    outline-offset: 2px;
}

.menu-content {
    display: none;
}

.menu-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
}

.menu-item {
    background: #f8f9fa;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 15px;
    border-left: 4px solid #c0392b;
    transition: all 0.3s ease;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.menu-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.menu-item p {
    color: #666;
    margin-bottom: 1rem;
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
    flex-grow: 1;
}

.price {
    background: #c0392b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    align-self: flex-start;
    margin-top: auto;
}

/* ========================================
   HOURS SECTION
   ======================================== */
.hours {
    background: #2c3e50;
    color: white;
}

.hours .section-title {
    color: white;
}

.hours .section-subtitle {
    color: #bdc3c7;
}

.hours-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
    gap: 1rem;
}

.hours-item.closed {
    opacity: 0.6;
}

.day {
    font-weight: 600;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.time {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: #e74c3c;
    font-weight: 700;
}

.hours-info {
    text-align: center;
}

.hours-info h3 {
    margin-bottom: 1.5rem;
    color: #e74c3c;
}

.hours-info p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.reservation-info {
    padding: 1.5rem;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 10px;
    margin-top: 1.5rem;
}

.reservation-info a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
}

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

/* ========================================
   LOCATION SECTION
   ======================================== */
.location {
    background: #f8f9fa;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.address h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.address p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    color: #555;
}

.amenities {
    margin-top: 2rem;
}

.amenities h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.amenity-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
}

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

.contact-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-item a {
    color: #c0392b;
    text-decoration: none;
    font-weight: 600;
}

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

.contact-form {
    background: #f8f9fa;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo .logo {
    height: 40px;
}

.footer-logo .logo-text {
    color: white;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

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

.footer-info p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.footer-social {
    text-align: right;
}

.social-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    margin-left: 1rem;
}

.social-link:hover {
    color: white;
}

.social-link:focus {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 2px 2px 3px #999;
    z-index: 999;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 3px 3px 5px #999;
}

.whatsapp-float:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

/* ========================================
   RESPONSIVE DESIGN - TABLET (768px)
   ======================================== */
@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0;
    }

    .hero {
        margin-top: 60px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        padding: 0.5rem 0;
    }

    .nav-toggle {
        display: flex;
    }

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

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-nav {
        flex-direction: column;
        align-items: center;
    }

    .menu-btn {
        width: 100%;
        max-width: 300px;
    }

    .hours-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

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

    .social-link {
        margin: 0 0.5rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 25px;
    }

    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }

    .map-container iframe {
        height: 250px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 80%;
        max-width: 300px;
    }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE (480px)
   ======================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-logo {
        gap: 10px;
    }

    .logo {
        height: 40px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .hero {
        margin-top: 60px;
        height: 80vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .menu-item {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hours-item {
        flex-direction: column;
        text-align: center;
    }

    .amenity {
        flex-direction: column;
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 10px;
        right: 10px;
    }

    .whatsapp-icon {
        width: 25px;
        height: 25px;
    }

    .map-container iframe {
        height: 200px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    .btn-primary {
        border: 3px solid #000;
    }
    
    .nav-link::after {
        height: 3px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .header,
    .hero-scroll,
    .nav-toggle,
    .contact-form,
    .whatsapp-float {
        display: none;
    }
    
    .hero {
        height: auto;
        background: none;
        color: #000;
        padding: 2rem 0;
    }
    
    section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

a:focus {
    outline: 2px solid #c0392b;
    outline-offset: 2px;
}

/* Skip to main content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #c0392b;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}
