/* ================= RESET & GLOBAL ================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-color);
    color: var(--white-color);
    overflow-x: hidden;
    line-height: 1.6;
}

:root {
    --primary-color: #0F4C81;
    --secondary-color: #3BAFDA;
    --dark-color: #0D1117;
    --dark-light: #161B22;
    --white-color: #FFFFFF;
    --text-color: #C9D1D9;
    --border-color: rgba(255, 255, 255, 0.08);
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ================= CONTAINER ================= */

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

/* ================= HEADER & NAVBAR ================= */

.header {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--dark-color);
    display: flex;
    flex-direction: column;
}

/* ===================Estilo anterior do video de fundo */

/* Vídeo de fundo do hero */
/* .hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
} */

/* ===================Fim dEstilo anterior do video de fundo */

/* =================== Estilo atual do video de fundo */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* 🌊 AJUSTADO: Agora com o fundo Azul Noturno em vez de preto para dar o look premium */
.hero-video-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.5); /* Mistura o azul #0A192F com 50% de transparência */
    z-index: 1; /* Fica à frente do vídeo, mas atrás do texto */
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;

    /* 🚀 TRUQUES DE NITIDEZ E ACELERAÇÃO: */
    image-rendering: -webkit-optimize-contrast; 
    image-rendering: crisp-edges;               
    backface-visibility: hidden;

    /* ✨ NOVOS AJUSTES VISUAIS: */
    transform: translateZ(0) scale(1.02); /* Junta a aceleração com um zoom leve para alinhar os píxeis */
    filter: contrast(1.05) brightness(0.95); /* Dá mais vida aos tons azuis e controla a luz do teto */
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
    /* Esconde o overlay azul se o vídeo não carregar */
    .hero-video-wrap::after {
        display: none;
    }
}

/* =================== Fim Estilo atual do video de fundo */







/* Legado: overlay desactivado (fundo é só o vídeo) */
.overlay {
    display: none;
}

.navbar {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 3px;
    transition: var(--transition);
}




.logo a:hover {
    color: var(--white-color);
    text-shadow: 0 0 20px rgba(59, 175, 218, 0.5);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--white-color);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

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

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

/* ================= HAMBURGER MENU ================= */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 15;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ================= HERO SECTION ================= */

.hero {
    position: relative;
    z-index: 10;
    min-height: calc(100vh - 90px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.hero-content {
    max-width: 850px;
    animation: fadeInUp 0.8s ease 0.3s both;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-tag {
    display: inline-block;
    background: rgba(59, 175, 218, 0.15);
    border: 1px solid rgba(59, 175, 218, 0.3);
    color: var(--secondary-color);
    padding: 12px 28px;
    border-radius: 50px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInDown 0.6s ease;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--white-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-hero {
    animation: scaleIn 0.6s ease 0.8s both;
}

/* ================= BUTTONS ================= */

.btn-primary,
.btn-secondary,
.btn-large {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    isolation: isolate;
    max-width: 100%;
}

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

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--secondary-color);
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    z-index: -1;
    pointer-events: none;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(15, 76, 129, 0.3);
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-primary:active,
.btn-secondary:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-primary > span:not(.ripple),
.btn-primary > svg,
.btn-secondary > span:not(.ripple),
.btn-large > span:not(.ripple) {
    position: relative;
    z-index: 1;
}

/* Ripple no clique — absoluto para não “explodir” o tamanho do botão */
.btn-primary .ripple,
.btn-secondary .ripple,
.btn-large .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: btnRipple 0.55s ease-out forwards;
    pointer-events: none;
    z-index: 0;
}

@keyframes btnRipple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

.btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(59, 175, 218, 0.3);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.05rem;
    gap: 12px;
}

.btn-hero {
    min-width: 200px;
    flex-shrink: 0;
}

.hero-buttons .btn-hero {
    width: auto;
    max-width: min(100%, 320px);
}

.add-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 175, 218, 0.2);
    border-radius: 50%;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid rgba(59, 175, 218, 0.3);
}

.add-btn:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: scale(1.1);
}

