:root {
    --primary-color: #1b4332;
    --primary-light: #52a66d;
    --primary-lighter: #a8d5ba;
    --secondary-color: #c9702e;
    --accent-color: #d9a441;
    --text-dark: #16241c;
    --text-light: #4a5568;
    --light-bg: #ffffff;
    --cream: #f7f3ea;
    --dark-green: #0f2d1f;
    --gradient-primary: linear-gradient(
        135deg,
        #1b4332 0%,
        #2e7d4f 50%,
        #52a66d 100%
    );
    --gradient-secondary: linear-gradient(135deg, #c9702e 0%, #d9a441 100%);
    --gradient-bg: linear-gradient(
        135deg,
        #f7f3ea 0%,
        #eff6ef 50%,
        #f2ece1 100%
    );
    --shadow-elegant: 0 20px 60px rgba(27, 67, 50, 0.15);
    --shadow-hover: 0 30px 80px rgba(27, 67, 50, 0.25);
}

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

body {
    font-family: "Inter", sans-serif;
    background: var(--gradient-bg);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Enhanced Typography */
.display-font {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.script-font {
    font-family: "Dancing Script", cursive;
    font-weight: 600;
}

.elegant-font {
    font-family: "Playfair Display", serif;
    font-weight: 500;
}

/* Enhanced Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 1.2rem 3rem;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-elegant);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, #2d8659 0%, #4ade80 50%, #10b981 100%);
    color: white;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Section Styling */
.section-title {
    font-family: "Playfair Display", serif;
    font-weight: 800;
    font-size: 4rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    text-align: center;
    position: relative;
    letter-spacing: -1px;
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--primary-light) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: var(--gradient-secondary);
    border-radius: 3px;
}

.section-subtitle {
    font-family: "Dancing Script", cursive;
    font-size: 2.2rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: -2rem;
}

.accommodations-container {
    position: relative;
    z-index: 2;
}

.accommodation-row {
    margin-bottom: 5rem;
}

.accommodation-row:last-child {
    margin-bottom: 0;
}

/* Enhanced Cards */
.accommodation-card {
    border: none;
    border-radius: 30px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(13, 79, 60, 0.1);
    overflow: hidden;
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(254, 248, 243, 0.95) 100%
    );
    backdrop-filter: blur(15px);
    height: 520px;
    border: 1px solid rgba(13, 79, 60, 0.1);
}

.accommodation-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 40px 100px rgba(13, 79, 60, 0.2);
    border-color: var(--primary-light);
}

.accommodation-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 79, 60, 0.05),
        rgba(255, 107, 53, 0.05)
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.accommodation-card:hover::before {
    opacity: 1;
}

.accommodation-card .card-img-top {
    height: 300px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.accommodation-card:hover .card-img-top {
    transform: scale(1.1);
}

.accommodation-card .card-body {
    padding: 2.8rem 2.5rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(254, 248, 243, 0.98) 100%
    );
}

.accommodation-card .card-title {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    text-align: center;
    letter-spacing: -0.5px;
}

.accommodation-card .card-text {
    font-family: "Playfair Display", serif;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    text-align: center;
    line-height: 1.7;
}

.accommodation-card .btn {
    border-radius: 30px;
    font-weight: 700;
    padding: 1rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

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

.accommodation-card .btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(13, 79, 60, 0.3);
}

/* Premium Badge Enhanced */
.badge-premium {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #1a1a1a;
    font-weight: 800;
    padding: 1rem 1.8rem;
    border-radius: 30px;
    z-index: 10;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    animation: premium-glow 3s infinite alternate;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

@keyframes premium-glow {
    0% {
        box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    }
    100% {
        box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
    }
}

.badge-ultimate {
    background: linear-gradient(135deg, #9333ea 0%, #c084fc 50%, #e879f9 100%);
    color: white;
    animation: ultimate-pulse 2.5s infinite;
}

@keyframes ultimate-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

/* Section Introduction */
.section-intro {
    max-width: 900px;
    margin: 0 auto 5rem;
    text-align: center;
    padding: 0 1rem;
}

.section-intro p {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.amenity-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(240, 253, 244, 0.95) 100%
    );
    backdrop-filter: blur(15px);
    border: 2px solid rgba(13, 79, 60, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 25px;
    box-shadow: 0 15px 45px rgba(13, 79, 60, 0.08);
}

.amenity-card:hover {
    background: linear-gradient(
        135deg,
        rgba(254, 248, 243, 0.98) 0%,
        rgba(255, 255, 255, 0.98) 100%
    );
    border-color: var(--primary-light);
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(13, 79, 60, 0.15);
}

.amenity-icon {
    font-size: 4.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.8rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 8px 20px rgba(13, 79, 60, 0.2));
}

.amenity-card:hover .amenity-icon {
    transform: scale(1.3) rotateY(360deg);
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(254, 248, 243, 0.98) 100%
    );
    backdrop-filter: blur(25px);
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(13, 79, 60, 0.15);
    border: 2px solid rgba(13, 79, 60, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 79, 60, 0.02) 0%,
        rgba(255, 107, 53, 0.02) 100%
    );
    pointer-events: none;
}

