/* Base Styles */
:root {
    --primary-color: #1e88e5; /* Ocean blue */
    --secondary-color: #e3f2fd; /* Light blue */
    --accent-color: #ff9800; /* Orange accent for CTAs */
    --text-color: #333333;
    --light-text: #ffffff;
    --background-color: #ffffff;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --wood-color: #d7cca1; /* Light wood color */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Header & Navigation */
header {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/oceanview.png') no-repeat center center/cover;
    color: var(--light-text);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: transparent;
}

nav.scrolled {
    background-color: var(--background-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 5%;
}

nav.scrolled .logo h1,
nav.scrolled .nav-links a {
    color: var(--text-color);
}

nav.scrolled .book-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-text);
}

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

.nav-links a {
    color: var(--light-text);
    font-weight: 500;
}

.book-btn {
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.book-btn:hover {
    background-color: #e68a00;
    color: var(--light-text);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-btn {
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #e68a00;
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    margin-top: 1rem;
}

.about-btn:hover {
    background-color: #1565c0;
    color: var(--light-text);
}

.about-image {
    flex: 1;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--light-gray);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

/* Instagram Section */
.instagram-section {
    padding: 5rem 0;
    background: linear-gradient(to right, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: var(--light-text);
    text-align: center;
}

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

.instagram-section .section-title::after {
    background-color: var(--light-text);
}

.instagram-intro {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.instagram-cta {
    margin-top: 2rem;
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--light-text);
    color: #c13584;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.instagram-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #c13584;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Amenities Section */
.amenities-section {
    padding: 5rem 0;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.amenity {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    background-color: var(--light-gray);
    transition: all 0.3s ease;
}

.amenity:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.amenity i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Location Section */
.location-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.location-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.location-text {
    flex: 1;
}

.location-text h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.location-text p {
    margin-bottom: 1rem;
}

.location-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.location-map {
    flex: 1;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/backyard.png') no-repeat center center/cover;
    color: var(--light-text);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn-secondary {
    background-color: #E1306C; /* Instagram color */
}

.cta-btn-secondary:hover {
    background-color: #c13584; /* Darker Instagram color */
}

/* Footer */
footer {
    background-color: #263238;
    color: var(--light-text);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-links a {
    display: block;
    color: #b0bec5;
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--light-text);
}

.footer-contact p {
    margin-bottom: 1rem;
}

.footer-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
}

.footer-social p {
    margin-top: 1rem;
    color: #b0bec5;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-text);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-btn:hover {
    background-color: #e68a00;
    color: var(--light-text);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #37474f;
}

/* Image Placeholders */
.image-placeholder {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-position: center;
}

.ocean-view {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/oceanview.png') no-repeat center center/cover;
    height: 400px;
}

.exterior {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/arielview_front.png') no-repeat center center/cover;
}

.living-room {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/livingroom.png') no-repeat center center/cover;
}

.kitchen {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/backyard.png') no-repeat center center/cover;
}

.dining {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/kitchen.png') no-repeat center center/cover;
}

.bedroom {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/arielview_back.png') no-repeat center center/cover;
}

.balcony {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/balcony.png') no-repeat center center/cover;
}

.map-placeholder {
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active + .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-color);
        padding: 2rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .about-content,
    .location-content {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .features-grid,
    .gallery-grid,
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}