/* ===================================
   Swayam Hotel & Resort - Custom CSS
   =================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600&family=Cinzel:wght@400;600&display=swap');

/* CSS Variables */
:root {
    --primary-green: #0F3D2E;
    --dark-overlay: #1C1C1C;
    --royal-gold: #C9A24D;
    --soft-gold-hover: #B8933F;
    --warm-white: #F8F6F2;
    --soft-beige: #EFE6D8;
    --text-dark: #333333;
    --text-muted: #777777;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --font-accent: 'Cinzel', serif;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--warm-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-green);
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--royal-gold);
}

/* Navigation */
.navbar {
    background: rgba(15, 61, 46, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: var(--primary-green);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--warm-white) !important;
}

.navbar-nav .nav-link {
    color: var(--warm-white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--royal-gold) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--royal-gold);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    color: var(--warm-white);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(15, 61, 46, 0.75), rgba(15, 61, 46, 0.75)),
                url('assets/images/hero-background.jpg');
    background-color: var(--primary-green); /* Fallback color */
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--warm-white);
}

.hero-title {
    font-family: var(--font-accent);
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--royal-gold);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8),
                 0 0 20px rgba(201, 162, 77, 0.3);
    background: linear-gradient(45deg, var(--royal-gold), #FFD700, var(--royal-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.7));
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    cursor: pointer;
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-arrow-icon {
    width: 50px;
    height: 50px;
    border: 2px solid var(--warm-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.scroll-arrow-icon:hover {
    background: var(--royal-gold);
    border-color: var(--royal-gold);
    transform: scale(1.1);
}

.scroll-arrow-icon i {
    color: var(--warm-white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.scroll-arrow:hover .scroll-arrow-icon i {
    color: var(--text-dark);
}

.scroll-text {
    color: var(--warm-white);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-arrow:hover .scroll-text {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Buttons */
.btn-primary {
    background: var(--royal-gold);
    border: 2px solid var(--royal-gold);
    color: var(--text-dark);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: var(--soft-gold-hover);
    border-color: var(--soft-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 162, 77, 0.3);
}

.btn-outline-light {
    border: 2px solid var(--warm-white);
    color: var(--warm-white);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-light:hover {
    background: var(--warm-white);
    color: var(--primary-green);
    transform: translateY(-2px);
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

.animate-fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Spacing */
section:not(.hero-section) {
    position: relative;
    z-index: 2;
    background: var(--warm-white);
    margin-top: -1px; /* Prevents gaps between sections */
}

/* About Section */
#about {
    margin-top: 0;
    padding-top: 5rem;
}

/* Rooms Section */
#rooms {
    padding-top: 5rem;
}

/* Ensure sections don't overlap with fixed navbar */
section:not(.hero-section) {
    scroll-margin-top: 80px;
}

.about-content {
    padding: 2rem;
}

.about-highlights {
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.highlight-item span {
    font-weight: 500;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Room Cards */
.room-card {
    background: var(--warm-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.room-image {
    height: 200px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.1);
}

.room-content {
    padding: 1.5rem;
}

.room-amenities {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.room-amenities span {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--soft-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 0.9rem;
}

/* Amenities Cards */
.amenity-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--warm-white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.amenity-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.amenity-card:hover .amenity-icon {
    background: var(--royal-gold);
    transform: scale(1.1);
}

.amenity-icon i {
    font-size: 2rem;
    color: var(--warm-white);
}

.amenity-card h5 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Packages Section */
.packages-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    max-width: 100%;
}

/* Desktop container improvements */
@media (min-width: 1200px) {
    .packages-container {
        padding: 3rem 0;
        max-width: 1200px;
        margin: 0 auto;
    }
}

@media (min-width: 1400px) {
    .packages-container {
        padding: 3rem 0;
        max-width: 1320px;
        margin: 0 auto;
    }
}

@media (min-width: 1600px) {
    .packages-container {
        padding: 3rem 0;
        max-width: 1400px;
        margin: 0 auto;
    }
}

.packages-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0 2rem;
    scrollbar-width: thin;
    scrollbar-color: var(--royal-gold) var(--soft-beige);
}

/* Desktop scroll improvements */
@media (min-width: 1200px) {
    .packages-scroll {
        gap: 1.75rem;
        padding: 1.5rem 0 3rem;
    }
}

@media (min-width: 1400px) {
    .packages-scroll {
        gap: 2rem;
        padding: 1.5rem 0 3rem;
    }
}

.packages-scroll::-webkit-scrollbar {
    height: 8px;
}

.packages-scroll::-webkit-scrollbar-track {
    background: var(--soft-beige);
    border-radius: 10px;
}

.packages-scroll::-webkit-scrollbar-thumb {
    background: var(--royal-gold);
    border-radius: 10px;
}

.packages-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--soft-gold-hover);
}

.package-item {
    flex: 0 0 300px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Desktop improvements */
@media (min-width: 1200px) {
    .package-item {
        flex: 0 0 320px;
    }
    
    .package-item img {
        height: 220px;
    }
}

@media (min-width: 1400px) {
    .package-item {
        flex: 0 0 340px;
    }
    
    .package-item img {
        height: 240px;
    }
}

/* Tablet improvements */
@media (min-width: 768px) and (max-width: 1199px) {
    .package-item {
        flex: 0 0 280px;
    }
}

.package-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.package-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.package-item:hover img {
    transform: scale(1.1);
}

.package-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 61, 46, 0.9));
    color: var(--warm-white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.package-item:hover .package-overlay {
    transform: translateY(0);
}

.package-overlay h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--royal-gold);
}

.package-overlay p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.scroll-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--royal-gold);
    border: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.scroll-btn:hover {
    background: var(--soft-gold-hover);
    transform: scale(1.1);
}

.scroll-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Events Section */
.event-type {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.event-type i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.event-type h5 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

/* Pool Section */
.pool-section {
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--soft-beige) 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 0 -15px;
}

.pool-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature i {
    font-size: 1.2rem;
}

/* Dining Section */
.dining-options {
    margin-top: 2rem;
}

.dining-option {
    margin-bottom: 1.5rem;
}

.dining-option h5 {
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 61, 46, 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 {
    font-size: 2rem;
    color: var(--warm-white);
}

/* Testimonials */
.testimonial-card {
    background: var(--warm-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.testimonial-author h6 {
    color: var(--primary-green);
    margin-bottom: 0.25rem;
}

/* Contact Section */
.contact-info {
    padding: 2.5rem;
    background: var(--warm-white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-info h4 {
    color: var(--primary-green);
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(15, 61, 46, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(15, 61, 46, 0.06);
    transform: translateY(-2px);
}

.contact-item i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-green);
    color: var(--warm-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

/* Hide phone icon on mobile */
@media (max-width: 767px) {
    .contact-phone i {
        display: none;
    }
    
    .contact-phone {
        padding-left: 0;
    }
}

.contact-item h6 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-item p {
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary-green);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--royal-gold);
}

.contact-form {
    background: var(--warm-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid var(--soft-beige);
    border-radius: 10px;
    padding: 12px 15px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(15, 61, 46, 0.1);
}

.map-container {
    background: var(--warm-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.map-placeholder {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder iframe {
    border-radius: 15px;
    width: 100% !important;
    height: 450px !important;
}

/* Content Page Styles */
.content-article {
    line-height: 1.8;
    color: var(--text-dark);
}

.content-article h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
}

.content-article h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--royal-gold);
    border-radius: 2px;
}

.content-subtitle {
    color: var(--primary-green);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 20px;
}

.content-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--royal-gold);
    border-radius: 50%;
}

.content-section {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(15, 61, 46, 0.1);
}

.content-section:last-child {
    border-bottom: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: var(--warm-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 61, 46, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--royal-gold);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green) 0%, rgba(15, 61, 46, 0.8) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--royal-gold) 0%, #b8941f 100%);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--warm-white);
}

.feature-card h4 {
    color: var(--primary-green);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(15, 61, 46, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.amenity-item:hover {
    background: rgba(15, 61, 46, 0.06);
    transform: translateX(5px);
}

.amenity-item i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.amenity-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, rgba(15, 61, 46, 0.9) 100%);
    color: var(--warm-white);
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
    box-shadow: 0 15px 40px rgba(15, 61, 46, 0.2);
}

.cta-info p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cta-buttons {
    margin-top: 2rem;
}

.cta-buttons .btn {
    margin: 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-outline-primary {
    border-color: var(--warm-white);
    color: var(--warm-white);
}

.cta-buttons .btn-outline-primary:hover {
    background: var(--warm-white);
    color: var(--primary-green);
    border-color: var(--warm-white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-article h2 {
        font-size: 2rem;
    }
    
    .content-subtitle {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .amenities-list {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* Wedding Functions Section */
.wedding-functions-section {
    background: linear-gradient(135deg, rgba(15, 61, 46, 0.02) 0%, rgba(201, 162, 77, 0.05) 100%);
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
}

.functions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.function-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--warm-white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 61, 46, 0.05);
}

.function-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--royal-gold);
}

.function-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--royal-gold) 0%, #b8941f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.function-item:hover .function-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(201, 162, 77, 0.4);
}

.function-icon i {
    font-size: 1.8rem;
    color: var(--warm-white);
}

.function-item h5 {
    color: var(--primary-green);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.function-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Wedding-specific animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.function-item:nth-child(odd) .function-icon {
    animation: float 3s ease-in-out infinite;
}

.function-item:nth-child(even) .function-icon {
    animation: float 3s ease-in-out infinite 1.5s;
}

/* Resort Highlights Section */
.resort-highlights-section {
    background: linear-gradient(135deg, rgba(15, 61, 46, 0.03) 0%, rgba(201, 162, 77, 0.08) 100%);
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
    border: 1px solid rgba(201, 162, 77, 0.1);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--warm-white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 61, 46, 0.05);
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--royal-gold) 0%, #b8941f 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.highlight-item:hover::before {
    transform: scaleX(1);
}

.highlight-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--royal-gold);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green) 0%, rgba(15, 61, 46, 0.8) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
    position: relative;
}

