/* ===================================
   HYPE9 Landing Page - Design System
   =================================== */

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

:root {
    /* Colors */
    --primary-blue: #0071BC;
    --vibrant-yellow: #FFD500;
    --white: #FFFFFF;
    --dark-blue: #004A7C;
    --light-blue: #E6F3FB;
    --text-dark: #1A1A1A;
    --shadow: rgba(0, 0, 0, 0.15);

    /* Typography */
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 80px 20px;
    --container-max: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--primary-blue);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background with Clouds */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/background-clouds.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    opacity: 0.4;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 113, 188, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

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

.btn-cliente {
    background: var(--white);
    color: var(--primary-blue);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-cliente:hover {
    background: var(--vibrant-yellow);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 213, 0, 0.3);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background-image: url('assets/images/apartamento-aereo.jpg');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

/* Dark overlay for better logo visibility */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 113, 188, 0.7) 0%, rgba(0, 74, 124, 0.6) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-hype9 {
    max-width: 800px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.5));
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

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

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

/* ===================================
   Section Titles
   =================================== */
.section-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 900;
    color: var(--vibrant-yellow);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-shadow:
        3px 3px 0 var(--primary-blue),
        -1px -1px 0 var(--primary-blue),
        1px -1px 0 var(--primary-blue),
        -1px 1px 0 var(--primary-blue),
        5px 5px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.8s ease-out;
}

.section-subtitle {
    font-size: 24px;
    font-weight: 600;
    font-style: italic;
    text-align: center;
    margin-bottom: 10px;
}

.subtitle-handwriting {
    font-size: 28px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.3;
    color: var(--white);
}

.subtitle-handwriting.yellow {
    color: var(--vibrant-yellow);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===================================
   Polaroid Cards
   =================================== */
.polaroid-card {
    background: var(--white);
    padding: 15px;
    padding-bottom: 50px;
    box-shadow: 0 8px 25px var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.polaroid-card[data-rotation="1"] {
    transform: rotate(1deg);
}

.polaroid-card[data-rotation="2"] {
    transform: rotate(2deg);
}

.polaroid-card[data-rotation="3"] {
    transform: rotate(3deg);
}

.polaroid-card[data-rotation="4"] {
    transform: rotate(4deg);
}

.polaroid-card[data-rotation="-1"] {
    transform: rotate(-1deg);
}

.polaroid-card[data-rotation="-2"] {
    transform: rotate(-2deg);
}

.polaroid-card[data-rotation="-3"] {
    transform: rotate(-3deg);
}

.polaroid-card[data-rotation="-4"] {
    transform: rotate(-4deg);
}

.polaroid-card:hover {
    transform: rotate(0deg) scale(1.08) translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.polaroid-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0f0f0;
}

.polaroid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.polaroid-caption {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    font-style: italic;
}

/* ===================================
   Apartamentos Section
   =================================== */
.apartamentos {
    padding: var(--section-padding);
    padding-top: 120px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.price {
    font-size: 56px;
    font-weight: 900;
    color: var(--white);
    text-align: center;
    margin-top: 10px;
}

.polaroid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    justify-items: center;
}

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

.info-column h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--vibrant-yellow);
}

.info-column ul {
    list-style: none;
    padding-left: 0;
}

.info-column li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
}

.info-column.inclui li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--vibrant-yellow);
    font-size: 24px;
    line-height: 1;
}

.info-column.nao-inclui li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--white);
    font-size: 24px;
    line-height: 1;
}

/* ===================================
   Diversão de Dia Section
   =================================== */
.diversao-dia {
    padding: var(--section-padding);
    position: relative;
}

.curved-line-decoration {
    position: absolute;
    width: 600px;
    height: 600px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cpath d='M100,300 Q200,100 400,300 T700,500' stroke='%23FFD500' stroke-width='6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.5;
    pointer-events: none;
}

.curved-line-decoration.top-left {
    top: -100px;
    right: -100px;
}

.section-header-left {
    position: absolute;
    top: 80px;
    left: 40px;
}

.polaroid-grid-activities {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-bottom: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.subsection-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin: 60px 0 40px;
    text-align: center;
}

.polaroid-grid-sports {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   Sevilha Section
   =================================== */
.sevilha {
    padding: var(--section-padding);
    position: relative;
}

.curved-line-decoration.sevilha-line {
    top: 50px;
    left: -200px;
    transform: rotate(-45deg);
}

.polaroid-grid-sevilha {
    display: flex;
    flex-direction: column;
    gap: 35px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}

.polaroid-card.large {
    max-width: 500px;
    width: 100%;
}

.polaroid-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.sevilha-note {
    font-size: 20px;
    font-weight: 600;
    font-style: italic;
    color: var(--vibrant-yellow);
    margin-top: 30px;
    text-align: center;
    line-height: 1.4;
}

/* ===================================
   Andaluzia 2026 Section
   =================================== */
.andaluzia {
    padding: var(--section-padding);
    /* background: linear-gradient(135deg, rgba(0, 113, 188, 0.8) 0%, rgba(0, 74, 124, 0.9) 100%); */
}

.andaluzia-title {
    font-size: clamp(56px, 10vw, 100px);
    font-style: italic;
    margin-bottom: 60px;
}

.resort-info {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.stars {
    font-size: 48px;
    color: var(--vibrant-yellow);
    margin-bottom: 20px;
    letter-spacing: 10px;
}

.resort-name {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 40px;
    line-height: 1.3;
}

.resort-image {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.resort-image img {
    width: 100%;
    height: auto;
    display: block;
}

.resort-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--white);
    text-align: center;
}

/* ===================================
   Diversão de Noite Section
   =================================== */
.diversao-noite {
    padding: var(--section-padding);
    position: relative;
    /* background: linear-gradient(180deg, rgba(0, 113, 188, 0.3) 0%, rgba(10, 20, 40, 0.8) 100%); */
}

.curved-line-decoration.night-line {
    top: 100px;
    right: -150px;
    transform: rotate(90deg);
}

.section-header-right {
    position: absolute;
    top: 80px;
    right: 40px;
    text-align: right;
}

.polaroid-grid-night {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    justify-items: center;
}

/* ===================================
   Mapa Section
   =================================== */
.mapa {
    padding: var(--section-padding);
}

.mapa-container {
    max-width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.mapa-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 60px 20px 40px;
    background: rgba(0, 74, 124, 0.9);
    text-align: center;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--vibrant-yellow);
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        min-height: 80vh;
    }

    .logo-hype9 {
        max-width: 90%;
    }

    .section-title {
        font-size: 48px;
    }

    .polaroid-grid,
    .polaroid-grid-night {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .polaroid-grid-activities {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .polaroid-grid-sports {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .polaroid-grid-sevilha {
        gap: 25px;
    }

    .polaroid-group {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .polaroid-card.large {
        max-width: 100%;
    }

    .section-header-left,
    .section-header-right {
        position: static;
        margin-bottom: 30px;
    }

    .curved-line-decoration {
        display: none;
    }

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

    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 36px;
    }

    .price {
        font-size: 42px;
    }

    .resort-name {
        font-size: 24px;
    }

    .stars {
        font-size: 36px;
    }

    .polaroid-grid-activities,
    .polaroid-grid-sports {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}