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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    scroll-behavior: smooth;
}

/* Cinzel Font for Header and Hero */
header {
    font-family: 'Cinzel', serif;
}

#home {
    font-family: 'Cinzel', serif;
}

/* All sections are now visible - removed display:none restrictions */

/* Hero Video Playlist */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
    z-index: 0;
    background: #000;
}

.hero-video.active {
    opacity: 1 !important;
    z-index: 1;
}

.hero-video.inactive {
    opacity: 0 !important;
    z-index: 0;
}

/* Hero Tagline Styling */
#home p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.05em;
}

/* Hero Buttons Visibility */
#home button {
    position: relative;
    z-index: 50;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex !important;
}

/* Responsive Hero Section */
@media (max-width: 640px) {
    #home h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    #home p {
        font-size: 1.25rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    #home button {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
    }
}

/* Blueprint Grid Animation */
.blueprint-grid {
    background-image: 
        linear-gradient(rgba(211, 165, 60, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(211, 165, 60, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* AI Particles */
.ai-particles {
    position: relative;
}

.ai-particles::before,
.ai-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #D3A53C;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 10px #D3A53C;
}

.ai-particles::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.ai-particles::after {
    top: 60%;
    right: 30%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) translateX(20px);
        opacity: 1;
    }
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(211, 165, 60, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.glass-card h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

.glass-card p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(211, 165, 60, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: #D3A53C;
    box-shadow: 0 20px 40px rgba(211, 165, 60, 0.2);
}

.glass-card .icon-wrapper {
    transition: transform 0.3s ease;
}

.glass-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* AI Cards */
.ai-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(211, 165, 60, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.ai-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #D3A53C;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(211, 165, 60, 0.15);
}

.ai-card .ai-icon {
    transition: transform 0.3s ease;
}

.ai-card:hover .ai-icon {
    transform: scale(1.1);
}

/* Counter Cards */
.counter-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(211, 165, 60, 0.1);
    transition: all 0.3s ease;
}

.counter-card:hover {
    border-color: #D3A53C;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

/* Project Slider */
.project-slider {
    position: relative;
}

.slide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slider-dot {
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-dot.active {
    width: 12px;
    height: 12px;
}

.slider-dot:hover {
    background-color: #D3A53C !important;
}

/* Header Scroll Effect */
header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
}

/* Fix Project Highlights section visibility when scrolling */
#project-highlights {
    position: relative;
    z-index: 10;
    margin-top: 0;
    padding-top: 120px !important;
}

/* Ensure sections are not hidden behind fixed header */
section:not(#home) {
    position: relative;
    z-index: 1;
    scroll-margin-top: 100px;
}

/* Make sure content sections appear above header background when scrolling */
section:not(#home) > * {
    position: relative;
    z-index: 2;
}

/* Logo Styling */
header img {
    transition: transform 0.3s ease, opacity 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(211, 165, 60, 0.3));
}

header a:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(211, 165, 60, 0.5));
}

/* WhatsApp Button Pulse */
.whatsapp-btn {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Download Brochure Button */
.download-brochure-btn {
    white-space: nowrap;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(211, 165, 60, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(211, 165, 60, 0);
    }
}

/* Key Points in Hero */
.key-points-container {
    position: relative;
    z-index: 50 !important;
    width: 100%;
}

.key-point-item {
    text-align: center;
    padding: 2rem 2.5rem;
    background: #000000 !important;
    backdrop-filter: blur(30px);
    border: 3px solid #FFFFFF !important;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 1),
        0 0 30px rgba(255, 255, 255, 0.6),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 50 !important;
    min-width: 160px;
    opacity: 1 !important;
    visibility: visible !important;
}

.key-point-item:hover {
    background: #000000 !important;
    border-color: #FFFFFF !important;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 1),
        0 0 40px rgba(255, 255, 255, 0.8),
        inset 0 0 40px rgba(255, 255, 255, 0.15);
}

.key-point-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #D3A53C !important;
    margin-bottom: 0.5rem;
    text-shadow: 
        0 0 30px rgba(211, 165, 60, 1),
        0 0 60px rgba(211, 165, 60, 0.6),
        0 6px 12px rgba(0, 0, 0, 1);
    line-height: 1.2;
}

.key-point-number-small {
    font-size: 2.5rem;
}

.key-point-label {
    font-size: 1.125rem;
    font-weight: 800;
    color: #FFFFFF !important;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-shadow: 
        0 3px 6px rgba(0, 0, 0, 1),
        0 0 10px rgba(255, 255, 255, 0.5);
    line-height: 1.3;
}

.key-point-label-small {
    font-size: 0.875rem;
}

