/* === Brand Colors === */
:root {
    --blue: #001489;
    --blue-dark: #000f63;
    --gold: #84754E;
    --gold-light: #a8956a;
    --text: #333333;
    --text-light: #666666;
    --bg-light: #f8f7f4;
}

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

body {
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--gold);
}

.section-padding {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 1rem;
}

/* === Navbar === */
#mainNav {
    background: var(--blue);
    transition: all 0.4s ease;
    padding: 0.5rem 0;
}

#mainNav.navbar-scrolled {
    background: var(--blue);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
    padding: 0.3rem 0;
}

.nav-logo {
    height: 50px;
    transition: height 0.3s;
}

#mainNav.navbar-scrolled .nav-logo {
    height: 40px;
}

#mainNav .nav-link {
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

#mainNav.navbar-scrolled .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

#mainNav .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

#mainNav.navbar-scrolled .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

#mainNav .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    padding: 0.4rem 0.6rem;
}

#mainNav.navbar-scrolled .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

#mainNav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mainNav.navbar-scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* === Hero === */
.hero-section {
    min-height: 75vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: url('images/sala_de_jantar.jpg');
    background-size: cover;
    background-position: center;
    -webkit-filter: blur(5px);
    filter: blur(5px);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    z-index: 0;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 10, 70, 0.4);
    z-index: 1;
}

.hero-logo {
    height: 80px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    border: 2px solid white;
    color: white;
    padding: 0.6rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.hero-btn:hover {
    background: white;
    color: var(--blue);
}

/* === About === */
.about-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* === Products === */
.bg-light {
    background-color: var(--bg-light) !important;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.product-img {
    height: 250px;
    overflow: hidden;
}

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

.product-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.3rem;
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.product-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.product-card-link:hover {
    color: inherit;
}

/* === Stats === */
.stats-section {
    background: var(--blue);
    padding: 4rem 0;
}

.stat-item {
    padding: 2rem 1rem;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-light);
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* === Contact === */
.contact-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--blue);
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-item a {
    color: var(--text-light);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--gold);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* === CTA === */
.cta-section {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    padding: 5rem 0;
}

.cta-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.cta-btn {
    background: white;
    color: var(--gold);
    border: none;
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: var(--blue);
    color: white;
}

/* === Footer === */
.site-footer {
    background: var(--blue-dark);
    padding: 4rem 0 1rem;
}

.footer-logo {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-about {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-heading {
    color: var(--gold-light);
    font-size: 1rem;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

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

.footer-hours {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin: 0;
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* === Tagline Section === */
.tagline-section {
    background: var(--blue-dark);
    padding: 5rem 0;
}

.tagline-label {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
}

.tagline-text {
    font-size: 2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* === Services Section === */
.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

.service-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: all 0.3s;
    height: 100%;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.service-icon {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.3rem;
    color: var(--blue);
    margin-bottom: 0.75rem;
}

.service-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === Service Icon Hover === */
.service-icon svg {
    transition: transform 0.3s, color 0.3s;
}

.service-card:hover .service-icon {
    color: var(--blue);
}

.service-card:hover .service-icon svg {
    transform: scale(1.15);
}

/* === Active Nav Link === */
#mainNav .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* === WhatsApp Button === */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 20, 137, 0.4);
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    background: var(--blue-dark);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 20, 137, 0.5);
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    z-index: 1001;
    padding: 1.25rem 0;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
    flex: 1;
    min-width: 200px;
}

.cookie-content a {
    color: var(--gold-light);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--gold);
    color: white;
}

.cookie-btn-accept:hover {
    background: var(--gold-light);
}

.cookie-btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    border-color: white;
    color: white;
}

@media (max-width: 767px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* === Footer Privacy Link === */
.footer-privacy-link {
    color: rgba(255, 255, 255, 0.5);
}

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

/* === Responsive === */
@media (max-width: 991px) {
    #mainNav .navbar-collapse {
        background: var(--blue-dark);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 0.5rem;
    }

    #mainNav .navbar-collapse .nav-link {
        color: rgba(255, 255, 255, 0.85) !important;
    }

    #mainNav .navbar-collapse .nav-link:hover {
        background: rgba(255, 255, 255, 0.15);
        color: white !important;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

    .hero-logo {
        height: 60px;
    }

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

    .section-padding {
        padding: 4rem 0;
    }

    .about-card {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

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

    .tagline-text {
        font-size: 1.4rem;
    }

    .tagline-section {
        padding: 3rem 0;
    }
}