/* ================= ANIMATIONS ================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

/* ================= SEÇÃO SOBRE ================= */

.sobre {
    padding: 120px 0;
    background: var(--dark-color);
    position: relative;
}

.sobre::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--white-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.feature-box {
    background: linear-gradient(135deg, rgba(59, 175, 218, 0.08), rgba(15, 76, 129, 0.08));
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(59, 175, 218, 0.15);
}

.feature-box:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    transition: var(--transition);
    color: var(--secondary-color);
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--white-color);
    text-shadow: 0 0 20px rgba(59, 175, 218, 0.5);
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white-color);
}

.feature-box p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ================= SEÇÃO DESTAQUES ================= */

.destaques {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--dark-color) 0%, var(--dark-light) 100%);
    position: relative;
}

.destaques::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.dishes-grid {
    display: grid;
    /* Força exatamente 2 colunas controladas de no máximo 500px cada */
    grid-template-columns: repeat(2, minmax(320px, 500px));
    gap: 30px;
    margin-bottom: 60px;
    justify-content: center;
    /* Centraliza os dois cards no meio do ecrã */
}

.dish-card {
    background: var(--dark-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dish-card:hover {
    transform: translateY(-15px);
    border-color: var(--secondary-color);
    box-shadow: 0 30px 70px rgba(59, 175, 218, 0.2);
}

.dish-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #0F4C81, #3BAFDA);
}

.dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.dish-card:hover .dish-image img {
    transform: scale(1.12) rotate(2deg);
}

.dish-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(59, 175, 218, 0.9);
    color: var(--dark-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    backdrop-filter: blur(10px);
    animation: slideUp 0.6s ease;
}

.dish-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dish-category {
    display: inline-block;
    background: rgba(59, 175, 218, 0.15);
    color: var(--secondary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
    width: fit-content;
}

.dish-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--white-color);
    line-height: 1.3;
}

.dish-card p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
    /* Faz o texto esticar para empurrar o footer para baixo */
}

.dish-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    /* Garante o alinhamento no fundo do card */
}

.price {
    color: var(--secondary-color);
    font-size: 1.6rem;
    font-weight: 700;
}

.cta-wrapper {
    text-align: center;
}

/* 📱 Responsividade para ecrãs menores (Telemóveis) */
@media (max-width: 768px) {
    .dishes-grid {
        grid-template-columns: 1fr;
        /* Passa a ter apenas 1 coluna */
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ================= SEÇÃO CONTACTO ================= */

.contacto {
    padding: 120px 0;
    background: var(--dark-color);
    position: relative;
}

.contacto::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

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

.contact-content {
    max-width: 550px;
}

.contact-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 25px;
    font-weight: 700;
}

.contact-content p {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: rgba(59, 175, 218, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: var(--transition);
}

.info-item:hover {
    border-color: var(--secondary-color);
    background: rgba(59, 175, 218, 0.12);
    transform: translateX(8px);
}

.info-icon {
    font-size: 2rem;
    display: block;
    min-width: 50px;
    text-align: center;
    color: var(--secondary-color);
    transition: var(--transition);
}

.info-item:hover .info-icon {
    color: var(--white-color);
    transform: scale(1.15);
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--white-color);
}

.info-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.info-link:hover {
    transform: translateX(4px);
}

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

.contacto-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-image {
    position: relative;
}

.contact-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.contact-image:hover img {
    transform: scale(1.03);
}

/* ================= FOOTER ================= */

.footer {
    background: var(--dark-light);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-color);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ================= RESPONSIVO ================= */

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .dishes-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .contacto-buttons {
        flex-direction: column;
    }

    .contacto-buttons .btn-primary,
    .contacto-buttons .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 20px 5%;
        gap: 15px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero {
        padding: 30px;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }


    .hero h1 {
        font-size: 2.2rem;
    }

    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .sobre,
    .destaques,
    .contacto {
        padding: 80px 0;
    }

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

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

    .contact-image img {
        min-height: 300px;
    }

    .btn-hero {
        min-width: 0;
        width: 100%;
        max-width: 320px;
        justify-content: center;
        text-align: center;
    }

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

    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .dish-image {
        height: 180px;
    }

    .contact-info {
        gap: 15px;
    }

    .info-item {
        padding: 15px;
    }

    .contacto-buttons {
        flex-direction: column;
        width: 100%;
    }

    .contacto-buttons .btn-primary,
    .contacto-buttons .btn-secondary {
        width: 100%;
    }

    .logo a {
        font-size: 1.5rem;
    }

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


/* ================= HEADER ================= */

.header {

    position: relative;

    min-height: 100vh;

    overflow: hidden;

    background: var(--dark-color);

}

/* ================= NAVBAR ================= */

.navbar {

    position: relative;
    z-index: 10;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 25px 8%;

    border-bottom: 1px solid var(--border-color);

    backdrop-filter: blur(10px);

}

/* ================= LOGO ================= */

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    transition: var(--transition);
    animation: slideInLeft 0.6s ease;
}

