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

/* --- Vibrant Sunset & Ocean Design System --- */
:root {
    /* Color Palette Extracted from Surfpoint Logo */
    --bg-cream: #FCFAF6;        /* Warm Cream Base */
    --sunset-yellow: #F6D63E;   /* Vibrant Sun Yellow */
    --sunset-orange: #EF9D37;   /* Bright Sunset Orange */
    --sunset-coral: #E8522A;    /* Coral Red-Orange */
    --sunset-red: #D1392A;      /* Energetic Sunset Red */
    --brand-dark: #8D1623;      /* Rich Crimson from Sri Lankan Lion */
    
    --ocean-deep: #2B6ED8;      /* Deep Ocean Blue */
    --ocean-mid: #4284E2;       /* Mid Ocean Blue */
    --ocean-light: #7BB6FA;      /* Clear Sky Blue */
    --ocean-cyan: #00B4D8;       /* Glowing Cyan Accent */
    
    --text-dark: #1E293B;       /* Slate 800 - high legibility dark text */
    --text-muted: #64748B;      /* Slate 500 */
    --border-light: rgba(232, 82, 42, 0.15); /* Soft coral border tint */
    
    /* Frosted Glassmorphism Styles (Bright Theme) */
    --glass-bg: rgba(252, 250, 246, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(232, 82, 42, 0.08);
    
    /* Spacing & Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-pill: 100px;
    
    /* Shadows */
    --shadow-soft: 0 10px 30px -5px rgba(43, 110, 216, 0.06);
    --shadow-hover: 0 20px 40px -10px rgba(232, 82, 42, 0.15);
    --shadow-inset: inset 0 2px 4px 0 rgba(255, 255, 255, 0.8);
}

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

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

html {
    scroll-behavior: smooth;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    background: linear-gradient(135deg, #FFFFFF 20%, var(--sunset-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(209, 57, 42, 0.35);
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -1.5px;
}

h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    color: var(--brand-dark);
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
    letter-spacing: -1px;
}

/* Red underline accent for headings */
h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--sunset-coral), var(--sunset-yellow));
    border-radius: var(--radius-pill);
}

h2.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.6rem;
    color: var(--ocean-deep);
    margin-bottom: 0.8rem;
}

h4 {
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--sunset-coral);
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* --- Layout Components --- */
.content-section {
    padding: 8rem 5% 7rem;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 750px;
    margin-inline: auto;
}

.section-header p {
    font-size: 1.25rem;
    margin-top: 1rem;
}

/* --- Sticky Global Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    padding: 1.5rem 5%;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 0.9rem 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 82, 42, 0.1);
    box-shadow: 0 10px 40px -10px rgba(43, 110, 216, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left, .nav-right {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex: 1;
}

.nav-right {
    justify-content: flex-end;
}

.nav-center {
    flex: 0 0 auto;
}

.logo {
    height: 52px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: scale(1.08) rotate(2deg);
}

/* Nav Links */
.navbar a:not(.btn-nav) {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    position: relative;
}

/* Beautiful dynamic slide-in link underline */
.navbar a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--sunset-yellow), var(--sunset-orange));
    transition: width 0.3s ease;
    border-radius: var(--radius-pill);
}

.navbar a:not(.btn-nav):hover {
    color: var(--sunset-yellow) !important;
}

.navbar a:not(.btn-nav):hover::after {
    width: 100%;
}

/* Navbar active scrolled state for dark links */
.navbar.scrolled a:not(.btn-nav) {
    color: var(--brand-dark);
    text-shadow: none;
}

.navbar.scrolled a:not(.btn-nav):hover {
    color: var(--sunset-coral) !important;
}

.navbar.scrolled a:not(.btn-nav)::after {
    background: linear-gradient(to right, var(--sunset-coral), var(--sunset-orange));
}

/* Glowing Book Now CTA in Navbar */
.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFFFFF !important;
    background: linear-gradient(135deg, var(--sunset-coral), var(--sunset-orange));
    box-shadow: 0 4px 15px rgba(232, 82, 42, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
    text-shadow: none !important;
}

.btn-nav:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(232, 82, 42, 0.6);
    background: linear-gradient(135deg, var(--sunset-orange), var(--sunset-yellow));
    color: var(--brand-dark) !important;
}

/* --- Hero Showcase Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: 0 5%;
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: var(--brand-dark);
}

.main-video, .blur-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blur-placeholder {
    filter: blur(25px);
    transform: scale(1.1);
    z-index: 2;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.blur-placeholder.hidden {
    opacity: 0;
    pointer-events: none;
}

.main-video {
    z-index: 1;
}

/* Shifting Sunset-to-Ocean Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, 
        rgba(209, 57, 42, 0.5), 
        rgba(239, 157, 55, 0.4), 
        rgba(43, 110, 216, 0.4), 
        rgba(119, 175, 250, 0.5)
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 1;
}

.hero-content {
    z-index: 2;
    max-width: 900px;
    margin-top: 60px;
}

.hero-content p {
    color: #FFFFFF;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* Floating Action / Book Now Buttons */