.highlight-item:hover .highlight-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--royal-gold) 0%, #b8941f 100%);
    box-shadow: 0 10px 30px rgba(201, 162, 77, 0.4);
}

.highlight-icon i {
    font-size: 2rem;
    color: var(--warm-white);
    transition: all 0.3s ease;
}

.highlight-item:hover .highlight-icon i {
    transform: rotate(10deg);
}

.highlight-item h5 {
    color: var(--primary-green);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.highlight-item:hover h5 {
    color: var(--royal-gold);
}

.highlight-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Resort-specific animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.highlight-item:nth-child(1) .highlight-icon {
    animation: pulse 4s ease-in-out infinite;
}

.highlight-item:nth-child(2) .highlight-icon {
    animation: pulse 4s ease-in-out infinite 1s;
}

.highlight-item:nth-child(3) .highlight-icon {
    animation: pulse 4s ease-in-out infinite 2s;
}

.highlight-item:nth-child(4) .highlight-icon {
    animation: pulse 4s ease-in-out infinite 3s;
}

/* Pool Features Section */
.pool-features-section {
    background: linear-gradient(135deg, rgba(0, 119, 190, 0.05) 0%, rgba(0, 180, 216, 0.08) 100%);
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
    border: 1px solid rgba(0, 119, 190, 0.1);
}

.pool-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pool-feature-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--warm-white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 119, 190, 0.05);
    position: relative;
    overflow: hidden;
}