.logo-img {
    /* 🚀 O TAMANHO IDEAL: Aumenta a presença do logo sem exagerar */
    height: 50px; 
    width: auto; /* IMPORTANTE: Mantém a proporção original sem achatar ou distorcer */
    
    object-fit: contain;
    display: block;
    
    /* 🎨 LIMPEZA: Remove o fundo quadrado e as bordas antigas */
    border-radius: 0; 
    padding: 0; 
    
    /* ⚡ TRANSIÇÃO: Mantém a animação suave que já tinhas */
    transition: var(--transition);
}

/* ✨ EFEITO PREMIUM (Opcional): Dá um toque interativo muito elegante ao passar o rato */
.logo-img:hover {
    transform: scale(1.04);
}

.logo-link:hover {
    transform: scale(1.1) rotate(-5deg);
}

.logo-text {
    display: none;
}

.logo-link:hover {
    color: var(--white-color);
    text-shadow: 0 0 20px rgba(59, 175, 218, 0.5);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (min-width: 768px) {
    .logo-text {
        display: inline;
    }
}

/* ================= NAV LINKS ================= */

.nav-links {

    display: flex;
    align-items: center;

    gap: 30px;

    list-style: none;

}

.nav-links a {

    text-decoration: none;

    color: var(--white-color);

    font-size: 1rem;
    font-weight: 500;

    position: relative;

    transition: 0.3s ease;

}

/* HOVER */

.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0%;
    height: 2px;

    background: var(--secondary-color);

    transition: 0.3s ease;

}

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

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

/* ================= HERO ================= */

.hero {

    position: relative;
    z-index: 10;

    min-height: calc(100vh - 90px);

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 40px;

}

/* HERO CONTENT */

.hero-content {

    max-width: 850px;

}

/* TAG */

.hero-tag {

    display: inline-block;

    background: rgba(59, 175, 218, 0.12);

    border: 1px solid rgba(59, 175, 218, 0.25);

    color: var(--secondary-color);

    padding: 10px 22px;

    border-radius: 50px;

    margin-bottom: 25px;

    font-size: 0.95rem;

}

/* HERO TITLE */

.hero-content h1 {

    font-size: 4.5rem;

    line-height: 1.1;

    margin-bottom: 25px;

}

/* HERO TEXT */

.hero-content p {

    color: var(--text-color);

    line-height: 1.8;

    font-size: 1.15rem;

    margin-bottom: 40px;

}

/* ================= BUTTONS ================= */

.hero-buttons,
.contacto-buttons {

    display: flex;
    justify-content: center;
    gap: 20px;

    flex-wrap: wrap;

}

/* BUTTONS */

.btn-primary,
.btn-secondary {

    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 15px 35px;

    border-radius: 50px;

    text-decoration: none;

    font-weight: 600;

    position: relative;
    overflow: hidden;
    isolation: isolate;

    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;

}

/* PRIMARY */

.btn-primary {

    background: var(--primary-color);

    color: var(--white-color);

}

.btn-primary:hover {

    background: var(--secondary-color);

    transform: translateY(-4px);

}

/* SECONDARY */