.btn-primary, .btn-secondary, .btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.8rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Button Sunset-to-Ocean Ripple/Glide effect */
.btn-primary {
    background: linear-gradient(135deg, var(--sunset-coral) 0%, var(--sunset-orange) 100%);
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(232, 82, 42, 0.35);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-cyan) 100%);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(43, 110, 216, 0.4);
    color: #FFFFFF;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-secondary {
    background: transparent;
    color: var(--brand-dark);
    border: 2px solid var(--sunset-coral);
    box-shadow: none;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sunset-orange) 0%, var(--sunset-yellow) 100%);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn-secondary:hover {
    transform: translateY(-4px);
    border-color: transparent;
    color: var(--brand-dark);
    box-shadow: var(--shadow-hover);
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-hero {
    background: linear-gradient(135deg, var(--sunset-yellow) 0%, var(--sunset-orange) 100%);
    color: var(--brand-dark);
    box-shadow: 0 8px 25px rgba(246, 214, 62, 0.4);
    border-radius: var(--radius-pill);
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sunset-coral) 0%, var(--sunset-red) 100%);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn-hero:hover {
    transform: translateY(-4px) scale(1.03);
    color: #FFFFFF;
    box-shadow: 0 15px 35px rgba(232, 82, 42, 0.5);
}

.btn-hero:hover::before {
    left: 0;
}

/* Floating Book Now Button (Page overlay) */
.floating-book-btn {
    position: fixed;
    bottom: 35px;
    right: 35px;
    background: linear-gradient(135deg, var(--sunset-coral) 0%, var(--sunset-red) 100%);
    color: #FFFFFF !important;
    padding: 1.1rem 2.2rem;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 30px rgba(209, 57, 42, 0.4);
    z-index: 999;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
}

.floating-book-btn svg {
    transition: transform 0.3s ease;
}

.floating-book-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(209, 57, 42, 0.6);
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 100%);
}

.floating-book-btn:hover svg {
    transform: scale(1.15) rotate(15deg);
}

.floating-book-btn.near-footer {
    transform: translateY(-100px) scale(0.95);
    opacity: 0.95;
    box-shadow: 0 5px 15px rgba(209, 57, 42, 0.25);
}

.floating-book-btn.near-footer:hover {
    transform: translateY(-105px) scale(1.02);
    box-shadow: 0 10px 25px rgba(209, 57, 42, 0.4);
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 100%);
}

/* --- Premium Cards & Glass panels --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow), var(--shadow-inset);
    padding: 4.5rem 3rem;
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.glass-panel:hover {
    box-shadow: var(--shadow-hover);
}

/* Redesign Premium Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 3rem;
}

.premium-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border) !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(232, 82, 42, 0.25) !important;
}

.premium-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover .premium-card-img {
    transform: scale(1.06);
}

.premium-card-content {
    padding: 2.8rem 2.2rem;
    text-align: center;
}

.premium-card-content h3 {
    margin-bottom: 1rem;
    color: var(--brand-dark);
}

.premium-card-content p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
}

/* --- Banner & Accent sections --- */
.iko-banner {
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 100%);
    padding: 4.5rem 5%;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-soft);
}

.iko-banner h2 {
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.iko-banner h2::after {
    display: none;
}

.iko-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin: 0;
}

.resort-banner {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--sunset-coral) 100%);
    padding: 6rem 5%;
    color: #FFFFFF;
    text-align: center;
}

.resort-banner h2 {
    color: #FFFFFF;
}

.resort-banner p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin-inline: auto;
}

/* --- Dynamic Split Layouts --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.clean-list {
    list-style: none;
    margin-bottom: 2rem;
}

.clean-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

/* Customized inline SVG icon for list bullet points */
.clean-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23E8522A" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.rounded-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    border: 6px solid #FFFFFF;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.rounded-img:hover {
    transform: scale(1.02) rotate(-1deg);
}

/* --- Redesigned Rates & Tables --- */
.rates-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.rates-table tr {
    border-bottom: 1px dashed rgba(232, 82, 42, 0.15);
    transition: background-color 0.3s ease;
}

.rates-table tr:hover {
    background-color: rgba(232, 82, 42, 0.03);
}

.rates-table td {
    padding: 1.2rem 0.5rem;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.rates-table td.rate-price {
    text-align: right;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--sunset-coral);
    font-family: 'Outfit', sans-serif;
}

/* Rental table explicit design */
.rental-header-row {
    border-bottom: 2px solid var(--sunset-coral) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
}

.rental-header-row th {
    padding: 1.2rem 1rem;
    color: var(--brand-dark);
    font-size: 1rem;
    letter-spacing: 1px;
}

.rental-body-row td {
    padding: 1.4rem 1rem !important;
}

