/* ========================================
   INA Apartments - Luxury Presentation
   ======================================== */

:root {
    --color-gold: #C9A962;
    --color-gold-light: #D4BC82;
    --color-gold-dark: #A68A4B;
    --color-dark: #1A1A1A;
    --color-dark-soft: #2D2D2D;
    --color-cream: #FAF8F5;
    --color-cream-dark: #F0EDE8;
    --color-text: #4A4A4A;
    --color-text-light: #7A7A7A;
    --color-white: #FFFFFF;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
}

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

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--color-dark);
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-dark-soft);
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
    padding: 15px 0;
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: 1px;
    transition: var(--transition);
}

.logo span {
    font-weight: 400;
    opacity: 0.9;
}

.navbar.scrolled .logo {
    color: var(--color-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: var(--transition);
}

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

.navbar.scrolled .nav-links a {
    color: var(--color-dark);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2D3436 0%, #1A1A2E 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/hero-bg.jpg') center center / cover no-repeat;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--color-white);
    padding: 0 24px;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-gold-light);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
}

.hero-divider {
    width: 80px;
    height: 1px;
    background: var(--color-gold);
    margin: 0 auto 30px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.7s;
}

.hero-description {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.9s;
}

.hero-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.1s;
}

.hero-location svg {
    color: var(--color-gold);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.5s;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.5; }
}

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

/* ========================================
   Sections
   ======================================== */

.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light {
    color: var(--color-white);
}

.section-header.light .section-title {
    color: var(--color-white);
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: 2px;
}

.section-divider {
    width: 60px;
    height: 1px;
    background: var(--color-gold);
    margin: 25px auto 0;
}

/* ========================================
   About Section
   ======================================== */

.about {
    background: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text {
    padding-right: 40px;
}

.about-features {
    display: grid;
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 40px;
    background: var(--color-cream);
    border-radius: 4px;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    color: var(--color-gold);
    margin-bottom: 20px;
}

.feature h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

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

/* ========================================
   Apartments Section
   ======================================== */

.apartments {
    background: var(--color-cream);
}

.apartments-content {
    max-width: 900px;
    margin: 0 auto;
}

.apartments-intro {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 60px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.amenity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 35px 25px;
    background: var(--color-white);
    border-radius: 4px;
    text-align: center;
    transition: var(--transition);
}

.amenity:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.amenity svg {
    color: var(--color-gold);
}

.amenity span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-dark);
}

/* ========================================
   Gallery Section
   ======================================== */

.gallery {
    background: var(--color-white);
}

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

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

.gallery-item.large {
    grid-column: span 2;
}

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

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

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

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

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

/* Placeholder for images */
.gallery-item img[src*="placeholder"] {
    background: linear-gradient(135deg, #E8E4DE 0%, #D4CFC6 100%);
}

/* ========================================
   Location Section
   ======================================== */

.location {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-soft) 100%);
    color: var(--color-white);
}

.location-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.location-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    opacity: 0.9;
    margin-bottom: 50px;
}

.location-highlights {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.highlight {
    text-align: center;
}

.highlight-distance {
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 10px;
}

.highlight-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 80px 0 40px;
}

.footer-content {
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.footer-logo span {
    font-weight: 400;
    opacity: 0.9;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    opacity: 0.7;
    margin-bottom: 20px;
}

.footer-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-location svg {
    color: var(--color-gold);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .about-features {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .location-highlights {
        flex-direction: column;
        gap: 40px;
    }
    
    .highlight-distance {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        letter-spacing: 2px;
    }
    
    .section-title {
        letter-spacing: 1px;
    }
}

/* ========================================
   Gold Accents
   ======================================== */

.gold {
    color: var(--color-gold) !important;
}

.gold-bright {
    color: var(--color-gold-light) !important;
}

/* Logo Gold A */
.logo .gold {
    color: var(--color-gold) !important;
}

.navbar.scrolled .logo .gold {
    color: var(--color-gold) !important;
}

/* Hero Gold Title */
.hero-subtitle.white {
    color: var(--color-white) !important;
}

.hero-title.gold {
    color: var(--color-gold) !important;
}

.hero-title .gold-bright {
    color: var(--color-gold-light) !important;
    text-shadow: 0 0 20px rgba(201, 169, 98, 0.3);
}

/* Footer Gold */
.footer-logo .gold {
    color: var(--color-gold) !important;
}

/* ========================================
   Lightbox
   ======================================== */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--color-gold);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    padding: 20px;
    transition: var(--transition);
    user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--color-gold);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 14px;
    letter-spacing: 2px;
}

/* Gallery clickable */
.gallery-item {
    cursor: pointer;
}

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

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 15px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }
}