.pool-feature-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 119, 190, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
}

.pool-feature-item:hover::before {
    transform: scale(1);
}

.pool-feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 119, 190, 0.3);
}

.pool-feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0077be 0%, #00b4d8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.pool-feature-item:hover .pool-feature-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(0, 119, 190, 0.4);
}

.pool-feature-icon i {
    font-size: 1.8rem;
    color: var(--warm-white);
    transition: all 0.3s ease;
}

.pool-feature-item h5 {
    color: var(--primary-green);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.pool-feature-item:hover h5 {
    color: #0077be;
}

.pool-feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Pool-specific animations */
@keyframes ripple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}

.pool-feature-item:nth-child(1) .pool-feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 2s ease-out infinite;
}

.pool-feature-item:nth-child(2) .pool-feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 2s ease-out infinite 0.5s;
}

.pool-feature-item:nth-child(3) .pool-feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 2s ease-out infinite 1s;
}

.pool-feature-item:nth-child(4) .pool-feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 2s ease-out infinite 1.5s;
}

/* Footer */
.footer {
    background: var(--dark-overlay);
    color: var(--warm-white);
    padding: 3rem 0 1rem;
}

.footer-brand h5 {
    color: var(--royal-gold);
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--warm-white) !important;
    opacity: 0.9;
    font-size: 1rem;
    margin-bottom: 0;
}

.footer-social h6 {
    color: var(--royal-gold);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--royal-gold);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--warm-white);
    transform: translateY(-3px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.developer-credit {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.developer-link {
    color: var(--royal-gold) !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.developer-link:hover {
    color: var(--warm-white) !important;
    text-decoration: underline;
}

/* Floating Buttons */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.call-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--royal-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(201, 162, 77, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.call-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(201, 162, 77, 0.4);
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-bottom: none;
    padding: 1rem 1.5rem;
}

.modal-body {
    padding: 0 1.5rem 1.5rem;
}

#lightboxImage {
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pool-section {
        padding: 2rem 1rem;
        margin: 0;
    }
    
    .pool-features {
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-outline-light {
        width: 200px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .call-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .amenity-card {
        padding: 1.5rem 1rem;
    }
    
    .amenity-icon {
        width: 60px;
        height: 60px;
    }
    
    .amenity-icon i {
        font-size: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--warm-white);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--royal-gold);
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-gold {
    color: var(--royal-gold) !important;
}

.bg-gold {
    background-color: var(--royal-gold) !important;
}

.text-green {
    color: var(--primary-green) !important;
}

.bg-green {
    background-color: var(--primary-green) !important;
}

.bg-beige {
    background-color: var(--soft-beige) !important;
}

.rounded-custom {
    border-radius: 15px;
}

.shadow-custom {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.transition-custom {
    transition: all 0.3s ease;
}
