/* =========================================
   Design System & Variables
   ========================================= */
:root {
    /* Colors - Premium Blue and White Theme */
    --clr-primary: #0A2440;
    /* Deep Navy Blue */
    --clr-primary-light: #153E6B;
    --clr-secondary: #007BFF;
    /* Bright Blue */
    --clr-secondary-hover: #0056B3;
    --clr-accent: #EBF5FB;
    /* Very Light Blue / White */
    --clr-dark: #121212;
    --clr-dark-light: #2A2A2A;
    --clr-light: #F9F9F9;
    --clr-white: #FFFFFF;

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 8rem;

    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.15);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(12px);
}

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

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

body {
    font-family: var(--font-main);
    color: var(--clr-dark-light);
    background-color: var(--clr-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-2xl) 0;
}

.bg-light {
    background-color: var(--clr-white);
}

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

/* Typography Classes */
h1,
h2,
h3,
h4 {
    color: var(--clr-primary);
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    display: block;
    color: var(--clr-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    position: relative;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    color: #666;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.5rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

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

.btn-primary:hover {
    background: var(--clr-secondary-hover);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--clr-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--clr-primary);
    border: 2px solid var(--clr-primary);
}

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

/* =========================================
   Navbar (Glassmorphism)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 36, 64, 0.85);
    /* Primary Navy with opacity */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--clr-white);
    letter-spacing: 1px;
}

