:root {
    /* Color Palette - Raipur Homes (Dark/Video Theme) */
    --primary: #c5a67c; /* Brighter Gold for contrast */
    --primary-hover: #b3946a;
    --bg-dark: #000000;
    --text-main: #ffffff; /* Switched to light */
    --text-muted: #cccccc;
    --card-bg: rgba(255, 255, 255, 0.1); /* Glassmorphism */
    --input-bg: rgba(255, 255, 255, 0.15);
    
    /* Spacing & Borders */
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Layout */
.app-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Background Video Implementation */
/* Background Video Fullscreen */
.bg-video-container{
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

#bgVideo{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.78),
        rgba(0,0,0,0.45)
    );
}



/* Typography Refresh */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    max-width: 800px;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.subtext {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin-bottom: 48px;
}

/* Logo Enhancement */
.logo-container {
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 40px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.logo {
    height: 100px; /* Increased size */
    object-fit: contain;
}

/* Countdown Container - Horizontal Single Line */
.countdown-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.countdown-container::-webkit-scrollbar {
    display: none;
}

/* Countdown Box */
.count-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    min-width: 110px;
    padding: 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    text-align: center;
    flex: 0 0 auto;
    transition: 0.3s ease;
}

.count-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

/* Number */
.count-item .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

/* Label */
.count-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Tablet */
@media (max-width: 768px) {
    .countdown-container {
        gap: 12px;
        padding-bottom: 5px;
    }

    .count-item {
        min-width: 85px;
        padding: 14px;
    }

    .count-item .number {
        font-size: 1.9rem;
    }

    .count-item .label {
        font-size: 0.65rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .countdown-container {
        gap: 8px;
    }

    .count-item {
        min-width: 72px;
        padding: 12px;
    }

    .count-item .number {
        font-size: 1.5rem;
    }

    .count-item .label {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }
}
/* Subscription Form */
.form-container {
    width: 100%;
    max-width: 500px;
    margin-bottom: 80px;
}

.contact-form {
    display: flex;
    flex-direction: column; /* Vertical stacked form */
    gap: 16px;
    width: 100%;
}

.form-group {
    flex: 1;
}

.contact-form input {
    width: 100%;
    padding: 16px 24px;
    background: var(--input-bg);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

.contact-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.contact-form input:focus {
    background: rgba(255,255,255,0.25);
    border-color: var(--primary);
}

.btn-notify {
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    border: none;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-notify:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(155, 119, 68, 0.3);
}

/* Footer / Social Icons */
.footer-utility {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
}

.social-links {
    display: flex;
    flex-direction: row;   /* horizontal line */
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
    width: 100%;
}

/* Mobile */
@media (max-width: 768px) {
    .social-links {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .social-links {
        gap: 10px;
    }
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-details svg {
    color: var(--primary);
}

.icon-btn {
    width: 44px;
    height: 44px;
    background: var(--card-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.icon-btn:hover {
    transform: translateY(-3px);
    color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
}

/* Helper Class */
.form-status {
    text-align: center;
    margin-top: 12px;
    font-size: 0.9rem;
}
.form-status.success { color: #2e7d32; }
.form-status.error { color: #d32f2f; }

/* Mobile Adaptations */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem; /* Slightly smaller for mobile */
    }
    .logo {
        height: 80px; /* Slightly smaller logo on mobile */
    }
    .logo-container {
        padding: 15px 30px;
    }
    .count-item {
        width: calc(50% - 10px); /* Two items per row on mobile */
        padding: 16px;
    }
    .count-item .number {
        font-size: 2.5rem;
    }
    .contact-form {
        flex-direction: column;
    }
    .btn-notify {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    .subtext {
        font-size: 0.95rem;
    }
}
