/* =========================================
   Hotel Tikas - Style System
   ========================================= */

:root {
    /* Colors - Premium Pallete */
    --primary-color: #d4af37;
    /* Elegant Gold */
    --primary-dark: #b5952f;
    --secondary-color: #0f2027;
    /* Deep Navy/Charcoal */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --border-color: #e0e0e0;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --transition-fast: all 0.2s ease;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.25);
    --border-radius: 12px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* Typography Utilities */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-widget,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.05rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--border-color);
    padding: 12px 24px;
    font-size: 1rem;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    border-color: var(--secondary-color);
}

.btn-outline i {
    margin-left: 8px;
    transition: var(--transition);
    font-size: 1.2rem;
}

.btn-outline:hover i {
    transform: translateX(5px);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.2rem;
}

/* Navbar (Glassmorphism) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 75px;
    border-radius: 4px;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.navbar.scrolled .logo img {
    height: 60px;
    filter: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links li a {
    color: var(--bg-white);
    font-weight: 500;
    font-family: var(--font-heading);
    position: relative;
    font-size: 1.05rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-links li a {
    color: var(--secondary-color);
    text-shadow: none;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    font-size: 2.2rem;
    color: var(--bg-white);
    cursor: pointer;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .menu-toggle {
    color: var(--secondary-color);
    text-shadow: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/475064565_1068973051912843_76744629851095274_n.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.7) 0%, rgba(32, 58, 67, 0.5) 50%, rgba(44, 83, 100, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 850px;
    margin-top: -80px;
}

.hero .subtitle {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero h1 {
    color: var(--bg-white);
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    margin-bottom: 45px;
    max-width: 650px;
    margin-inline: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.6s both;
}

.hero .btn-secondary {
    animation: fadeInUp 1s ease 0.8s both;
}

/* Booking Widget Overlay */
.booking-widget-container {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1100px;
    z-index: 20;
}

.booking-widget {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 1s ease 1s both;
}

.widget-group {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget-group label {
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
    pointer-events: none;
}

.widget-group input,
.widget-group select {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-main);
    background-color: var(--bg-white);
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

.widget-group input[type="date"] {
    padding-left: 15px;
    /* Adjust if not using icon here */
}

/* Custom Select Arrow */
.widget-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.widget-group input:focus,
.widget-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.btn-widget {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    flex: 1;
    min-width: 200px;
    padding: 15px 30px;
    height: 52px;
}

.btn-widget:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Base sections padding */
section {
    padding: 120px 20px;
}

/* Amenities Section */
.amenities {
    background-color: var(--bg-light);
    padding-top: 180px;
    /* Space for booking widget */
}

.amenities-grid {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.amenity-card {
    background-color: var(--bg-white);
    padding: 45px 35px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-sm);
}

.amenity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.3);
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: var(--transition-slow);
}

.amenity-card:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: rotateY(360deg);
}

.amenity-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.amenity-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Branches (Sedes) Section */
.branches {
    background-color: var(--bg-white);
}

.branches-grid {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.branch-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.branch-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.branch-img {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.branch-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 30%, rgba(15, 32, 39, 0.9) 100%);
    opacity: 0.6;
    transition: var(--transition);
}

.branch-card:hover .branch-img::after {
    opacity: 0.8;
}

.branch-card:hover .branch-img {
    background-size: 110%;
    /* zoom effect */
}

.branch-content {
    padding: 35px 30px;
    position: relative;
    background: var(--bg-white);
    z-index: 2;
}

.branch-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.branch-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 1.05rem;
}

.branch-features {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.branch-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.branch-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* CTA Section */
.cta {
    background-color: var(--secondary-color);
    background-image: linear-gradient(135deg, rgba(15, 32, 39, 0.95) 0%, rgba(32, 58, 67, 0.9) 100%), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--bg-white);
    padding: 140px 20px;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--bg-white);
    font-size: 3.2rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 45px;
    opacity: 0.9;
}

/* Footer Section */
footer {
    background-color: #0a1118;
    color: #a0aebc;
    padding: 100px 20px 0;
}

.footer-grid {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 70px;
}

.footer-logo {
    height: 65px;
    border-radius: 4px;
    margin-bottom: 25px;
    filter: brightness(0.9);
}

.footer-brand p {
    margin-bottom: 30px;
    max-width: 380px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
    font-size: 1.4rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 15px;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-top: 2px;
}

.footer-bottom {
    background-color: #05080b;
    padding: 30px 20px;
    text-align: center;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations Variables */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    animation: none;
    color: #fff;
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.5);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

/* Responsive Design */
@media (max-width: 1100px) {
    .booking-widget-container {
        width: 95%;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 4rem;
    }

    .booking-widget {
        gap: 20px;
        padding: 25px;
    }

    .widget-group {
        min-width: 45%;
    }

    .booking-widget-container {
        bottom: -100px;
    }

    .amenities {
        padding-top: 200px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 700px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        max-width: 80vw;
        height: 100vh;
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-slow);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        gap: 30px;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        color: var(--secondary-color);
        font-size: 1.3rem;
        font-weight: 600;
    }

    .nav-actions .btn-primary {
        display: none;
    }

    .widget-group {
        min-width: 100%;
    }

    .booking-widget-container {
        position: relative;
        bottom: 0;
        transform: none;
        left: 0;
        width: 100%;
        margin-top: 40px;
    }

    .hero {
        height: auto;
        min-height: auto;
        padding-top: 150px;
        padding-bottom: 60px;
        flex-direction: column;
    }

    .amenities {
        padding-top: 80px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta {
        padding: 100px 20px;
    }

    .cta h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .booking-widget {
        padding: 20px 15px;
        gap: 15px;
    }

    .widget-group input,
    .widget-group select {
        padding: 10px 12px 10px 35px;
        font-size: 0.95rem;
    }

    .input-wrapper i {
        left: 12px;
        font-size: 1.1rem;
    }

    .btn-widget {
        padding: 12px 20px;
        height: 48px;
        font-size: 1rem;
    }

    .widget-group label {
        font-size: 0.8rem;
    }

    /* Hero and padding adjustments are handled by max-width: 768px */
}