/* ===== ROOT & VARIABLES ===== */
:root {
    --primary-dark: #1a1a1a;
    --primary-light: #f5f5f5;
    --accent-green: #2d5016;
    --accent-light-green: #4a7c2c;
    --grey-dark: #333333;
    --grey-light: #e0e0e0;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-light);
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--grey-dark);
    margin-bottom: 2rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--grey-dark) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-light-green);
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: var(--accent-light-green);
    border-bottom-color: var(--accent-light-green);
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--grey-dark) 100%);
    color: var(--text-light);
    padding: 6rem 0;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 3.5rem;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--accent-light-green);
}

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

.stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stat h3 {
    color: var(--accent-light-green);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== BUTTONS ===== */
.cta-button, .cta-button-large {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-light-green) 100%);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover, .cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(45, 80, 22, 0.3);
}

.cta-button-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* ===== SECTIONS ===== */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: #fafafa;
}

/* ===== SPACE REVOLUTION SECTION ===== */
.space-revolution {
    background-color: var(--primary-light);
}

.space-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.comparison-item {
    text-align: center;
    padding: 1.5rem;
}

.comparison-item.highlighted {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-light-green) 100%);
    color: white;
    border-radius: 8px;
    transform: scale(1.05);
}

.comparison-item .size {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-light-green);
}

.comparison-item.highlighted .size {
    color: var(--text-light);
}

.comparison-arrow {
    font-size: 2rem;
    color: var(--accent-light-green);
}

.floor-plans {
    margin-top: 3rem;
}

.floor-plans h3 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.plan-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.plan-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.plan-item p {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--accent-green);
}

/* ===== MASTER SUITE SECTION ===== */
.master-suite {
    background: linear-gradient(135deg, #f5f5f5 0%, white 100%);
}

.master-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.master-text h3 {
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.master-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--grey-dark);
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.master-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .master-content {
        grid-template-columns: 1fr;
    }
}

/* ===== GALLERY SECTION ===== */
.gallery {
    background-color: var(--primary-light);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--accent-green);
    background: transparent;
    color: var(--accent-green);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent-green);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    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), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    height: 100%;
    justify-content: flex-start;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
}

/* ===== FEATURES SECTION ===== */
.features {
    background-color: white;
}

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

.feature-card {
    background: linear-gradient(135deg, #f5f5f5 0%, white 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--grey-dark);
    line-height: 1.6;
}

/* ===== FACILITIES SECTION ===== */
.facilities {
    background-color: #fafafa;
}

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

.facility-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.facility-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

.facility-item h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--accent-green);
}

.facility-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--grey-dark);
    font-size: 0.95rem;
}

/* ===== HIKING SECTION ===== */
.hiking {
    background: linear-gradient(135deg, #f5f5f5 0%, white 100%);
}

.hiking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hiking-text h3 {
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.hiking-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--grey-dark);
}

.hiking-features {
    list-style: none;
    padding: 0;
}

.hiking-features li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.hiking-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hiking-gallery img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .hiking-content {
        grid-template-columns: 1fr;
    }
    
    .hiking-gallery {
        grid-template-columns: 1fr;
    }
}

/* ===== VIDEOS SECTION ===== */
.videos {
    background-color: white;
}

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

.video-item {
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-item video {
    width: 100%;
    display: block;
}

.video-item h3 {
    padding: 1.5rem;
    text-align: center;
    color: var(--accent-green);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--grey-dark) 100%);
    color: var(--text-light);
    text-align: center;
}

.contact h2 {
    color: var(--text-light);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-card h3 {
    color: var(--accent-light-green);
    margin-bottom: 1rem;
}

.phone {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-light-green);
    margin: 0.5rem 0;
}

.name {
    font-size: 1.2rem;
    color: var(--text-light);
}

.contact-card ul {
    list-style: none;
    text-align: left;
}

.contact-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.cta-section {
    margin: 2rem 0;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
    border-top: 2px solid var(--accent-green);
}

.footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .hero {
        padding: 3rem 0;
        min-height: 350px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .space-comparison {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .comparison-arrow {
        display: none;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 0.5rem;
        font-size: 0.8rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}