.form-control {
    border: 2px solid rgba(13, 79, 60, 0.15);
    border-radius: 20px;
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.95);
    font-family: "Inter", sans-serif;
    font-weight: 500;
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(13, 79, 60, 0.2);
    background: white;
    transform: translateY(-2px);
}

.form-label {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-info:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background: linear-gradient(
        135deg,
        var(--dark-green) 0%,
        var(--primary-color) 50%,
        var(--primary-light) 100%
    );
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-brand .navbar-brand.brand-logo {
    justify-content: center;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 30% 70%,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 30%,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 50%
        );
    opacity: 0.4;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.fade-in-up-delay-1 {
    animation-delay: 0.2s;
}
.fade-in-up-delay-2 {
    animation-delay: 0.4s;
}
.fade-in-up-delay-3 {
    animation-delay: 0.6s;
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .navbar-brand {
        font-size: 1.8rem;
    }

    .navbar-brand img {
        height: 45px;
        margin-right: 12px;
    }

    .accommodation-card {
        height: auto;
        min-height: 480px;
    }

    .section-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 3rem;
    }

    .section-subtitle {
        font-size: 2rem;
    }

    .accommodation-card {
        margin-bottom: 2rem;
        height: auto;
        min-height: 450px;
    }

    .accommodation-card .card-body {
        padding: 2rem 2rem;
    }

    .amenity-icon {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .navbar-brand img {
        height: 40px;
        margin-right: 10px;
    }

    .btn-book-now {
        margin-left: 0;
        margin-top: 1rem;
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .section-intro p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .accommodation-card {
        height: auto;
        min-height: 400px;
        margin-bottom: 2rem;
    }

    .accommodation-card .card-img-top {
        height: 250px;
    }

    .accommodation-card .card-body {
        padding: 1.5rem 1.5rem;
    }

    .accommodation-card .card-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .accommodation-card .card-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .accommodation-card .btn {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }

    .amenity-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem !important;
    }

    .amenity-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .amenity-card .card-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .amenity-card .card-text {
        font-size: 0.95rem;
    }

    .contact-form {
        padding: 1.5rem !important;
        margin: 0 0.5rem;
        border-radius: 20px;
    }

    .form-control {
        border-radius: 15px;
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }

    .form-label {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .btn-primary {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .badge-premium {
        top: 1rem;
        right: 1rem;
        padding: 0.8rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-collapse {
        margin-top: 1rem;
    }

    .nav-link {
        margin: 0.2rem 0;
        padding: 0.8rem 1rem !important;
        text-align: center;
    }

    .btn-book-now {
        width: 100%;
        margin: 1rem 0 0 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: 1.5rem;
        margin-top: -1rem;
    }

    .section-intro {
        padding: 0 0.5rem;
        margin-bottom: 3rem;
    }

    .section-intro p {
        font-size: 1.1rem;
    }

    .accommodation-row {
        margin-bottom: 3rem;
    }

    .accommodation-card .card-img-top {
        height: 220px;
    }

    .accommodation-card .card-body {
        padding: 1.2rem 1.2rem;
    }

    .accommodation-card .card-title {
        font-size: 1.3rem;
    }

    .accommodation-card .card-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .amenity-card {
        padding: 1.2rem !important;
    }

    .contact-form {
        padding: 1.5rem !important;
        margin: 0 0.5rem;
        border-radius: 20px;
    }

    .form-control {
        border-radius: 15px;
    }

    .contact-info {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }

    .contact-info:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-5px);
    }

    .decoration-leaf {
        display: none;
    }

    .badge-premium {
        top: 0.8rem;
        right: 0.8rem;
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }

    .footer .row > div {
        margin-bottom: 2rem;
    }

    .footer h5,
    .footer h6 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .footer p {
        font-size: 0.9rem;
    }

    .footer .social-links a {
        margin: 0 0.5rem;
    }

    #backToTop {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 375px) {
    .section-title {
        font-size: 1.8rem;
    }

    .accommodation-card .card-title {
        font-size: 1.2rem;
    }

    .accommodation-card .card-text {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 1rem !important;
    }
}

.decoration-leaf {
    position: absolute;
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 10s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    75% {
        transform: translateY(-40px) rotate(270deg);
    }
}

.decoration-leaf:nth-child(2) {
    animation-delay: -2s;
}
.decoration-leaf:nth-child(3) {
    animation-delay: -4s;
}
.decoration-leaf:nth-child(4) {
    animation-delay: -6s;
}
.decoration-leaf:nth-child(5) {
    animation-delay: -8s;
}
/* Gallery Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-elegant);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 300px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 79, 60, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 3rem;
    transform: scale(0);
    transition: transform 0.3s ease 0.1s;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    line-height: 1;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.2);
}

#lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    transition: opacity 0.15s ease;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 20px;
}

.lightbox-counter {
    position: absolute;
    top: 30px;
    left: 40px;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 20px;
    cursor: pointer;
    font-size: 2rem;
    transition: all 0.3s ease;
    z-index: 10000;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    #lightbox-img {
        max-width: 95%;
        max-height: 70vh;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }

    .lightbox-counter {
        top: 20px;
        left: 20px;
        font-size: 1rem;
        padding: 8px 15px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next {
        right: 20px;
    }
}

