/*
Theme Name: Sterling Hotel
Description: A bespoke, luxury theme for Sterling Hotel with a Sun-Drenched Coastal Resort aesthetic.
Author: Man-Of-Kind
Version: 3.0
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400&display=swap');

:root {
    /* Warm Beach Palette */
    --sand-bg: #FDFBF7;
    --sand-alt: #F4EFE6;
    --ocean-dark: #1A365D;
    --ocean-light: #2A4A7F;
    --terracotta: #E2725B;
    --sunset: #E8A87C;
    --white: #FFFFFF;
    
    /* Typography */
    --font-display: 'Fraunces', serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Utilities */
    --container-width: 1400px;
    --radius-lg: 24px;
    --shadow-soft: 0 20px 40px rgba(26, 54, 93, 0.05);
    --shadow-hover: 0 30px 60px rgba(26, 54, 93, 0.1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--sand-bg);
    color: var(--ocean-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--ocean-dark);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.sh-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Sun-kissed image filter utility */
.img-warm {
    filter: sepia(10%) contrast(1.05) saturate(1.1);
}

/* Header */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: all 0.5s ease;
}
.site-header .sh-container {
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 100px;
    padding: 15px 40px;
    transition: all 0.5s ease;
}
.site-header.scrolled {
    padding: 10px 0;
}
.site-header.scrolled .sh-container {
    background: rgba(253, 251, 247, 0.95);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand-logo {
    font-family: var(--font-display);
    font-size: 26px;
    font-style: italic;
    color: var(--ocean-dark);
}
.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}
.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--terracotta);
    transition: width 0.4s ease;
}
.nav-menu a:hover::after {
    width: 100%;
}
.btn-book {
    background: var(--terracotta);
    color: var(--white);
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(226, 114, 91, 0.2);
}
.btn-book:hover {
    background: var(--ocean-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(26, 54, 93, 0.2);
}

/* Animations */
.float-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.float-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Mobile Toggle Button & Responsive Header */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--ocean-dark);
    cursor: pointer;
    z-index: 1100;
}
.mobile-only-btn {
    display: none !important;
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: block;
    }
    .desktop-only-btn {
        display: none !important;
    }
    .mobile-only-btn {
        display: flex !important;
        margin-top: 20px;
    }
    .desktop-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--sand-bg);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: right 0.4s ease;
        z-index: 1050;
    }
    .desktop-nav.open {
        right: 0;
    }
    .nav-menu {
        flex-direction: column;
        gap: 25px;
    }
    .nav-menu a {
        font-size: 18px;
    }
}

/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}
.floating-contact .float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
.floating-contact .float-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.floating-contact .float-btn svg {
    width: 30px;
    height: 30px;
}
.floating-contact .float-wa {
    background-color: #25D366;
}
.floating-contact .float-call {
    background-color: #007bff;
}

@media (max-width: 768px) {
    .sh-container {
        padding: 0 20px;
    }
    .site-header .sh-container {
        padding: 15px 20px;
    }
    .floating-contact {
        bottom: 20px;
        left: 20px;
    }
    .floating-contact .float-btn {
        width: 50px;
        height: 50px;
    }
    .floating-contact .float-btn svg {
        width: 24px;
        height: 24px;
    }
}
