/* ========================================
   South Seas Resort Hotel — Stylesheet
   ======================================== */

:root {
    --navy-950: #0a1628;
    --navy-900: #1a365d;
    --navy-800: #1e3a5f;
    --navy-700: #234570;
    --navy-600: #2d5a8e;
    --gold-500: #c9a84c;
    --gold-400: #d4b85e;
    --gold-300: #e0c972;
    --gold-200: #ebd990;
    --neutral-900: #111827;
    --neutral-800: #1f2937;
    --neutral-700: #374151;
    --neutral-600: #4b5563;
    --neutral-500: #6b7280;
    --neutral-400: #9ca3af;
    --neutral-300: #d1d5db;
    --neutral-200: #e5e7eb;
    --neutral-100: #f3f4f6;
    --neutral-50: #f9fafb;
    --white: #ffffff;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(10, 22, 40, 0.08), 0 2px 4px -2px rgba(10, 22, 40, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(10, 22, 40, 0.1), 0 4px 6px -4px rgba(10, 22, 40, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(10, 22, 40, 0.12), 0 8px 10px -6px rgba(10, 22, 40, 0.06);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--neutral-200);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy-900);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    color: var(--gold-500);
}

.nav-logo-text {
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-700);
    letter-spacing: 0.01em;
    position: relative;
}

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

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

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

.nav-cta {
    background: var(--navy-900);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--navy-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-line {
    width: 22px;
    height: 2px;
    background: var(--neutral-800);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--white);
    padding-top: 72px;
    overflow: hidden;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy-700);
    margin-bottom: 24px;
    padding: 8px 16px;
    background: var(--neutral-50);
    border-radius: 100px;
    border: 1px solid var(--neutral-200);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold-500);
    border-radius: 50%;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--navy-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--gold-500);
}

.hero-subheadline {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--neutral-600);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--navy-900);
    color: var(--white);
}

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

.btn-outline {
    background: transparent;
    color: var(--navy-900);
    border: 1.5px solid var(--navy-900);
}

.btn-outline:hover {
    background: var(--navy-900);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--neutral-900);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--neutral-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-stat-divider {
    width: 1px;
    height: 48px;
    background: var(--neutral-300);
}

.hero-image {
    position: relative;
}

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

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

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.15) 0%, transparent 40%);
    border-radius: var(--radius-xl);
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--gold-500);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.15;
}

/* ========================================
   Section Shared
   ======================================== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
    padding: 6px 14px;
    background: rgba(201, 168, 76, 0.08);
    border-radius: 100px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--neutral-600);
}

/* ========================================
   Rooms Section
   ======================================== */
.rooms {
    padding: 120px 0;
    background: var(--neutral-50);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.room-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
    transition: var(--transition);
}

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

.room-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 7/5;
}

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

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

.room-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gold-500);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.room-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.room-card-name {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--navy-900);
    letter-spacing: -0.01em;
}

.room-card-description {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--neutral-600);
}

.room-card-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.room-card-amenities li {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--neutral-700);
    padding: 6px 12px;
    background: var(--neutral-100);
    border-radius: 100px;
}

.room-card-content .btn {
    margin-top: 8px;
    align-self: flex-start;
}

/* ========================================
   Experience Section
   ======================================== */
.experience {
    padding: 120px 0;
    background: var(--white);
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.experience-content .section-tag {
    margin-bottom: 16px;
}

.experience-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.experience-description {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--neutral-600);
    margin-bottom: 48px;
}

.experience-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.experience-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.experience-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(201, 168, 76, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-500);
}

.experience-feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.experience-feature-text p {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

.experience-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.experience-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.experience-image-secondary {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}

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

/* ========================================
   Dining Section
   ======================================== */
.dining {
    padding: 120px 0;
    background: var(--navy-900);
}

.dining .section-tag {
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold-400);
}

.dining .section-title {
    color: var(--white);
}

.dining .section-subtitle {
    color: var(--neutral-400);
}

.dining-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.dining-card {
    background: var(--navy-800);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.dining-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(201, 168, 76, 0.2);
}

.dining-card-image {
    aspect-ratio: 3/2;
    overflow: hidden;
}

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

.dining-card:hover .dining-card-image img {
    transform: scale(1.05);
}

.dining-card-content {
    padding: 28px;
}

.dining-card-name {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.dining-card-cuisine {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 12px;
}

.dining-card-description {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--neutral-400);
}

/* ========================================
   Location Section
   ======================================== */
.location {
    padding: 120px 0;
    background: var(--neutral-50);
}

.location-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 420px;
}

.location-map iframe {
    border-radius: var(--radius-lg);
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.location-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.location-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    box-shadow: var(--shadow-sm);
}

.location-detail-text h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.location-detail-text p {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

.location-detail-text a {
    color: var(--navy-600);
    font-weight: 500;
}

.location-detail-text a:hover {
    color: var(--gold-500);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-content .section-tag {
    margin-bottom: 16px;
}

.contact-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--neutral-600);
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-phone,
.contact-address {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--neutral-700);
}

.contact-phone svg,
.contact-address svg {
    color: var(--gold-500);
    flex-shrink: 0;
}

.contact-phone a {
    color: var(--navy-900);
    font-weight: 600;
}

.contact-phone a:hover {
    color: var(--gold-500);
}

/* Form */
.contact-form-wrapper {
    background: var(--neutral-50);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--neutral-200);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-700);
    letter-spacing: 0.01em;
}

.form-input {
    padding: 12px 16px;
    border: 1.5px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-family: var(--font-body);
    color: var(--neutral-900);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-input::placeholder {
    color: var(--neutral-400);
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    padding: 40px 20px;
    color: var(--navy-900);
}

.form-success svg {
    color: var(--gold-500);
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--navy-950);
    padding: 80px 0 0;
    color: var(--neutral-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
    color: var(--gold-500);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--neutral-500);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--neutral-500);
}

.footer-links a:hover {
    color: var(--gold-500);
}

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--gold-500);
}

.footer-contact a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--neutral-600);
}

.footer-bottom a {
    color: var(--neutral-500);
    font-size: 0.8125rem;
}

.footer-bottom a:hover {
    color: var(--gold-500);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subheadline {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 560px;
        margin: 0 auto;
    }
    
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .experience-images {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--neutral-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .nav-toggle-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .nav-toggle-line:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .nav-toggle-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero-container {
        padding: 40px 24px;
    }
    
    .hero-image-wrapper {
        aspect-ratio: 4/3;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
    }
    
    .dining-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-image-secondary {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .rooms,
    .experience,
    .dining,
    .location,
    .contact {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-stat-divider {
        width: 48px;
        height: 1px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}
