/* ==========================================
   CSS Variables for Easy Theming
   ========================================== */
:root {
    /* Gallery Colors */
    --gallery-bg: #ffffff;
    --gallery-overlay: rgba(0, 0, 0, 0.3);
    --gallery-shadow: rgba(0, 0, 0, 0.12);
    --gallery-shadow-hover: rgba(0, 0, 0, 0.18);
    
    /* Navigation */
    --nav-btn-bg: rgba(255, 255, 255, 0.9);
    --nav-btn-bg-hover: rgba(255, 255, 255, 1);
    --nav-btn-icon: #333;
    --nav-btn-shadow: rgba(0, 0, 0, 0.15);
    
    /* Indicators */
    --indicator-bg: rgba(255, 255, 255, 0.5);
    --indicator-bg-hover: rgba(255, 255, 255, 0.8);
    --indicator-bg-active: rgba(255, 255, 255, 1);
    --indicator-container-bg: rgba(0, 0, 0, 0.3);
    
    /* Transitions */
    --transition-speed: 0.6s;
    --transition-function: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
    background: linear-gradient(135deg, #F1FAEE 0%, #A8DADC 50%, #E8F4F8 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #2E86AB;
    font-weight: 600;
    white-space: nowrap;
    margin-right: 2rem;
}

.nav-logo i {
    color: #F18F01;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #A23B72;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #A23B72;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.language-btn {
    background: transparent;
    border: 2px solid #2E86AB;
    color: #2E86AB;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-btn:hover {
    background: #2E86AB;
    color: white;
    transform: translateY(-2px);
}

.language-btn i {
    font-size: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    /* Fallback background */
    background: linear-gradient(135deg, #A8DADC 0%, #457B9D 40%, #1D3557 80%, #F1FAEE 100%);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #F18F01;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem auto;
    max-width: 900px;
    animation: fadeInUp 1s ease 0.6s both;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.feature-item i {
    font-size: 1.2rem;
    color: #F18F01;
}

.hero-buttons {
    margin-top: 2rem;
    gap: 1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #A23B72;
    color: white;
}

.btn-primary:hover {
    background: #F18F01;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(162, 59, 114, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Section Styling */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #457B9D;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F1FAEE 0%, #A8DADC 100%);
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(42,157,143,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.gallery-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(233,196,106,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 3rem;
}

.tab-button {
    padding: 10px 20px;
    border: 2px solid #ddd;
    background: white;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-button.active,
.tab-button:hover {
    background: #457B9D;
    color: white;
    border-color: #457B9D;
}

/* ==========================================
   Instagram-Style Gallery Carousel
   ========================================== */
.gallery-slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 2rem auto;
    background: var(--gallery-bg);
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--gallery-shadow);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    user-select: none;
    touch-action: pan-y pinch-zoom;
}

.gallery-slider-wrapper:hover {
    box-shadow: 0 12px 40px var(--gallery-shadow-hover);
}

.gallery-grid {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
    cursor: grab;
}

.gallery-grid.dragging {
    cursor: grabbing;
}

.gallery-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) var(--transition-function), 
                visibility 0s var(--transition-speed);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    will-change: opacity;
}

.gallery-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transition: opacity var(--transition-speed) var(--transition-function), 
                visibility 0s 0s;
}

.gallery-item.prev {
    opacity: 0;
    visibility: hidden;
    z-index: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.gallery-item img[loading="lazy"] {
    animation: fadeIn 0.4s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gallery-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

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

.gallery-overlay i {
    color: white;
    font-size: 2.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

/* Instagram-Style Navigation Arrows */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--nav-btn-bg);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px var(--nav-btn-shadow);
    opacity: 0;
}

.gallery-slider-wrapper:hover .gallery-nav-btn {
    opacity: 1;
}

.gallery-nav-btn:hover {
    background: var(--nav-btn-bg-hover);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 16px var(--nav-btn-shadow);
}

.gallery-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-nav-btn:focus {
    outline: 2px solid #2E86AB;
    outline-offset: 2px;
}

.gallery-nav-btn i {
    color: #333;
    font-size: 1.3rem;
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

/* Instagram-Style Dot Indicators */
.gallery-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    padding: 8px 12px;
    background: var(--indicator-container-bg);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.gallery-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--indicator-bg);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.gallery-indicator:hover {
    background: var(--indicator-bg-hover);
    transform: scale(1.2);
}

.gallery-indicator.active {
    background: var(--indicator-bg-active);
    transform: scale(1.3);
}

.gallery-indicator:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Gallery Counter */
.gallery-counter {
    display: none !important;
}

/* Amenities Section */
.amenities-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0fafe 50%, #e6f7f9 100%);
    position: relative;
}

.amenities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,60 C300,20 900,100 1200,60 L1200,0 L0,0 Z" fill="rgba(42,157,143,0.1)"/></svg>');
    background-size: cover;
    pointer-events: none;
    z-index: 0;
}

