/* 
  Theme Variables inspired by Ami Homestay 
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Kaushan+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Romanesco&display=swap');

:root {
    /* --primary-color: #C59D6D; */
    /* --primary-color: #C06804; */
    --primary-color: #0a045a;
    --tile-color: #ecd5ba;
    /* Tan / Gold */
    --primary-dark: #528cb3;
    --secondary-color: #2D2724;
    /* Dark Charcoal */
    /* --accent-color: #E85E5E; */
    --accent-color: #3d66ec;

    /* Salmon Red */
    /* --accent-hover: #D14B4B; */
    --accent-hover: #4b6ad1;
    --bg-light: #F8F4F0;
    /* Off-white / Cream */
    --bg-dark: #1F1B19;
    --text-color: #555555;
    --text-light: #999999;
    --white: #FFFFFF;

    /* --font-heading: 'Playfair Display', serif; */
    --font-heading: 'Cinzel Decorative', serif;
    /* --font-heading: 'Romanesco', cursive; */
    --font-body: 'Montserrat', sans-serif;

    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

.lights li i {
    color: var(--accent-hover) !important;
}


body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section1 {
    padding: 10px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.sub-h {
    font-family: Arial, Helvetica, sans-serif;
    font-size: .8rem;
    color: var(--primary-color);
    font-weight: 900;
}

.spl-bg {
    background-color: var(--tile-color) !important;
}


.small-text {
    font-size: .7rem;
    font-weight: bold;
    background-color: var(--primary-dark);
    color: white;
}

.text-center {
    text-align: center;
}

/* Typography Utility */
.section-subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 30px;
    position: relative;
}

.light-text .section-title {
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover {
    color: var(--secondary-color);
}

.mt-4 {
    margin-top: 30px;
}

.floating-mobile-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: fixed;
    right: 30px;
    bottom: 90px;
    z-index: 1000;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.float-btn:hover {
    transform: rotate(15deg);
}

.phone-float {
    background-color: #007BFF;
}

.wa-float {
    background-color: #25D366;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.logo h1 {
    font-size: 28px;
    color: var(--secondary-color);
    margin: 0;
    transition: var(--transition);
}

.logo span {
    color: var(--primary-color);
}

.navbar.scrolled .logo h1 {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--secondary-color);
    font-size: 15px;
    font-weight: 500;
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-btn {
    padding: 10px 25px;
}

.hamburger {
    display: none;
    font-size: 24px;
    color: var(--secondary-color);
    cursor: pointer;
}

.navbar.scrolled .hamburger {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax */
    z-index: -2;
    animation: zoomIn 20s infinite alternate;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}

.hero-content {
    color: var(--white);
    padding-top: 80px;
}

.hero .subtitle {
    font-size: 16px;
    letter-spacing: 4px;
    margin-bottom: 20px;
    font-weight: 600;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero .title {
    font-size: 72px;
    color: var(--white);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.7s both;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.9s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Booking Bar */
.booking-bar-wrapper {
    position: relative;
    margin-top: -60px;
    z-index: 10;
}

.booking-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    color: var(--secondary-color);
    background-color: #FAFAFA;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
}

.booking-form .btn {
    flex: 1;
    padding: 15px 0;
}

/* Welcome Section */
.welcome-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.welcome-text {
    flex: 1;
}

.welcome-text .description {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.welcome-images {
    flex: 1;
    position: relative;
    height: 500px;
    background-color: var(--white);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

.img-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), z-index 0.4s ease;
}

.img-1 {
    clip-path: polygon(0% 0%, 44% 0%, 39% 41%, 0% 31%);
    z-index: 1;
}

.img-2 {
    clip-path: polygon(46% 0%, 100% 0%, 100% 58%, 41% 43%);
    z-index: 2;
}

.img-3 {
    clip-path: polygon(0% 34%, 56% 48%, 51% 100%, 0% 100%);
    z-index: 3;
}

.img-4 {
    clip-path: polygon(58% 50%, 100% 61%, 100% 100%, 53% 100%);
    z-index: 4;
}

.img-1:hover,
.img-2:hover,
.img-3:hover,
.img-4:hover {
    transform: scale(1.03);
    z-index: 5;
}

/* Facilities Section */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.facility-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border: 1px solid transparent;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(197, 157, 109, 0.2);
}

.facility-card .icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.facility-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.facility-card p {
    font-size: 15px;
    color: var(--text-light);
}

/* Amenities Section */
.amenities-grid {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

.amenities-grid {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.amenities-grid::-webkit-scrollbar {
    display: none;
}

.amenities-wrapper {
    position: relative;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.scroll-btn:hover {
    background-color: var(--primary-dark);
}

.scroll-left {
    left: -20px;
}

.scroll-right {
    right: -20px;
}

.amenity-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex: 0 0 calc(25% - 22.5px);
    min-width: 260px;
    scroll-snap-align: start;
}

.amenity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.amenity-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.amenity-content {
    padding: 20px;
    text-align: center;
}

.amenity-content h3 {
    font-size: 18px;
    margin-bottom: 0;
}

/* Rooms Section */
.rooms-section {
    background-color: var(--bg-dark);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.room-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.room-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.room-price {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    font-weight: 700;
    font-size: 20px;
    font-family: var(--font-heading);
}

.room-price span {
    font-size: 14px;
    font-weight: 400;
    font-family: var(--font-body);
}

.room-content {
    padding: 30px;
}

.room-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.cu-size {
    font-size: 50px;
    padding-right: 10px;
}


.room-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
}

.cu-p {
    color: var(--primary-color) !important;
    font-weight: bold;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.room-features li {
    font-size: 14px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.room-features li i {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: #111111;
    color: #aaaaaa;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer h2,
.footer h3 {
    color: var(--white);
    margin-bottom: 25px;
}

.footer-about h2 span {
    color: var(--primary-color);
}

.footer-about p {
    margin-bottom: 25px;
    text-align: justify;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact ul li i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}



/* Responsive */
@media (max-width: 992px) {
    .welcome-container {
        flex-direction: column;
    }

    .facilities-grid,
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .booking-form {
        flex-wrap: wrap;
    }

    .form-group {
        flex: 1 1 45%;
    }

    .booking-form .btn {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-btn {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .logo h1 {
        font-size: 20px;
    }

    .hero .title {
        font-size: 48px;
    }

    .facilities-grid,
    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        gap: 0;
    }

    .amenity-card {
        flex: 0 0 100%;
        min-width: auto;
        scroll-snap-align: center;
    }

    .form-group {
        flex: 1 1 100%;
    }
}