/* ===== CSS Variables ===== */
:root {
    --primary: #D4AF37;
    --primary-light: #E8C547;
    --primary-dark: #B8941E;
    --secondary: #E8C547;
    --accent: #FFD700;
    --white: #ffffff;
    --dark: #1a1a1a;
    --dark-light: #2d2d2d;
    --dark-lighter: #3d3d3d;
    --gray-50: #2d2d2d;
    --gray-100: #3d3d3d;
    --gray-200: #4d4d4d;
    --gray-300: #5d5d5d;
    --gray-400: #7d7d7d;
    --gray-500: #9d9d9d;
    --gray-600: #b0b0b0;
    --gray-700: #c5c5c5;
    --gray-800: #e0e0e0;
    --gray-900: #f0f0f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.4), 0 1px 2px -1px rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.6), 0 4px 6px -4px rgb(0 0 0 / 0.5);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.7), 0 8px 10px -6px rgb(0 0 0 / 0.6);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-800);
    background: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    width: min(100% - 2rem, 1280px);
    margin: 0 auto;
    padding: 0;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.35rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    min-height: 46px;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(1.6rem, 2.4vw, 2.25rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: var(--gray-700);
    max-width: 680px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border: 2px solid var(--primary);
    border-radius: 2rem;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.85rem;
    transition: var(--transition);
}

.lang-toggle:hover {
    background: var(--primary);
    color: var(--white);
}

.lang-toggle:hover .lang-flag {
    filter: brightness(2);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,58,95,0.85) 0%, rgba(30,58,95,0.5) 50%, rgba(30,58,95,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    max-width: 500px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s infinite;
}

.hero-scroll a {
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0.8;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}

/* ===== Welcome ===== */
.welcome {
    padding: 4rem 0;
    background: var(--dark-light);
}

.welcome-card {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: var(--dark-lighter);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary);
}

.welcome-photo {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

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

.welcome-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.welcome-desc {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.welcome-signature {
    color: var(--secondary);
    font-weight: 600;
}

/* ===== Booking ===== */
.booking {
    padding: 2rem 0;
    background: var(--dark);
    position: relative;
    z-index: 10;
    margin-top: -3rem;
}

.booking-card {
    background: var(--dark-lighter);
    border-radius: var(--radius-2xl);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--primary);
    max-width: 1100px;
    margin: 0 auto;
}

.booking-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.booking-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 0.95rem;
    border: 2px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    color: var(--gray-800);
    background: #4d4d4d;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.3);
    background: #5d5d5d;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-600);
    opacity: 1;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: var(--gray-700);
}

.form-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.form-actions .btn {
    min-width: min(100%, 220px);
    justify-content: center;
}

/* ===== Destinations ===== */
.destinations {
    padding: 5rem 0;
    background: var(--dark);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.destination-card {
    background: var(--dark-lighter);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid var(--primary);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.destination-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.destination-rating {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.95);
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--warning);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: var(--shadow-sm);
}

.destination-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.destination-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.destination-location {
    font-size: 0.85rem;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.destination-desc {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.destination-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: var(--dark-light);
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.destination-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.destination-actions .btn {
    flex: 1;
    padding: 0.6rem;
    font-size: 0.85rem;
    min-height: 42px;
}

/* Destination Search */
.destination-search-wrapper {
    position: relative;
    margin: 2rem 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.destination-search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    background: #4d4d4d;
    color: var(--gray-800);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.destination-search-input::placeholder {
    color: var(--gray-600);
}

.destination-search-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.3);
    background: #5d5d5d;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    pointer-events: none;
}

.destination-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.destination-pagination-info {
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 500;
}

.destination-pagination-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.pagination-btn,
.pagination-page {
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(255, 255, 255, 0.04);
    color: var(--gray-800);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.pagination-btn:hover,
.pagination-page:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.pagination-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.pagination-page.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.destination-empty-state {
    grid-column: 1 / -1;
    padding: 3rem 2rem;
    border: 1px dashed rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-xl);
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
}

.destination-empty-state i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.destination-empty-state h3 {
    color: var(--gray-800);
    margin-bottom: 0.35rem;
}

.destination-empty-state p {
    color: var(--gray-700);
}

/* ===== Memories & Experiences Section ===== */
.memories {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark) 100%);
}

