@charset "utf-8";
/* CSS Document */

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

:root {
    /* ===== CORES PRINCIPAIS ===== */
    --primary-color: #002FA7;
    --secondary-color: #ffffff;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --border-color: #ddd;
    
    /* ===== CORES NAVBAR ===== */
    --navbar-bg: transparent;
    --navbar-text: #000;
    --navbar-hover: #002FA7;
    --navbar-active: #002FA7;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: white;
}

/* ========== NAVBAR ========== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--navbar-bg);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    box-shadow: none;
    transition: all 0.3s ease;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--navbar-text);
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--navbar-hover);
}

.nav-menu a.active {
    color: var(--navbar-active);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--navbar-active);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--navbar-text);
    margin: 5px 0;
    transition: 0.3s;
}

/* ========== NAVBAR NAS PÁGINAS INTERNAS ========== */
body:has(.page-section) .navbar {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

body:has(.page-section) .nav-menu a {
    color: #000;
}

body:has(.page-section) .nav-menu a:hover {
    color: var(--primary-color);
}

body:has(.page-section) .nav-menu a.active {
    color: var(--primary-color);
}

body:has(.page-section) .nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

body:has(.page-section) .hamburger span {
    background-color: #000;
}

/* ========== HERO/HOMEPAGE ========== */
.hero {
    height: 100vh;
    width: 100%;
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #000;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide.active {
    display: block;
}

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

/* SLIDESHOW DESATIVADO - Comentado para uso futuro */
/*
.slide.fade {
    animation: fade 1s ease-in-out;
}

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

/* Indicador (01 / 04 com setas PNG) */
/*
.slide-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: center;
    font-size: 20px;
    color: white;
    background-color: rgba(255, 255, 255, 0);
    padding: 15px 30px;
    border-radius: 30px;
    z-index: 100;
    white-space: nowrap;
}

.slide-indicator span {
    color: var(--secondary-color);
}

/* Setas PNG */
/*
.arrow-prev,
.arrow-next {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.arrow-prev img,
.arrow-next img {
    height: 15px;
    width: auto;
    transition: filter 0.3s ease;
}

.arrow-prev:hover img,
.arrow-next:hover img {
    filter: brightness(0.5) hue-rotate(100deg);
}

/* Dots (pontos) */
/*
.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 100;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--secondary-color);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}
*/

/* ========== PAGE SECTIONS ========== */
/* Page Section com Scroll */
.page-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 80px 20px 60px 20px;
    height: auto;
    margin-top: 0;
    position: relative;
}

.page-section h1 {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    padding-top: 20px;
}

/* ========== MODAL (IMAGEM AMPLIADA) ========== */
.modal {
    display: none; /* Escondido por padrão */
    position: fixed;
    z-index: 2000; /* Fica acima da navbar (que tem 1001) */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Fundo preto semi-transparente */
    align-items: center;
    justify-content: center;
    cursor: zoom-out; /* Mostra a lupa de diminuir ao passar o rato no fundo */
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh; /* Garante que a foto não ultrapassa a altura do ecrã */
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    
    /* Animação suave de abertura */
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Botão de fechar (X) */
.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    user-select: none;
}

.close-modal:hover {
    color: var(--primary-color);
}

/* Ajuste para ecrãs pequenos */
@media (max-width: 768px) {
    .close-modal {
        top: 20px;
        right: 25px;
        font-size: 35px;
    }
}

/* ========== ABOUT PAGE ========== */
.about-section {
    padding-top: 140px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.about-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.55);
    z-index: 1;
}

.about-image {
    width: 90%;
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0);
    object-fit: cover;
    position: relative;
    z-index: 2;
}
/* ========== PASSPORT PAGE ========== */
.passport-container {
    width: 90%;
    max-width: 900px;
    height: 80vh;
    background-color: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.passport-content {
    display: flex;
    height: 100%;
    color: white;
}

.passport-left {
    width: 35%;
    background: linear-gradient(135deg, var(--secondary-color), #c9a961);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}

.passport-header {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.passport-photo {
    width: 150px;
    height: 180px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 20px;
}

.passport-seal {
    font-size: 40px;
    position: absolute;
    bottom: 30px;
    right: 20px;
    opacity: 0.5;
    color: var(--primary-color);
}

.passport-right {
    width: 65%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
}

.passport-entry {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.passport-entry.full {
    margin-bottom: 15px;
}

.passport-entry .label {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.passport-entry .value {
    font-size: 18px;
    color: white;
}

.bio-text {
    font-size: 14px;
    line-height: 1.6;
    color: white;
    margin-top: 10px;
}

/* ========== WORK PAGE ========== */
.work-section {
    padding-top: 120px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
}

.work-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.work-card:hover {
    transform: scale(1.05);
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-card:hover img {
    transform: scale(1.1);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-overlay h3 {
    color: white;
    font-size: 32px;
    letter-spacing: 2px;
}

/* Gallery Grid - Masonry Layout */
.gallery-grid {
    column-count: 3;
    column-gap: 20px;
    margin: 40px auto;
    max-width: 1200px;
    width: 100%;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
    break-inside: avoid;
}

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

/* Reels Grid - 3 Colunas Vertical */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px auto;
    max-width: 1200px;
    width: 100%;
}

.reel-container {
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 10px;
    background-color: #000;
}

.reel-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Back Link - Em Baixo */
.back-link {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
    width: 100%;
}

.back-link a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: var(--primary-color);
}

/* ========== CONTACT PAGE ========== */
.contact-section {
    padding-top: 140px;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.boarding-pass {
    width: 90%;
    max-width: 600px;
    background: white;
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.pass-top {
    background: linear-gradient(135deg, var(--primary-color), #333);
    color: white;
    padding: 30px;
    text-align: center;
}

.pass-header h2 {
    font-size: 28px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.pass-info {
    display: flex;
    justify-content: space-around;
    gap: 200px;
}

.info-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-box .label {
    font-size: 10px;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

.info-box .value {
    font-size: 16px;
    font-weight: bold;
}

.pass-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 20px 0;
}

.pass-form {
    padding: 30px;
}

.form-group {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group:focus {
    border-color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #071b4f;
    color: #ffffff;
}

.pass-barcode {
    background: white;
    padding: 15px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

/* ========== RESPONSIVO ========== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }

    .work-grid {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
        gap: 20px;
    }

    .gallery-grid {
        column-count: 2;
    }

    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .passport-content {
        flex-direction: column;
    }

    .passport-left,
    .passport-right {
        width: 100%;
    }

    .passport-container {
        height: auto;
        max-width: 800px;
    }

    .about-image {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: white;
        padding: 20px;
        gap: 10px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .work-grid {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100vh;
    }

    .page-section {
        padding-top: 100px;
        height: auto;
        min-height: 100vh;
    }

    .page-section h1 {
        font-size: 24px;
    }

    .gallery-grid {
        column-count: 1;
    }

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

    .boarding-pass {
        max-width: 90%;
    }

    .pass-info {
        flex-direction: column;
    }

    .about-image {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 15px;
    }

    .logo img {
        height: 35px;
    }

    .nav-menu {
        gap: 5px;
        padding: 15px;
    }

    .nav-menu a {
        font-size: 14px;
    }

    .passport-photo {
        width: 100px;
        height: 120px;
    }

    .passport-header {
        font-size: 14px;
    }

    .passport-entry .label {
        font-size: 10px;
    }

    .passport-entry .value {
        font-size: 14px;
    }

    .pass-header h2 {
        font-size: 20px;
    }

    .work-overlay h3 {
        font-size: 24px;
    }

    .about-image {
        max-width: 95%;
    }
}