/* 
   AUSTRAL - DARK LUXURY THEME (FINAL REVISION)
   Strict 3-Color Palette: Deep Blue, Red, White/Gray
*/

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    background-image: radial-gradient(
        circle at 50% 0%,
        #0c263b 0%,
        var(--color-bg-dark) 60%
    );
    color: var(--color-text-white);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: white;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- 2. Utilities --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.section-padding {
    padding: 120px 0;
}

.hidden-mobile {
    display: block;
}

@media (max-width: 1024px) {
    .hidden-mobile {
        display: none !important;
    }
}

/* --- 3. Typography --- */
.heading-xl {
    font-size: 4.5rem;
    text-shadow: var(--shadow-text);
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.heading-lg {
    font-size: 3.5rem;
    letter-spacing: -0.5px;
}

.heading-md {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

.text-lead {
    font-size: 1.35rem;
    color: var(--color-text-gray);
    max-width: 750px;
    margin: 0 auto;
    font-weight: 300;
}

@media (max-width: 768px) {
    .heading-xl {
        font-size: 3rem;
    }

    .heading-lg {
        font-size: 2.5rem;
    }

    .heading-md {
        font-size: 2rem;
    }
}

/* --- 4. Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    /* Smaller padding as requested */
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    /* Smaller font size */
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    white-space: nowrap;
}

/* Glow Button */
.btn-glow {
    background: linear-gradient(135deg, #ff1a1a, #b30600);
    color: white;
    box-shadow: 0 5px 20px rgba(239, 8, 0, 0.3);
}

.btn-glow::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.6s;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(239, 8, 0, 0.5);
}

.btn-glow:hover::after {
    left: 100%;
}

/* Invert Button */
.btn-invert {
    background: transparent;
    border: 2px solid var(--color-primary-red);
    color: var(--color-primary-red);
}

.btn-invert:hover {
    background: var(--color-primary-red);
    color: white;
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

/* Ghost Button */
.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-ghost:hover {
    background: white;
    color: var(--color-bg-dark);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
}

/* --- 5. Header & Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 10px 0;
    transition: all 0.3s ease;
    background: rgba(5, 17, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 90px;
    /* Larger logo */
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
    height: 100%;
}

.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-right: 20px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: white;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mode Switcher */
.mode-switch {
    display: flex;
    background: white;
    border-radius: 50px;
    padding: 3px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.switch-btn {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.switch-btn.active {
    background: var(--color-bg-dark);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.switch-btn.active.hotel {
    background: var(--color-primary-red);
}

/* --- 6. Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(5, 17, 26, 0.4),
        var(--color-bg-dark)
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-top: 80px;
}

/* --- 7. Cards & Features --- */
.feature-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Hover Effect: Scale Up + Shadow (No Shake) */
.feature-card:hover,
.pain-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.03);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.pain-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.pain-card:hover {
    border-left-color: var(--color-primary-red);
}

/* --- 8. Footer --- */
footer {
    background-color: var(--color-bg-darker);
    padding: 100px 0 40px;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.footer-col h4 {
    color: white;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: uppercase;
    opacity: 0.8;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary-red);
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* --- 9. Animations --- */
/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 8, 0, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(239, 8, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 8, 0, 0);
    }
}

.anim-pulse {
    animation: pulse 2s infinite;
}

/* Float Animation */
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.anim-float {
    animation: float 6s ease-in-out infinite;
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- 10. Forms --- */
input,
textarea,
select {
    width: 100%;
    padding: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary-red);
    background: rgba(255, 255, 255, 0.1);
}

/* --- 11. Chatbot --- */
.chatbot-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--color-primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(239, 8, 0, 0.4);
    animation: pulse 3s infinite;
    transition: transform 0.3s ease;
}

.chatbot-float:hover {
    transform: scale(1.1);
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-window.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.chatbot-header {
    background: var(--color-bg-dark);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.chatbot-body {
    padding: 20px;
    color: var(--color-bg-dark);
    height: 300px;
    overflow-y: auto;
}

.chat-msg {
    background: #f1f5f9;
    padding: 10px 15px;
    border-radius: 10px 10px 10px 0;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* --- 12. Entry Popup --- */
.entry-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.entry-popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.entry-popup-content {
    background: var(--color-bg-dark);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 600px;
    width: 90%;
}

.entry-popup-overlay.active .entry-popup-content {
    transform: scale(1);
}

/* --- 13. Mobile Menu --- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
}

@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-bg-darker);
        flex-direction: column;
        justify-content: center;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 10000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .header-right {
        display: none;
    }
}
