/* ==========================================================================
   Hotel Royal Palace - Base Stylesheet
   Contains CSS Variables, Reset, Typography, Global Layouts, Header & Footer
   ========================================================================== */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* Variables */
:root {
    /* Color Palette */
    --gold: #c5a880;
    --gold-dark: #a68658;
    --gold-light: #ebdcc5;
    --gold-bg: #f5eedf;
    --bg-base: #fcfaf7;
    --bg-card: #ffffff;
    --text-primary: #222222;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #ebe7e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Dimensions */
    --header-height: 80px;
    --max-width: 1200px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

li {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Utilities & Common Components */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section-padding {
    padding: 7.5rem 0;
}

.subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-dark);
    margin-bottom: 0.75rem;
    display: block;
}

.heading-primary {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.paragraph-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
}

/* Premium Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gold);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2.25rem;
    border-radius: 0;
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--gold-dark);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary:hover {
    color: #ffffff;
    border-color: var(--gold-dark);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2.25rem;
    cursor: pointer;
    background-color: transparent;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background-color: var(--text-primary);
    color: #ffffff;
}

/* Header & Glass Navigation */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(252, 250, 247, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(235, 231, 224, 0.4);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header-nav.shrink {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

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

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

.header-nav.shrink .logo-img {
    height: 40px;
}

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

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold-dark);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-item {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--gold-dark);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-item:hover::after, .nav-item.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    z-index: 1001;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* Footer Section */
.footer {
    background-color: #1a1917;
    color: #ffffff;
    padding: 6rem 0 2rem 0;
    border-top: 4px solid var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-column-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gold-light);
    margin-bottom: 2rem;
    position: relative;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: var(--gold);
}

.footer-about-text {
    color: #b0afae;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0afae;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.social-icon-btn:hover {
    color: #ffffff;
    background-color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-3px);
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #b0afae;
    font-size: 0.95rem;
}

.footer-icon-gold {
    color: var(--gold);
    font-size: 1.15rem;
    margin-top: 3px;
    flex-shrink: 0;
}

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

.footer-hours-heading {
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.footer-hours-text {
    color: #b0afae;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #8a8988;
}

.footer-bottom-link {
    color: #8a8988;
}

.footer-bottom-link:hover {
    color: #ffffff;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .header-nav {
        height: 70px;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-base);
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        font-size: 1.1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 5rem 0;
    }
    
    .heading-primary {
        font-size: 2.25rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    color: #ffffff;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