.carousel-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.carousel-container {
    overflow: hidden;
    border-radius: var(--radius-2xl);
    border: 2px solid var(--primary);
    background: var(--dark-lighter);
    min-height: 300px;
    width: 100%;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.carousel-slide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.carousel-slide-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.carousel-slide-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.carousel-control {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: var(--dark);
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-control:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (max-width: 820px) {
    .carousel-slide {
        padding: 0.75rem;
    }

    .carousel-slide-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .carousel-controls {
        gap: 0.75rem;
    }

    .carousel-control {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.active {
    background: var(--primary);
    width: 30px;
    border-radius: 999px;
}

.carousel-indicator:hover {
    background: var(--secondary);
}

/* ===== Map Section ===== */
.map-section {
    padding: 5rem 0;
    background: var(--dark);
}

.map-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.map-container {
    background: linear-gradient(135deg, var(--dark-lighter) 0%, var(--dark-light) 100%);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    position: relative;
    border: 2px solid var(--primary);
}

.map-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.08);
}

.bali-map {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

.map-region {
    position: absolute;
    border: 0;
    background: rgba(212, 175, 55, 0.12);
    color: var(--white);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    box-shadow: none;
    cursor: pointer;
    transition: var(--transition);
    transform: translate(-50%, -50%);
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.map-region:hover {
    background: rgba(212, 175, 55, 0.25);
    transform: translate(-50%, -50%) scale(1.08);
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.map-region.active {
    background: rgba(212, 175, 55, 0.35);
    color: var(--white);
    box-shadow: inset 0 0 0 2px rgba(255, 215, 0, 0.5);
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.map-region[data-region="west"] { top: 32%; left: 20%; }
.map-region[data-region="north"] { top: 20%; left: 53%; }
.map-region[data-region="central"] { top: 45%; left: 50%; }
.map-region[data-region="south"] { top: 68%; left: 54%; }
.map-region[data-region="east"] { top: 42%; left: 78%; }
.map-region[data-region="ubud"] { top: 58%; left: 60%; }
.map-region[data-region="nusapenida"] { 
    top: 80%; 
    left: 78%; 
    font-size: 0.65rem;
    padding: 0.4rem 0.6rem;
    width: 70px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
}

.map-hint {
    text-align: center;
    margin-top: 1rem;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.regency-info {
    background: var(--dark-lighter);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary);
}

.regency-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary);
}

.regency-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.regency-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
}

.regency-header p {
    color: var(--gray-700);
    font-size: 0.9rem;
}

.regency-destinations {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    max-height: 16rem;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.35rem;
    scroll-behavior: smooth;
}

.regency-destinations::-webkit-scrollbar {
    width: 6px;
}

.regency-destinations::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.45);
    border-radius: 999px;
}

.regency-dest {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem;
    background: var(--dark-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    cursor: pointer;
}

.regency-dest:hover {
    background: var(--gray-100);
    transform: translateX(5px);
}

.regency-dest img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
}

.regency-dest h4 {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.15rem;
}

.regency-dest p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ===== Packages ===== */
.packages {
    padding: 5rem 0;
    background: var(--dark-light);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.package-card {
    background: var(--dark-lighter);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--primary);
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.package-image {
    height: 200px;
    overflow: hidden;
}

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

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

.package-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: auto;
    flex-wrap: wrap;
}

.package-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.package-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--secondary);
    background: rgba(59,130,246,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.package-desc {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.package-intro {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.package-features {
    list-style: decimal inside;
    color: var(--gray-700);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    padding-left: 1rem;
}

.package-features li {
    margin-bottom: 0.45rem;
}

.package-price {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.package-price span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ===== About ===== */
.about {
    padding: 5rem 0;
    background: var(--dark-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    opacity: 0.95;
}

.about-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-text {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item {
    background: var(--dark-light);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.stat-item:hover {
    background: var(--dark-lighter);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--secondary);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1.25rem;
    margin: 0 auto 0.75rem;
}

.stat-number {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-700);
}

/* ===== Contact ===== */
.contact {
    padding: 5rem 0;
    background: var(--dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--dark-lighter);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.contact-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-icon.whatsapp { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.contact-icon.email { background: rgba(212, 175, 55, 0.2); color: var(--primary); }
.contact-icon.instagram { background: rgba(236, 72, 153, 0.2); color: #ec4899; }
.contact-icon.address { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.contact-icon.hours { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.contact-icon.facebook { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }

.contact-item h4 {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.15rem;
}

.contact-item p {
    color: var(--gray-700);
    font-size: 0.9rem;
}

.contact-form-wrapper {
    background: var(--dark-lighter);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-light);
    color: var(--white);
    padding: 4rem 0 1.5rem;
    border-top: 3px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo i {
    width: 42px;
    height: 42px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.footer-logo-main {
    font-size: 1.1rem;
    font-weight: 800;
    display: block;
    line-height: 1.1;
}

.footer-logo-sub {
    font-size: 0.65rem;
    opacity: 0.8;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

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

/* ===== Modal ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--dark-lighter);
    border-radius: var(--radius-2xl);
    max-width: min(92vw, 900px);
    width: 100%;
    max-height: min(90vh, 860px);
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s ease;
    border: 2px solid var(--primary);
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--dark);
    box-shadow: var(--shadow-md);
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--danger);
    color: var(--white);
}

.modal-hero {
    height: clamp(220px, 38vh, 350px);
    position: relative;
    overflow: hidden;
}

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

.modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}

.modal-hero-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    color: var(--white);
}

.modal-hero-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.modal-hero-content .location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.modal-body {
    padding: clamp(1rem, 2.2vw, 2rem);
}

.modal-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.modal-info-item {
    background: var(--dark-light);
    padding: 1rem 1.1rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--primary);
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info-item i {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.modal-info-item h4 {
    font-size: 0.8rem;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.modal-info-item p {
    font-weight: 600;
    color: var(--gray-800);
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.activity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.activity-item:hover {
    background: var(--primary);
    color: var(--white);
}

.activity-item i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.activity-item:hover i {
    color: var(--white);
}

.activity-item span {
    font-size: 0.85rem;
    font-weight: 500;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.gallery-grid img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-100);
    flex-wrap: wrap;
}

.modal-actions .btn {
    flex: 1 1 220px;
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--success);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    z-index: 3000;
    transform: translateX(150%);
    transition: transform 0.4s ease;
}

.toast.show {
    transform: translateX(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .map-wrapper,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .ratings-layout {
        grid-template-columns: 1fr;
    }

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

    .hero-title {
        font-size: clamp(2.4rem, 5vw, 3.4rem);
    }

    .hero-subtitle {
        max-width: 100%;
    }
}

.ratings {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 100%);
    visibility: visible;
    opacity: 1;
}

.ratings-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
}

.rating-form-card,
.rating-list-card {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.rating-form-card h3,
.rating-summary h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.rating-stars-input {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.star-option {
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.35);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.star-option i {
    color: rgba(255,255,255,0.35);
    transition: color 0.2s ease, transform 0.2s ease;
}

.star-option.active i {
    color: var(--warning) !important;
}

.star-option.active {
    color: var(--warning) !important;
}

.star-option:hover i {
    color: var(--warning);
    transform: translateY(-2px);
}

.rating-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.rating-summary-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.rating-summary-meta {
    color: var(--gray-700);
}

.rating-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.25rem;
}

.rating-stars i {
    color: rgba(255,255,255,0.35) !important;
    transition: color 0.2s ease;
}

.rating-stars i.active {
    color: var(--warning) !important;
}

.rating-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-filter-btn {
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: transparent;
    color: var(--gray-700);
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.rating-filter-btn.active,
.rating-filter-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.rating-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    max-height: 560px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.rating-list::-webkit-scrollbar {
    width: 8px;
}

.rating-list::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.4);
    border-radius: 999px;
}

.rating-list::-webkit-scrollbar-track {
    background: transparent;
}

.rating-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.rating-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.rating-item-name {
    font-weight: 600;
    color: var(--gray-900);
}

.rating-item-date {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.rating-item-comment {
    color: var(--gray-700);
    line-height: 1.7;
}

.rating-empty {
    padding: 1rem;
    text-align: center;
    color: var(--gray-500);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
}

.rating-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.rating-pagination button {
    border: none;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
}

.rating-pagination button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .nav-container {
        min-height: 72px;
        padding: 0.75rem 1rem;
        flex-wrap: nowrap;
        gap: 0.6rem;
        width: 100%;
    }

    .nav-logo {
        min-width: 0;
        flex: 1;
    }

    .logo-text {
        min-width: 0;
    }

    .logo-main {
        font-size: 0.95rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo-sub {
        display: none;
    }

    .nav-actions {
        gap: 0.4rem;
        flex-shrink: 0;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.25rem 1.25rem;
        gap: 0.85rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 0.55rem 0;
        font-size: 0.95rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        min-height: 720px;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 2.6rem);
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .welcome-card {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .about-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        display: inline-block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

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

    .modal-actions {
        flex-direction: column;
    }

    .booking-form .form-row {
        grid-template-columns: 1fr;
    }

    .destinations-grid,
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .destination-search-wrapper {
        max-width: 100%;
    }

    .carousel-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .carousel-container {
        min-height: 220px;
        width: 100%;
    }

    .carousel-slide {
        padding: 0.25rem;
    }

    .carousel-slide-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .carousel-slide-grid img {
        height: auto;
        min-height: 200px;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        margin: 0.25rem 0.2rem;
    }

    .carousel-control.prev,
    .carousel-control.next {
        order: 2;
    }

    .carousel-wrapper .carousel-container {
        order: 1;
    }

    .carousel-control.prev,
    .carousel-control.next {
        margin-top: 0.5rem;
    }

    .carousel-indicators {
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .welcome-card,
    .booking-card,
    .regency-info,
    .contact-form-wrapper {
        padding: 1.1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

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

    .btn {
        width: 100%;
    }

    .modal-hero-content {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}
