/**
 * Dominican Republic Vacation Rental - Styles
 * Elegant Caribbean Theme
 */

:root {
    --primary-color: #1a5f7a;
    --primary-dark: #134a5e;
    --secondary-color: #c9a959;
    --accent-gold: #d4af37;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-cream: #faf8f5;
    --white: #ffffff;
    --gradient-ocean: linear-gradient(135deg, #1a5f7a 0%, #2d8fa8 100%);
    --gradient-sunset: linear-gradient(135deg, #c9a959 0%, #d4af37 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(26, 95, 122, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    color: var(--white) !important;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

.social-icons a {
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 95, 122, 0.4) 0%,
        rgba(26, 95, 122, 0.6) 50%,
        rgba(26, 95, 122, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-title em {
    font-style: italic;
    color: var(--secondary-color);
}

.hero-title .location {
    font-size: 4.5rem;
    font-weight: 700;
    display: block;
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
}

.btn-primary {
    background: var(--gradient-sunset);
    border: none;
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    border-width: 2px;
}

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

/* Booking Form Section */
.booking-form-section {
    background: var(--primary-color);
    padding: 3rem 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.booking-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.booking-form-wrapper .section-title {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.booking-form-wrapper .form-label {
    font-weight: 500;
    color: var(--text-dark);
}

.booking-form-wrapper .form-control {
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.booking-form-wrapper .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.15);
}

/* Property Stats */
.property-stats {
    padding: 4rem 0;
    background: var(--bg-cream);
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* About Sections */
.about-section {
    padding: 6rem 0;
}

.about-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-content {
    padding: 2rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-sunset);
    margin-top: 1rem;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-light);
}

/* Gallery Section */
.gallery-section {
    padding: 0;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay span {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Future Section */
.future-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.future-section .section-title {
    font-size: 2.2rem;
}

.future-section .section-title::after {
    margin: 1rem auto;
}

.future-section .section-title em {
    font-style: italic;
    color: var(--secondary-color);
}

.construction-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.construction-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.construction-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Amenities Section */
.amenities-section {
    padding: 6rem 0;
    background: var(--white);
}

.amenities-section .section-title::after {
    margin: 1rem auto;
}

.amenity-card {
    background: var(--bg-cream);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border: 1px solid transparent;
}

.amenity-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.amenity-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-ocean);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.amenity-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.amenity-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.amenity-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Gift Section */
.gift-section {
    padding: 5rem 0;
    background: var(--primary-color);
    color: var(--white);
}

.gift-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.gift-content p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.gift-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    opacity: 0.9;
}

.cta-section .btn-light {
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 50px;
    padding: 0.8rem 2rem;
}

.cta-section .btn-light:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Info Cards Section */
.info-cards-section {
    padding: 5rem 0;
    background: var(--bg-cream);
}

.info-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
}

.info-card .card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.info-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: var(--white);
    z-index: 2;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Footer */
.main-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.main-footer h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.main-footer h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.main-footer p {
    opacity: 0.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.main-footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    margin-right: 0.5rem;
    transition: var(--transition);
}

.main-footer .social-icons a:hover {
    background: var(--secondary-color);
}

.main-footer hr {
    border-color: rgba(255,255,255,0.1);
    margin: 2rem 0;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title .location {
        font-size: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-content {
        padding: 2rem 0;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .location {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .info-card {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-title .location {
        font-size: 2rem;
    }
    
    .booking-form-wrapper {
        padding: 1.5rem;
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--secondary-color);
    color: var(--white);
}
