/* =============================================
   Courtyard of Life - Modern Stylesheet
   Navanaami Projects
   ============================================= */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0170B9;
    --primary-dark: #015a94;
    --primary-light: #e8f4fc;
    --secondary-color: #3a3a3a;
    --text-color: #4B4F58;
    --text-light: #6b7280;
    --bg-light: #F5F5F5;
    --bg-dark: #1e1e1e;
    --white: #FFFFFF;
    --accent: #066aab;
    --whatsapp: #25D366;
    --gold: #d4a853;
    --gradient-primary: linear-gradient(135deg, #0170B9 0%, #015a94 100%);
    --gradient-dark: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 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.16);
    --shadow-primary: 0 4px 20px rgba(1, 112, 185, 0.3);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    font-size: 17px;
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Components */
.section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   Header
   ============================================= */
header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 12px 0;
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 140px;
    height: auto;
    transition: var(--transition);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
}

/* =============================================
   Hero Section
   ============================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.4) 0%, 
        rgba(0,0,0,0.2) 50%, 
        rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: 20px;
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 22px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 16px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

/* =============================================
   Highlights Bar
   ============================================= */
.highlights-bar {
    background: var(--gradient-primary);
    padding: 40px 24px;
    position: relative;
    z-index: 10;
}

.highlights-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.highlight-item {
    text-align: center;
    color: var(--white);
}

.highlight-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.highlight-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.3);
}

/* =============================================
   About Section
   ============================================= */
.about-section {
    padding: 120px 24px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-badge span {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
}

.about-badge strong {
    font-size: 24px;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
}

.about-content h2 {
    font-size: 42px;
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--text-light);
    font-size: 17px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-xl);
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(1, 112, 185, 0.4);
}

/* =============================================
   Features Section
   ============================================= */
.features-section {
    padding: 120px 24px;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-box {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-box:hover .feature-icon-wrap {
    background: var(--gradient-primary);
}

.feature-icon-wrap img {
    width: 40px;
    height: 40px;
    transition: var(--transition);
}

.feature-box:hover .feature-icon-wrap img {
    filter: brightness(0) invert(1);
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-box p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* =============================================
   Virtual Tour Section
   ============================================= */
.virtual-tour-section {
    padding: 100px 24px;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.virtual-tour-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 30px 30px;
}

.vt-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    color: var(--white);
}

.vt-content .section-tag {
    color: var(--gold);
}

.vt-content h2 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
}

.vt-content p {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 40px;
}

.btn-vt {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--white);
    color: var(--secondary-color);
    border-radius: var(--radius-xl);
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-vt:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255,255,255,0.2);
}

/* =============================================
   Amenities Section
   ============================================= */
.amenities-section {
    padding: 120px 24px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.amenity-item {
    background: var(--bg-light);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.amenity-item:hover {
    background: var(--primary-light);
    transform: translateY(-4px);
}

.amenity-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.amenity-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.amenity-item p {
    font-size: 13px;
    color: var(--text-light);
}

/* =============================================
   Gallery Section
   ============================================= */
.gallery-section {
    padding: 120px 24px;
    background: var(--bg-light);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 12px 28px;
    background: var(--white);
    border: 2px solid var(--white);
    border-radius: var(--radius-xl);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-tab:hover,
.gallery-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 1;
    cursor: pointer;
}

.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;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
}

/* =============================================
   Location Section
   ============================================= */
.location-section {
    padding: 120px 24px;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.location-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.location-category h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.location-category ul {
    list-style: none;
}

.location-category li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-light);
    font-size: 15px;
}

.location-category li span:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

.location-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
}

.metro-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--primary-light);
    padding: 32px 40px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.metro-icon {
    font-size: 48px;
}

.metro-badge strong {
    font-size: 20px;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 4px;
}

.metro-badge p {
    color: var(--text-light);
    font-size: 15px;
}

/* =============================================
   Map Section
   ============================================= */
.map-section {
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    display: block;
    filter: grayscale(20%);
    transition: var(--transition);
}

.map-container iframe:hover {
    filter: grayscale(0%);
}

/* =============================================
   CTA Banner
   ============================================= */
.cta-banner {
    padding: 80px 24px;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--white);
    color: var(--secondary-color);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.btn-cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* =============================================
   Contact Section
   ============================================= */
.contact-section {
    padding: 120px 24px;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 17px;
    color: var(--secondary-color);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.whatsapp-card {
    background: var(--whatsapp);
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--white);
}

.whatsapp-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.whatsapp-card h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 12px;
}

.whatsapp-card p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.btn-whatsapp-large {
    display: inline-block;
    padding: 14px 32px;
    background: var(--white);
    color: var(--whatsapp);
    border-radius: var(--radius-xl);
    font-weight: 600;
    transition: var(--transition);
}

.btn-whatsapp-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* =============================================
   Footer
   ============================================= */
footer {
    background: #000;
    color: rgba(255, 255, 255, 0.6);
    padding: 24px;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

.footer-bottom a {
    color: var(--primary-color);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* =============================================
   Animations
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   Responsive Styles
   ============================================= */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
    }
    
    nav ul.active {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .highlights-grid {
        gap: 24px;
    }
    
    .highlight-divider {
        display: none;
    }
    
    .highlight-number {
        font-size: 28px;
    }
    
    .about-grid,
    .contact-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
        display: inline-block;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header h2,
    .about-content h2,
    .vt-content h2,
    .contact-info h2 {
        font-size: 32px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .highlights-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}
