@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #123c30;          /* Deep Imperial Green */
    --primary-light: #1c5e4a;
    --primary-dark: #0a251e;
    --secondary: #1e3a8a;        /* Royal Navy Blue */
    --secondary-dark: #172554;
    --accent: #10b981;           /* Vibrant Emerald Green */
    --accent-hover: #059669;
    --bg-light: #f3f8f5;         /* Soft warm gray-green background */
    --text-dark: #111827;        /* Clean dark gray */
    --text-muted: #4b5563;       /* Tailwind gray-600 */
    --white: #ffffff;
    
    /* Premium Glassmorphism & Shadow Tokens */
    --glass: rgba(255, 255, 255, 0.85);
    --glass-dark: rgba(18, 60, 48, 0.8);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-border-dark: rgba(255, 255, 255, 0.08);
    
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 12px 30px rgba(18, 60, 48, 0.07);
    --shadow-lg: 0 20px 50px rgba(10, 37, 30, 0.12);
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-sm: 10px;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #f0f7f4 0%, #eef2f7 50%, #e6eff5 100%) no-repeat center center fixed;
    background-size: cover;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

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

a:hover {
    color: var(--primary-light);
}

.container {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation */
header {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(18, 60, 48, 0.06);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-text-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 480px) {
    .logo-text-img {
        height: 22px;
    }
    .logo-img {
        height: 38px;
    }
}

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

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 10px 16px;
    border-radius: 20px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background-color: rgba(18, 60, 48, 0.05);
}

.nav-link.active {
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: 0 4px 12px rgba(18, 60, 48, 0.2);
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    cursor: pointer;
    background: transparent;
    border: none;
}

.hamburger span {
    width: 100%;
    height: 2.5px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(10, 37, 30, 0.75) 0%, rgba(23, 37, 84, 0.65) 100%), url('images/galeria/mgla.jpg') no-repeat center center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    position: relative;
    padding: 120px 0;
    box-shadow: inset 0 -100px 100px -100px rgba(0,0,0,0.5);
    transition: background 1.5s ease-in-out;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(34px, 5vw, 64px);
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    font-weight: 800;
}

/* Text carousel in hero */
.carousel-container {
    height: 50px;
    overflow: hidden;
    margin-bottom: 35px;
    position: relative;
}

.carousel-slides {
    position: relative;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.carousel-slide.active {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.25);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.45);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    border-color: var(--white);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

/* Info Cards / Offer grid */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(28px, 3.5vw, 42px);
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 60px;
    font-size: 17px;
}

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

.card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 50px 35px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(18, 60, 48, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 100%);
    opacity: 0;
    transition: var(--transition);
}

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

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 44px;
    color: var(--accent);
    margin-bottom: 25px;
    background: rgba(16, 185, 129, 0.08);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.card:hover .card-icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--white);
    transform: scale(1.05);
}

.card h3 {
    margin-bottom: 18px;
    font-size: 24px;
    font-weight: 700;
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* Two Column Layouts */
.flex-split {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.flex-split > div {
    flex: 1;
}

.flex-split img, .flex-split iframe {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    object-fit: cover;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Tables styling (Responsive & Elegant) */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 40px 0;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    background-color: var(--white);
    border: 1px solid rgba(18, 60, 48, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 650px;
}

th {
    background-color: var(--primary);
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 18px 24px;
    font-size: 16px;
    border-bottom: 2px solid var(--primary-dark);
}

td {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(18, 60, 48, 0.05);
    font-size: 15px;
    color: var(--text-dark);
}

tr:last-child td {
    border-bottom: none;
}

tr:nth-child(even) {
    background-color: rgba(18, 60, 48, 0.02);
}

tr:hover {
    background-color: rgba(18, 60, 48, 0.04);
}

/* Call to Action Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 80px 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
    margin: 50px 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 320px;
    height: 320px;
    background: rgba(16, 185, 129, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 220px;
    height: 220px;
    background: rgba(30, 58, 138, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.cta-box h2 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
}

.cta-box p {
    font-size: 17px;
    margin-bottom: 35px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.8;
}

/* Footer styling */
footer {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #05100d 100%);
    color: var(--white);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 19px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    border-radius: 2px;
}

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

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.footer-contact a {
    color: var(--white);
    font-weight: 600;
}

/* Partners banner */
.partners-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    margin-top: 40px;
}

.partner-logo {
    height: 48px;
    filter: grayscale(100%) opacity(0.6);
    transition: var(--transition);
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(0.95);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

/* Responsive styles */
@media (max-width: 991px) {
    .flex-split {
        flex-direction: column;
        gap: 40px;
    }
    
    .flex-split.reverse {
        flex-direction: column-reverse;
    }
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 81px; /* Header height */
        flex-direction: column;
        background: var(--glass);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        height: calc(100vh - 81px);
        padding: 50px 0;
        gap: 25px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        align-items: center;
        border-top: 1px solid rgba(18, 60, 48, 0.06);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Room/Accommodation Galleries */
.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.featured-image-wrapper {
    width: 100%;
    height: 340px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #eaeaea;
    border: 1px solid rgba(18, 60, 48, 0.05);
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.25s ease-in-out;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.thumb {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    opacity: 0.7;
}

.thumb:hover, .thumb.active {
    border-color: var(--accent);
    opacity: 1;
    transform: scale(1.03);
}

/* Gallery Section (Redesign Grid) */
.gallery-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(18, 60, 48, 0.02) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    background: #eaeaea;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 37, 30, 0.8) 0%, rgba(10, 37, 30, 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 37, 30, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: var(--white);
    font-size: 44px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

/* Contact page customization */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(18, 60, 48, 0.04);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 30px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    font-size: 22px;
    color: var(--accent);
    background: rgba(16, 185, 129, 0.08);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 18px;
    margin-bottom: 6px;
    font-weight: 700;
}

.contact-info-text p, .contact-info-text a {
    color: var(--text-muted);
    font-size: 15px;
}

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

.contact-info-text a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 50px 45px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(18, 60, 48, 0.04);
}

@media (max-width: 480px) {
    .contact-form-card {
        padding: 30px 20px;
    }
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-dark);
    background-color: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    background-color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}