.btn-secondary {

    border: 1px solid rgba(255, 255, 255, 0.15);

    background: rgba(255, 255, 255, 0.05);

    color: var(--white-color);

}

.btn-secondary:hover {

    background: var(--secondary-color);

    border-color: var(--secondary-color);

    transform: translateY(-4px);

}

/* ================= SOBRE ================= */

.sobre {

    padding: 120px 8% 40px;

}

/* SECTION TITLE */

.section-title {

    text-align: center;

    max-width: 800px;

    margin: auto;

}

/* TAG */

.section-tag {

    display: inline-block;

    color: var(--secondary-color);

    margin-bottom: 20px;

    font-size: 1rem;
    font-weight: 500;

}

/* TITLE */

.section-title h2 {

    font-size: 3rem;

    margin-bottom: 20px;

}

/* TEXT */

.section-title p {

    color: var(--text-color);

    line-height: 1.8;

    font-size: 1.1rem;

}

/* ================= EXPERIÊNCIA ================= */

.experiencia {

    padding: 80px 8% 120px;

}

/* CONTAINER */

.experiencia-container {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 30px;

}

/* CARD */

.experiencia-card {

    background: var(--dark-light);

    border: 1px solid var(--border-color);

    padding: 40px 30px;

    border-radius: 30px;

    transition: 0.3s ease;

}

/* HOVER */

.experiencia-card:hover {

    transform: translateY(-8px);

    border-color: var(--secondary-color);

}

/* ICON */

.icon {

    font-size: 2.5rem;

    margin-bottom: 25px;

}

/* TITLE */

.experiencia-card h3 {

    font-size: 1.5rem;

    margin-bottom: 15px;

}

/* TEXT */

.experiencia-card p {

    color: var(--text-color);

    line-height: 1.8;

}

/* ================= CTA ================= */

.cta-menu {

    padding: 0 8% 120px;

}

/* CONTENT */