.logo span {
    color: var(--clr-secondary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    color: var(--clr-white);
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-secondary);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--clr-white);
    transition: var(--transition);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/e97c1a_588eec7f20f44b7db597508.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--clr-white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 36, 64, 0.85) 0%, rgba(18, 18, 18, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--space-md);
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.hero .subtitle {
    display: block;
    color: var(--clr-secondary);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 4px;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4rem;
    color: var(--clr-white);
    margin-bottom: var(--space-lg);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

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

/* =========================================
   About Section
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-text p {
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
    color: #555;
    text-align: justify;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--clr-primary);
    color: var(--clr-secondary);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.3;
    border: 8px solid var(--clr-white);
    box-shadow: var(--shadow-md);
}

/* =========================================
   Rooms Section
   ========================================= */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.room-card {
    background: var(--clr-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.room-image {
    height: 240px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.room-content {
    padding: var(--space-lg);
}

.room-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.room-content p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.room-amenities {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

.room-amenities li {
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
}

/* =========================================
   Services Section
   ========================================= */
.services-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
}

.services-text {
    flex: 1;
}

.services-title {
    font-size: 3rem;
    color: #999;
    font-weight: 300;
    margin-bottom: 1rem;
}

.services-subtitle {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.services-list li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: var(--clr-dark-light);
}

.services-list .icon {
    width: 28px;
    height: 28px;
    margin-right: 15px;
    color: var(--clr-dark-light);
}

.services-gallery {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hex-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hex-row {
    display: flex;
    gap: 10px;
}

.hex-row.even {
    margin-top: -35px;
    margin-bottom: -35px;
}

.hex {
    width: 140px;
    height: 160px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: #eee;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.hex:hover {
    transform: scale(1.05);
    z-index: 2;
}

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

/* =========================================
   Café da Manhã Section
   ========================================= */
.mt-5 {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid #ddd;
}

.services-desc {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

.title-icon {
    width: 35px;
    height: 35px;
    vertical-align: middle;
    margin-left: 10px;
    color: #888;
}

.rect-grid {
    display: flex;
    height: 350px;
    width: 100%;
    max-width: 600px;
    gap: 0;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    overflow: hidden;
}

.rect {
    flex: 1;
    overflow: hidden;
    transition: flex 0.4s ease;
    cursor: pointer;
}

.rect:hover {
    flex: 1.5;
}

.rect img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-width: 100px;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    padding: var(--space-xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    display: inline-block;
    margin-bottom: var(--space-md);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
}

.footer h3 {
    color: var(--clr-secondary);
    margin-bottom: var(--space-md);
    font-size: 1.2rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--clr-secondary);
}

.footer-contact a:hover {
    color: var(--clr-white);
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--clr-secondary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* =========================================
   Lightbox
   ========================================= */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 36, 64, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    animation: zoomIn 0.3s ease;
}

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

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

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--clr-white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--clr-secondary);
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        bottom: 20px;
        right: 20px;
    }

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--clr-primary);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .nav-links.active {
        max-height: 400px;
    }

    .nav-links li {
        text-align: center;
    }

    .nav-links li a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar.scrolled .nav-links {
        background: rgba(10, 36, 64, 0.95);
    }

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

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

    .services-wrapper {
        flex-direction: column;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .services-gallery {
        justify-content: center;
        margin-top: var(--space-xl);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* =========================================
   Contact Page Styles
   ========================================= */


.page-header {
    height: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: var(--clr-white);
    text-align: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 36, 64, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out forwards;
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--clr-white);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.header-divider {
    margin-top: 5px;
}

.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-page-info h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #888;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.divider-line {
    width: 310px;
    max-width: 100%;
    height: 3px;
    background-color: #F7C04A;
    /* Yellow accent line */
    margin-bottom: 1.5rem;
}

.contact-phone-text {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 1.5rem;
}

.contact-cta {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 1rem;
}

.whatsapp-btn {
    display: inline-block;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.contact-page-form {
    background: transparent;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: #E8ECEF;
    border: none;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: #444;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--clr-secondary);
}

@media (max-width: 768px) {
    .contact-page-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* =========================================
   Reveal Animations (Scroll Reveal)
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Delay modifiers */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Texture backgrounds */
.bg-texture {
    background-color: #FAFAFA;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e2e8f0' fill-opacity='0.4' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

/* =========================================
   Scattered Polaroid Gallery (Maués Praias)
   ========================================= */
.scattered-gallery {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.polaroid {
    position: absolute;
    width: 240px;
    padding: 10px 10px 35px 10px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, z-index 0.1s;
    cursor: pointer;
}

.polaroid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 2px;
}

.polaroid:hover {
    transform: scale(1.15) rotate(0deg) translateY(-10px) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    z-index: 100 !important;
}

/* Rough scatter positioning */
.polaroid:nth-child(1) {
    top: 0%;
    left: 0%;
    transform: rotate(-15deg);
    z-index: 1;
}

.polaroid:nth-child(2) {
    top: 5%;
    right: 10%;
    transform: rotate(12deg);
    z-index: 2;
}

.polaroid:nth-child(3) {
    top: 25%;
    left: 20%;
    transform: rotate(5deg);
    z-index: 3;
}

.polaroid:nth-child(4) {
    top: 35%;
    right: 5%;
    transform: rotate(-8deg);
    z-index: 4;
}

.polaroid:nth-child(5) {
    bottom: 15%;
    left: -5%;
    transform: rotate(-25deg);
    z-index: 5;
}

.polaroid:nth-child(6) {
    bottom: 20%;
    right: 25%;
    transform: rotate(18deg);
    z-index: 6;
}

.polaroid:nth-child(7) {
    top: 50%;
    left: 40%;
    transform: rotate(-12deg);
    z-index: 7;
}

.polaroid:nth-child(8) {
    bottom: 5%;
    left: 35%;
    transform: rotate(15deg);
    z-index: 8;
}

.polaroid:nth-child(9) {
    top: 15%;
    left: 50%;
    transform: rotate(-5deg);
    z-index: 9;
}

.polaroid:nth-child(10) {
    bottom: 45%;
    right: 0%;
    transform: rotate(22deg);
    z-index: 10;
}

@media (max-width: 768px) {
    .scattered-gallery {
        min-height: 400px;
        margin-bottom: 2rem;
    }

    .polaroid {
        width: 140px;
        padding: 5px 5px 25px 5px;
    }

    .polaroid img {
        height: 90px;
    }
}