/* --- Wave Divider & SVG Elements --- */
.wave-divider {
    position: absolute;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.wave-divider.top {
    top: -1px;
}

.wave-divider.bottom {
    bottom: -1px;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
}

/* Match the exact low-poly structure */
.wave-fill-cream {
    fill: var(--bg-cream);
}

.wave-fill-blue {
    fill: var(--ocean-deep);
}

.wave-fill-sunset {
    fill: var(--sunset-coral);
}

/* Continuous Gentle Bobbing Animation for Kites/Surfs */
.float-bob {
    animation: floatBob 6s ease-in-out infinite;
}

.float-bob-slow {
    animation: floatBob 9s ease-in-out infinite;
}

/* --- Page Background Gradient Shifts --- */
.bg-gradient-flow-1 {
    background: linear-gradient(180deg, 
        rgba(252, 250, 246, 1) 0%, 
        rgba(255, 214, 98, 0.12) 40%, 
        rgba(232, 82, 42, 0.08) 70%, 
        rgba(66, 132, 226, 0.08) 100%
    );
    width: 100%;
}

.bg-gradient-flow-2 {
    background: linear-gradient(180deg, 
        rgba(66, 132, 226, 0.08) 0%, 
        rgba(252, 250, 246, 1) 30%, 
        rgba(232, 82, 42, 0.08) 75%, 
        rgba(43, 110, 216, 0.12) 100%
    );
    width: 100%;
}

/* --- Comprehensive Unified Footer --- */
.footer-divider-wave {
    position: relative;
    width: 100%;
    height: 80px;
    background-color: transparent;
    overflow: hidden;
    margin-bottom: -1px;
    z-index: 5;
}

.footer-divider-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.footer {
    background: linear-gradient(135deg, #091322 0%, #152949 100%);
    padding: 5rem 5% 2.5rem;
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.8);
    border-top: none;
}

.footer-top-banner {
    padding: 0rem 5% 5rem;
    color: #FFFFFF;
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-top-banner h2 {
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.8rem;
}

.footer-top-banner h2::after {
    background: linear-gradient(to right, var(--sunset-yellow), var(--sunset-orange));
}

.footer-top-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2.5rem;
    text-align: center;
}

.footer-top-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 2.2rem 1.8rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-top-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(123, 182, 250, 0.3);
}

.footer-top-item svg {
    margin-bottom: 1rem;
    width: 44px;
    height: 44px;
    color: var(--sunset-yellow);
}

.footer-top-item h4 {
    color: var(--sunset-orange);
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
}

.footer-top-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    height: 55px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 1.15rem;
    margin-bottom: 1.8rem;
    color: var(--sunset-yellow);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

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

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.footer-col ul a:hover {
    color: var(--sunset-yellow);
    padding-left: 5px;
}

/* Footer bottom bar details */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.developer-credit a {
    color: var(--sunset-yellow);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: var(--sunset-orange);
}

/* --- Heavy & Smooth Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* --- Mobile Sidebar Overlay --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 32px;
    height: 3px;
    background-color: #FFFFFF;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 3px;
}

.navbar.scrolled .hamburger span {
    background-color: var(--brand-dark);
}

.hamburger.active span {
    background-color: var(--brand-dark) !important;
}

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

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

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

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    background-color: var(--bg-cream);
    box-shadow: -10px 0 40px rgba(232, 82, 42, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 7rem 2.5rem 3rem;
    clip-path: circle(0px at calc(100% - 40px) 40px);
    transition: clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar.active {
    clip-path: circle(150% at calc(100% - 40px) 40px);
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.sidebar-links a:not(.btn-primary) {
    font-size: 1.4rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--brand-dark);
    text-decoration: none;
    border-bottom: 1px dashed rgba(232, 82, 42, 0.15);
    padding-bottom: 0.8rem;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
}

.sidebar.active .sidebar-links a {
    opacity: 1;
    transform: translateX(0);
}

.sidebar.active .sidebar-links a:nth-child(1) { transition-delay: 0.1s; }
.sidebar.active .sidebar-links a:nth-child(2) { transition-delay: 0.2s; }
.sidebar.active .sidebar-links a:nth-child(3) { transition-delay: 0.3s; }
.sidebar.active .sidebar-links a:nth-child(4) { transition-delay: 0.4s; }
.sidebar.active .sidebar-links a:nth-child(5) { transition-delay: 0.5s; }

.sidebar-links a:not(.btn-primary):hover {
    color: var(--sunset-coral);
    padding-left: 10px;
}

.sidebar-links .btn-primary {
    width: 100%;
    margin-top: 1rem;
    text-align: center;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(141, 22, 35, 0.2);
    backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- Redesigned 404 Page Card --- */
.error-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
    max-width: 550px;
    margin: 100px auto 16px;
    padding: 4.5rem 3rem;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
}

/* --- SVG Icons --- */
.svg-icon {
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 0;
}

/* --- CSS Animations --- */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatBob {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* --- Responsive Adaptations --- */
@media (min-width: 769px) {
    .mobile-video { display: none; }
}

@media (max-width: 1024px) {
    .nav-left, .nav-right { gap: 1.5rem; }
    .split-layout { gap: 3rem; }
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; text-align: center; }
    .footer-logo { margin: 0 auto 1.5rem; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .desktop-video { display: none; }
    .nav-left, .nav-right { display: none; }
    .split-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
    .navbar { padding: 1.2rem 5%; }
}