.cta-content {

    background:
        linear-gradient(135deg,
            #0F4C81,
            #3BAFDA);

    padding: 80px 40px;

    border-radius: 40px;

    text-align: center;

}

/* TAG */

.cta-content span {

    display: inline-block;

    margin-bottom: 20px;

    opacity: 0.9;

}

/* TITLE */

.cta-content h2 {

    font-size: 3.5rem;

    margin-bottom: 20px;

}

/* TEXT */

.cta-content p {

    max-width: 700px;

    margin: auto auto 40px;

    line-height: 1.8;

    font-size: 1.1rem;

}

/* ================= CONTACTO ================= */

.contacto {

    padding: 0 8% 120px;

}

/* CONTAINER */

.contacto-container {

    background: var(--dark-light);

    border: 1px solid var(--border-color);

    border-radius: 40px;

    padding: 80px 40px;

    text-align: center;

}

/* CONTENT */

.contacto-content span {

    display: inline-block;

    margin-bottom: 20px;

    color: var(--secondary-color);

}

/* TITLE */

.contacto-content h2 {

    font-size: 3rem;

    margin-bottom: 20px;

}

/* TEXT */

.contacto-content p {

    color: var(--text-color);

    line-height: 1.8;

    max-width: 700px;

    margin: auto auto 40px;

}

/* ================= FOOTER ================= */

.footer {

    border-top: 1px solid var(--border-color);

    padding: 40px 20px;

    text-align: center;

}

/* FOOTER CONTENT */

.footer-content h3 {

    color: var(--secondary-color);

    margin-bottom: 10px;

    letter-spacing: 2px;

}

.footer-content p {

    color: #8B949E;

}

.admin-link {
    color: rgba(255, 255, 255, 0.15);
    text-decoration: none;
    font-size: 1.30rem;
    transition: 0.3s;
}

.admin-link:hover {
    color: var(--secondary-color);
}



/* ========Estilo do link do desenvolvedor======== */

/* ========================================================
   💼 BOTÃO D'CRÓ SOFT - AZUL TECH COM EFEITO DE BRILHO
   ======================================================== */

.btn-dcro {
    text-decoration: none;
    position: relative; 
    z-index: 2;
    font-family: inherit;
    /* Herda a tipografia exata do teu site */
    font-size: 13px;
    font-weight: 600;

    /* 🎨 PALETA DE CORES INICIAL (Azul Escuro Premium) */
    color: #ffffff;
    /* Texto branco para dar contraste no azul */
    background-color: #1e293b;
    /* Azul escuro ardósia sofisticado */

    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    /* 🔒 FIXA A LARGURA (O botão mantém sempre o tamanho) */
    width: 115px;
    height: 32px;
    box-sizing: border-box;

    position: relative;
    overflow: hidden;
    /* Esconde o texto que sai e a seta que espera fora */

    /* ⏱️ TRANSIÇÕES (Adicionado o 'transform' para o zoom suave) */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ícone de código (Fica fixo na esquerda) */
.btn-dcro .icone-codigo {
    color: #38bdf8;
    /* Azul celeste brilhante para destacar no escuro */
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* A janela invisível que controla o slide */
.janela-conteudo {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
}

/* O texto começa na posição original */
.btn-dcro .texto-dcro {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    white-space: nowrap;
    transform: translateX(0);
    opacity: 1;
}

/* A seta começa "escondida" lá na direita, fora do botão */
.btn-dcro .icone-seta {
    position: absolute;
    left: 25px;
    /* Alinha no centro onde o texto costuma estar */
    transform: translateX(60px);
    /* Empurrada bem para a direita */
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

/* ========================================================
   🚀 EFEITO HOVER (PASSAR O MOUSE)
   ======================================================== */

.btn-dcro:hover {
    color: #ffffff;
    background-color: #0284c7;
    /* 🔵 Transição para um azul vivo e moderno no background */

    /* 🌟 ZOOM SUAVE + MOVIMENTO PARA A DIREITA */
    transform: translateX(4px) scale(1.05);

    /* ✨ BOX SHADOW (Brilho azul neon suave e profissional) */
    box-shadow: 0 0 15px rgba(2, 132, 199, 0.6);
}

/* ⬅️ O texto é disparado para a esquerda e desaparece */
.btn-dcro:hover .texto-dcro {
    transform: translateX(-80px);
    opacity: 0;
}

/* ➡️ A seta entra vinda da direita e para no centro */
.btn-dcro:hover .icone-seta {
    transform: translateX(0);
    opacity: 1;
}

/* O ícone de código dá um leve salto no zoom */
.btn-dcro:hover .icone-codigo {
    transform: scale(1.1);
    color: #ffffff;
    /* Fica branco no hover para combinar com a seta */
}





/* ================= RESPONSIVO ================= */

@media(max-width: 992px) {

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    .cta-content h2,
    .contacto-content h2 {
        font-size: 2.5rem;
    }

}

@media(max-width: 768px) {

    .navbar {

        flex-direction: column;

        gap: 20px;

    }

    .nav-links {

        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;

    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

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

    .cta-content h2,
    .contacto-content h2 {
        font-size: 2rem;
    }

    .sobre,
    .experiencia,
    .cta-menu,
    .contacto {

        padding-left: 5%;
        padding-right: 5%;

    }

}

@media(max-width: 500px) {

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .btn-primary,
    .btn-secondary {

        width: 100%;

    }

    .cta-content,
    .contacto-container {

        padding: 60px 25px;

    }

}



/* ====================Destaques estilos==================================== */
/* ================= DESTAQUES DINÂMICOS D'MAR ================= */

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(340px, 1fr)
    );
    gap: 35px;
    margin-top: 60px;
}

.destaque-card {
    background: var(--dark-light);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.destaque-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 175, 218, 0.15);
    box-shadow:
        0 25px 45px rgba(0,0,0,0.35),
        0 0 25px rgba(59, 175, 218, 0.08);
}

/* IMAGEM */

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform .7s ease;
}

.destaque-card:hover .product-image img {
    transform: scale(1.08);
}

/* overlay premium */

.product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(13,17,23,.95),
        transparent 45%
    );
}

/* BADGE SOBRE IMAGEM */