.amenities-section .container {
    position: relative;
    z-index: 1;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.detail-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.detail-card:hover {
    transform: translateY(-5px);
}

.detail-card h3 {
    color: #2E86AB;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.detail-list {
    margin: 1rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item i {
    color: #457B9D;
    width: 20px;
}

.pets-not-allowed i {
    color: #A23B72;
}

.pricing-card {
    background: linear-gradient(135deg, #1D3557 0%, #457B9D 50%, #A8DADC 100%);
    color: white;
}

.pricing-card h3,
.pricing-card h4 {
    color: white;
}

.price-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.price-season {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F18F01;
}

.special-offers h4 {
    margin-bottom: 1rem;
}

.special-offers p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F1FAEE 0%, #A8DADC 100%);
}

.overall-rating {
    text-align: center;
    margin-bottom: 3rem;
}

.rating-stars {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 10px;
}

.rating-text {
    font-size: 1.2rem;
    color: #666;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info h4 {
    color: #333;
    margin-bottom: 5px;
}

.reviewer-info p {
    color: #666;
    font-size: 0.9rem;
}

.review-rating {
    color: #ffd700;
}

.review-text {
    color: #555;
    font-style: italic;
}

/* Add Review Form */
.add-review-section {
    margin-top: 4rem;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.add-review-section h3 {
    color: #2E86AB;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.add-review-section p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.review-form {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.star-rating {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 5px;
    margin-bottom: 1rem;
}

.star-rating input {
    display: none;
}

.star-label {
    cursor: pointer;
    font-size: 1.8rem;
    color: #ddd;
    transition: color 0.3s ease;
}

.star-label:hover {
    color: #F18F01;
}

.star-rating input:checked ~ .star-label {
    color: #F18F01;
}

.character-count {
    text-align: right;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.character-count.warning {
    color: #A23B72;
}

.review-form .btn-primary {
    width: 100%;
    margin-top: 1rem;
}

/* Location Section */
.location-section {
    padding: 80px 0;
    background: linear-gradient(45deg, #f8fdff 0%, #eaf8fb 50%, #d7f3f8 100%);
    position: relative;
}

.location-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 60"><path d="M0,30 C400,60 800,0 1200,30 L1200,60 L0,60 Z" fill="rgba(30,74,114,0.05)"/></svg>');
    background-size: cover;
    pointer-events: none;
    z-index: 1;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.location-info h3 {
    color: #2E86AB;
    margin-bottom: 1.5rem;
}

.distance-list {
    margin-bottom: 2rem;
}

.distance-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.distance-item:last-child {
    border-bottom: none;
}

.distance-item i {
    color: #457B9D;
    width: 20px;
}

.highlights-list {
    list-style: none;
    padding-left: 0;
}

.highlights-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.highlights-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #457B9D;
    font-weight: bold;
}

.map-container {
    position: relative;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.map-note {
    margin-top: 1rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.map-note i {
    margin-right: 5px;
    color: #457B9D;
}

/* Contact Section */
.contact-section {
    padding: 120px 0 80px 0;
    background: linear-gradient(135deg, #F1FAEE 0%, #A8DADC 100%);
    position: relative;
    z-index: 10;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-info {
    padding: 1rem;
}

.contact-info h3 {
    color: #2E86AB;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-info p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.05rem;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 1rem;
    max-width: 350px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp {
    background: #25d366;
}

.telegram {
    background: #0088cc;
}

.facebook {
    background: #4267b2;
}

.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-btn i {
    font-size: 1.5rem;
}

.booking-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.booking-form h3 {
    color: #2E86AB;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #457B9D;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1D3557 0%, #457B9D 50%, #2E86AB 100%);
    color: white;
    padding: 80px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,80 C300,20 900,120 1200,80 L1200,0 L0,0 Z" fill="rgba(248,253,255,1)"/></svg>');
    background-size: cover;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #F18F01;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #F18F01;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #F18F01;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    opacity: 0.8;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    background: white;
    border-radius: 15px;
    max-width: 600px;
    padding: 2rem;
    animation: fadeInScale 0.3s ease;
}

.gallery-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    max-height: 90vh;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}

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

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
}

.close:hover {
    color: #333;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.modal-nav button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.modal-nav button:hover {
    background: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-logo h2 {
        font-size: 1rem;
        margin-right: 1rem;
    }
    .nav-logo i {
        font-size: 0.9rem;
        margin-right: 5px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .location-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .price-info {
        grid-template-columns: 1fr;
    }
    
    .gallery-tabs {
        gap: 5px;
    }
    
    .tab-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .gallery-slider-wrapper {
        max-width: 100%;
        margin: 1rem 0;
        border-radius: 12px;
    }
    
    .gallery-grid {
        aspect-ratio: 4 / 3;
    }
    
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        opacity: 1;
    }
    
    .gallery-nav-btn i {
        font-size: 1.1rem;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1rem;
    }
    
    .gallery-modal-content {
        max-width: 95vw;
        max-height: 80vh;
    }
    
    .gallery-modal-content img {
        max-height: 80vh;
    }
    
    .modal-nav {
        padding: 0 10px;
    }
    
    .modal-nav button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-slider-wrapper {
        max-width: 100%;
        margin: 1rem 0;
        border-radius: 8px;
    }
    
    .gallery-grid {
        aspect-ratio: 4 / 3;
    }
    
    .gallery-nav-btn {
        width: 36px;
        height: 36px;
        opacity: 1;
    }
    
    .gallery-nav-btn i {
        font-size: 1rem;
    }
    
    .gallery-prev {
        left: 8px;
    }
    
    .gallery-next {
        right: 8px;
    }
    
    .gallery-indicators {
        bottom: 10px;
        padding: 6px 10px;
    }
    
    .gallery-indicator {
        width: 6px;
        height: 6px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Screen Reader Only - for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Loading Animations */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}