.key-point-divider {
    width: 3px;
    height: 90px;
    background: linear-gradient(to bottom, transparent, #FFFFFF, transparent);
    opacity: 1;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 50;
}

@media (min-width: 768px) {
    .key-point-number {
        font-size: 4.5rem;
    }
    
    .key-point-number-small {
        font-size: 3rem;
    }
    
    .key-point-label {
        font-size: 1.25rem;
    }
    
    .key-point-label-small {
        font-size: 1rem;
    }
}

/* Apartment Tabs */
.apartment-tab {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(211, 165, 60, 0.2);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 150px;
}

.apartment-tab:hover {
    border-color: rgba(211, 165, 60, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(211, 165, 60, 0.2);
}

.apartment-tab.active {
    border-color: #D3A53C;
    background: rgba(211, 165, 60, 0.1);
    box-shadow: 0 10px 30px rgba(211, 165, 60, 0.3);
}

/* Tab Content */
.tab-content-wrapper {
    position: relative;
    min-height: 400px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

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

/* Apartment Image Container */
.apartment-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.apartment-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.apartment-image-container:hover .apartment-image {
    transform: scale(1.05);
}

/* Apartment Description */
.apartment-description {
    padding: 2rem;
}

.apartment-description h4 {
    text-shadow: 0 2px 10px rgba(211, 165, 60, 0.3);
}

/* Size Cards */
.size-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(211, 165, 60, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.size-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(211, 165, 60, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.size-card:hover::before {
    opacity: 1;
}

.size-card:hover {
    transform: translateY(-10px);
    border-color: #D3A53C;
    box-shadow: 0 20px 40px rgba(211, 165, 60, 0.3);
}

.penthouse-card {
    border: 2px solid rgba(211, 165, 60, 0.3);
    background: rgba(211, 165, 60, 0.05);
}

.penthouse-card:hover {
    background: rgba(211, 165, 60, 0.1);
    box-shadow: 0 20px 50px rgba(211, 165, 60, 0.4);
}

/* Penthouse Image Cards */
.penthouse-image-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(211, 165, 60, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.penthouse-image-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #D3A53C;
    box-shadow: 0 25px 60px rgba(211, 165, 60, 0.3);
}

.penthouse-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #000;
}

.penthouse-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.penthouse-image-card:hover .penthouse-image {
    transform: scale(1.15);
}

.penthouse-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.penthouse-image-card:hover .penthouse-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.penthouse-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    text-align: center;
    z-index: 2;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.penthouse-image-card:hover .penthouse-content {
    transform: translateY(-5px);
}

/* Responsive adjustments for penthouse cards */
@media (max-width: 768px) {
    .penthouse-image-wrapper {
        height: 220px;
    }
    
    .penthouse-content {
        padding: 1.25rem;
    }
    
    /* Apartment Tabs Responsive */
    .apartment-tab {
        padding: 1rem 1.5rem;
        min-width: 120px;
        flex: 1;
    }
    
    .apartment-tab .text-3xl {
        font-size: 1.75rem;
    }
    
    .apartment-description {
        padding: 1.5rem 1rem;
    }
    
    .apartment-description h4 {
        font-size: 1.75rem;
    }
    
    .tab-content-wrapper {
        min-height: 300px;
    }
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(211, 165, 60, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(211, 165, 60, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #D3A53C;
    box-shadow: 0 20px 40px rgba(211, 165, 60, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .glass-card,
    .ai-card,
    .counter-card,
    .size-card,
    .feature-card {
        padding: 1.5rem;
    }
    
    .project-slider {
        height: 300px;
    }
    
    .key-point-divider {
        display: none;
    }
    
    .key-point-item {
        margin-bottom: 1rem;
        padding: 1.25rem 1.5rem;
        min-width: 130px;
    }
    
    .key-point-item div:first-child {
        font-size: 2.5rem !important;
    }
    
    /* Section Headings */
    section h2 {
        font-size: 2rem !important;
        padding: 0 1rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    /* Project Highlights */
    .glass-card h3 {
        font-size: 1.25rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .glass-card p {
        font-size: 0.875rem;
    }
    
    /* Company Features */
    .feature-card h3 {
        font-size: 1.125rem;
    }
    
    /* AI Cards */
    .ai-card h3 {
        font-size: 1.125rem;
    }
    
    /* Why Choose Us */
    .counter-value {
        font-size: 3rem !important;
    }
}

@media (max-width: 640px) {
    /* Hero Section */
    #home {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    /* Buttons - Ensure visibility */
    #home button {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Sections */
    section {
        padding: 3rem 1rem !important;
    }
    
    /* Grid adjustments */
    .grid {
        gap: 1.5rem !important;
    }
    
    /* Project Highlights heading */
    .glass-card h3 {
        font-size: 1.125rem !important;
        word-break: break-word;
    }
    
    /* Long titles */
    h3.text-xl {
        font-size: 1rem !important;
    }
    
    /* CTA Section */
    section h2 {
        font-size: 1.75rem !important;
        padding: 0 1rem;
    }
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #D3A53C;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8942f;
}