.badge-destaque {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;

    background: rgba(15, 76, 129, 0.9);
    backdrop-filter: blur(10px);

    color: var(--white-color);
    padding: 10px 18px;

    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;

    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        0 10px 20px rgba(0,0,0,.2);
}

/* CONTEÚDO */

.product-info {
    padding: 28px;
    margin-top: -40px;
    position: relative;
    z-index: 3;
}

/* CATEGORIA */

.product-category {
    display: inline-block;

    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;

    margin-bottom: 14px;
}

/* TÍTULO */

.product-info h3 {
    color: var(--white-color);
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.3;
}

/* DESCRIÇÃO */

.product-info p {
    color: var(--text-color);
    font-size: .96rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

/* FOOTER */

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

/* PREÇO */

.price {
    color: var(--white-color);
    font-size: 1.9rem;
    font-weight: 700;
}

/* detalhe do preço */

.price::before {
    content: "AOA ";
    font-size: .9rem;
    color: var(--secondary-color);
    font-weight: 500;
}
/* ====================Fim Destaques estilos==================================== */



/* ========================ver cardápio==================== */
/* ========================================================
   🍽 BOTÃO CARDÁPIO D'MAR — ANIMAÇÃO PREMIUM
   ======================================================== */

.cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.btn-cardapio {
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;

    color: var(--white-color);

    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );

    padding: 10px 18px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    width: 190px;
    height: 58px;

    box-sizing: border-box;

    position: relative;
    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        background .35s ease;
}

/* Ícone esquerdo */

.icone-cardapio {
    position: relative;
    z-index: 2;

    font-size: 18px;
    color: #fff;

    transition:
        transform .35s ease,
        color .35s ease;
}

/* Área invisível */

.janela-cardapio {
    display: flex;
    align-items: center;
    position: relative;

    width: 100%;
    height: 100%;
}

/* Texto */

.texto-cardapio {
    white-space: nowrap;

    transition:
        transform .35s cubic-bezier(0.4,0,0.2,1),
        opacity .25s ease;

    transform: translateX(0);
    opacity: 1;
}

/* Seta escondida */

.seta-cardapio {
    position: absolute;
    left: 38px;

    transform: translateX(70px);
    opacity: 0;

    transition:
        transform .35s cubic-bezier(0.4,0,0.2,1),
        opacity .25s ease;
}

/* ========================================================
   🚀 HOVER
   ======================================================== */

.btn-cardapio:hover {
    transform: translateY(-5px) scale(1.04);

    box-shadow:
        0 12px 30px rgba(59,175,218,.25),
        0 0 20px rgba(59,175,218,.15);

    background: linear-gradient(
        135deg,
        #1366ad,
        #49c4f5
    );
}

/* Texto sai */

.btn-cardapio:hover .texto-cardapio {
    transform: translateX(-100px);
    opacity: 0;
}

/* Seta entra */

.btn-cardapio:hover .seta-cardapio {
    transform: translateX(0);
    opacity: 1;
}

/* Ícone anima */

.btn-cardapio:hover .icone-cardapio {
    transform: scale(1.15);
}

/* =====================
   FIX: hover não "cobre" tudo
   Botão do cardápio precisa ficar acima/sem afectar o resto
   ===================== */
.btn-cardapio {
    position: relative;
    z-index: 20;
}

.btn-cardapio::before,
.btn-cardapio::after {
    pointer-events: none;
}

.btn-cardapio:hover {
    z-index: 30;
}

/* O footer do site tem de ficar sempre por baixo do botão em hover */
.footer,
.footer * {
    position: relative;
    z-index: 1;
}

/* =====================
   DCRO CREDIT (feito por / D'cró Soft)
   ===================== */
.dcro-credit {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    text-align: center;
    gap: 6px;
}

.dcro-credit-label {
    font-size: 13px;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

@media (max-width: 768px) {
    .dcro-credit {
        position: relative;
        z-index: 3;
    }
    .dcro-credit-label {
        z-index: 3;
        position: relative;
    }
    .dcro-credit .btn-dcro {
        z-index: 2;
    }
}

/* ========================Fim ver cardápio==================== */