@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700&display=swap');

:root {
    --primary: #0f172a;
    --accent: #10b981;
    --accent-hover: #059669;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    line-height: 1.2;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

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

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
    border: none;
    cursor: pointer;
    gap: 0.5rem;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -3px rgba(16, 185, 129, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

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

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
    background-color: var(--primary);
}

.hero-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}

/* Gradient overlay for high contrast text readability */
.hero-slider::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 2;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    animation: fadeCarousel 20s infinite;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }
.hero-slide:nth-child(4) { animation-delay: 15s; }

@keyframes fadeCarousel {
    0%   { opacity: 0; transform: scale(1); }
    5%   { opacity: 1; transform: scale(1.01); }
    25%  { opacity: 1; transform: scale(1.05); }
    30%  { opacity: 0; transform: scale(1.06); }
    100% { opacity: 0; transform: scale(1); }
}

.hero-content {
    max-width: 650px;
    z-index: 3;
    animation: fadeUp 1s ease-out;
    background: rgba(15, 23, 42, 0.65);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--accent);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.3);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 1.15rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-price {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #34d399; /* Brighter neon green for high contrast */
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.hero-price span {
    font-size: 1.2rem;
    color: #cbd5e1;
    font-weight: 400;
}

/* FEATURES SECTION */
.features {
    padding: 6rem 5%;
    background: var(--bg-white);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.feature-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem auto;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--accent);
    color: white;
}

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

/* GALLERY SECTION */
.gallery {
    padding: 6rem 5%;
    background: var(--bg-light);
}

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

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* LOCATION SECTION */
.location {
    padding: 6rem 5%;
    background: var(--bg-white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.location-list {
    list-style: none;
    margin-top: 2rem;
}

.location-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.location-icon {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.location-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1;
    background: #e2e8f0;
    position: relative;
}

/* FOOTER & CTA */
.cta-section {
    padding: 6rem 5%;
    background: var(--primary);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

footer {
    padding: 2rem 5%;
    background: #0b1120;
    color: rgba(255,255,255,0.6);
    text-align: center;
    font-size: 0.9rem;
}

/* UTILS & ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .location {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .navbar {
        justify-content: center;
        text-align: center;
    }
    .logo {
        font-size: 1.2rem;
        text-align: center;
    }
    .nav-links {
        display: none;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-content {
        padding: 1.5rem;
    }
}
