/*===========================================
  PREMIUM COMING SOON PAGE - THE WELCOME DOOR
  Interior Design Company
  ===========================================*/

/*===========================================
  CSS Variables & Root Styles
  ===========================================*/
:root {
    /* Color Palette - Luxury Interior Design Theme - Olive Green & Beige */
    --primary-beige: #E8DCC4;
    --soft-olive: #6B7A5A;
    --dark-olive: #4A5240;
    --warm-white: #F5F0E8;
    --muted-gold: #C9A961;
    --dark-brown: #2C2D24;
    --accent-green: #556B2F;
    --light-cream: #D4C5A9;
    --overlay-dark: rgba(44, 45, 36, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);

    /* Typography */
    --font-script: 'Great Vibes', cursive;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Poppins', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/*===========================================
  Global Reset & Base Styles
  ===========================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--warm-white);
    overflow-x: hidden;
    background-color: var(--dark-brown);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*===========================================
  Background Design - Interior Design Theme
  ===========================================*/
.background-design {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Elegant Gradient Background */
.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            #2C2D24 0%,
            #3A3D2F 25%,
            #4A5240 50%,
            #556B2F 75%,
            #6B7A5A 100%);
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.95;
    }
}

/* Architectural Pattern Overlay */
.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.02) 100px,
            rgba(255, 255, 255, 0.02) 200px),
        repeating-linear-gradient(-45deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.015) 100px,
            rgba(255, 255, 255, 0.015) 200px);
    background-size: 100% 100%;
    opacity: 0.3;
}

/* Subtle Geometric Accent */
.bg-pattern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: pulseCircle 15s ease-in-out infinite;
}

@keyframes pulseCircle {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.15;
    }
}

/*===========================================
  Main Page Container
  ===========================================*/
.page-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*===========================================
  Top Navigation
  ===========================================*/
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
    backdrop-filter: blur(5px);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
}

.logo {
    flex-shrink: 0;
    text-align: center;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo-img {
    height: 160px;
    width: auto;
    max-width: 90%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: var(--transition-smooth);
    cursor: pointer;
}

.logo a:hover .logo-img {
    filter: drop-shadow(0 4px 12px rgba(201, 169, 97, 0.4));
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--warm-white);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--muted-gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--light-cream);
}

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

/*===========================================
  Hero Section
  ===========================================*/
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    width: 100%;
}

/* Content Card with Border */
.content-card {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 35px;
    padding: 2.5rem 2.5rem;
    margin: 0 auto 1.5rem;
    max-width: 480px;
    text-align: center;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.3s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card-heading {
    font-family: var(--font-sans);
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--warm-white);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Animated Progress Bar Container */
.progress-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    overflow: hidden;
    margin: 1.5rem 0;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.3),
            rgba(255, 255, 255, 0.9),
            rgba(255, 255, 255, 0.3));
    background-size: 200% 100%;
    border-radius: 50px;
    width: 50%;
    animation: progressSlide 2.5s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

@keyframes progressSlide {
    0% {
        background-position: 200% 0;
        width: 30%;
    }

    50% {
        background-position: 0% 0;
        width: 80%;
    }

    100% {
        background-position: -200% 0;
        width: 30%;
    }
}

.card-subheading {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--warm-white);
    line-height: 1.8;
    margin-top: 1.5rem;
}

/* Bottom Tagline */
.bottom-tagline {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--primary-beige);
    text-align: center;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.6s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*===========================================
  Email Capture Section - Glassmorphism
  ===========================================*/
.email-section {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    margin: 0 auto 3rem;
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeUp 1s ease forwards 1.1s;
}

.email-title {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 400;
    color: var(--warm-white);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.email-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--warm-white);
    outline: none;
    transition: var(--transition-smooth);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.email-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-green);
    box-shadow: 0 0 20px rgba(85, 107, 47, 0.3);
}

.notify-btn {
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--muted-gold), var(--soft-brown));
    color: var(--warm-white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
}

.notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.6);
    background: linear-gradient(135deg, #D4B574, #9A806A);
}

.notify-btn:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--light-cream);
    text-align: center;
    min-height: 1.2rem;
}

/*===========================================
  Countdown Timer
  ===========================================*/
.countdown-section {
    margin-top: 3rem;
    opacity: 0;
    animation: fadeUp 1s ease forwards 1.3s;
}

.countdown-title {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-weight: 400;
    color: var(--primary-beige);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.time-value {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--warm-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    min-width: 80px;
    transition: var(--transition-fast);
}

.time-value.updating {
    animation: numberPulse 0.3s ease;
}

@keyframes numberPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        color: var(--light-cream);
    }
}

.time-label {
    font-family: var(--font-sans);
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    font-weight: 400;
    color: var(--primary-beige);
    text-transform: capitalize;
    letter-spacing: 1px;
}

.time-separator {
    font-size: clamp(2rem, 4vw, 3rem);
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

/*===========================================
  Footer Section
  ===========================================*/
.footer {
    padding: 1.5rem 2rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    backdrop-filter: blur(10px);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 6rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-section {
    flex: 0 1 auto;
    min-width: 200px;
    text-align: center;
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--primary-beige);
    margin-bottom: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--warm-white);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(85, 107, 47, 0.4);
}

/* Contact Information */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--warm-white);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.contact-link i {
    color: var(--light-cream);
    font-size: 1rem;
}

.contact-link:hover {
    color: var(--light-cream);
    transform: translateX(5px);
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.company-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-beige);
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
}

.copyright p {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
}

/*===========================================
  Responsive Design - Mobile First
  ===========================================*/

/* Tablet Landscape */
@media screen and (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .logo-img {
        height: 180px;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .hero-section {
        padding: 5rem 1.5rem 3rem;
    }

    .content-card {
        padding: 2.5rem 2rem;
        border-radius: 25px;
    }
}

/* Tablet Portrait */
@media screen and (max-width: 768px) {
    :root {
        font-size: 15px;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .logo-img {
        height: 180px;
    }

    .nav-links {
        gap: 1.2rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .hero-section {
        padding: 5rem 1.5rem 3rem;
    }

    .content-card {
        padding: 2.5rem 2rem;
    }

    .email-form {
        flex-direction: column;
    }

    .email-input {
        min-width: 100%;
    }

    .notify-btn {
        width: 100%;
    }

    .countdown-timer {
        gap: 1rem;
    }

    .time-separator {
        display: none;
    }

    .footer {
        padding: 3rem 1.5rem 2rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
        align-items: center;
    }

    .footer-section {
        min-width: 100%;
    }

    .social-icons {
        justify-content: center;
    }

    .contact-info {
        align-items: center;
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    :root {
        font-size: 14px;
    }

    .top-nav {
        padding: 0.5rem 0;
    }

    .nav-container {
        padding: 0 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo-img {
        height: 110px;
        max-width: 300px;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-section {
        padding: 2rem 1rem 1.5rem;
    }

    .content-card {
        padding: 1.8rem 1.5rem;
        border-radius: 18px;
        max-width: 95%;
        margin: 0 auto 1.5rem;
    }

    .card-heading {
        font-size: 1.1rem;
        letter-spacing: 2px;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .progress-container {
        height: 6px;
        margin: 1.8rem 0;
    }

    .card-subheading {
        font-size: 1rem;
        letter-spacing: 3px;
        margin-top: 1.5rem;
    }

    .bottom-tagline {
        font-size: 1rem;
        margin-top: 1.5rem;
        padding: 0 0.5rem;
    }

    .countdown-timer {
        gap: 0.8rem;
    }

    .time-value {
        min-width: 60px;
    }

    .footer {
        padding: 2rem 1.2rem 1.2rem;
    }

    .footer-container {
        gap: 2rem;
        margin-bottom: 1.5rem;
    }

    .footer-section {
        min-width: 100%;
    }

    .footer-heading {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }

    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .contact-link {
        font-size: 0.9rem;
    }

    .company-name {
        font-size: 1.5rem;
        letter-spacing: 2px;
        margin-bottom: 0.6rem;
    }

    .copyright {
        padding-top: 1.5rem;
    }

    .copyright p {
        font-size: 0.7rem;
    }
}

/* Extra Small Mobile Devices */
@media screen and (max-width: 375px) {
    .logo-img {
        height: 50px;
        max-width: 180px;
    }

    .hero-section {
        padding: 1.8rem 0.8rem 1.2rem;
    }

    .content-card {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }

    .card-heading {
        font-size: 1rem;
        letter-spacing: 1.5px;
        margin-bottom: 1.2rem;
    }

    .progress-container {
        height: 5px;
        margin: 1.5rem 0;
    }

    .card-subheading {
        font-size: 0.95rem;
        letter-spacing: 2.5px;
    }

    .bottom-tagline {
        font-size: 0.95rem;
        margin-top: 1.2rem;
    }

    .footer {
        padding: 2rem 1rem 1.2rem;
    }

    .footer-container {
        gap: 2rem;
    }

    .company-name {
        font-size: 1.4rem;
    }

    .contact-link {
        font-size: 0.85rem;
    }
}

/*===========================================
  Accessibility Enhancements
  ===========================================*/
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Keyboard Navigation */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 3px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .video-overlay {
        background: rgba(0, 0, 0, 0.8);
    }

    .nav-link,
    .social-link,
    .contact-link {
        border: 1px solid currentColor;
    }
}

/*===========================================
  Print Styles
  ===========================================*/
@media print {

    .video-background,
    .bg-video,
    .video-overlay {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/*===========================================
  Custom Scrollbar (Webkit Browsers)
  ===========================================*/
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-brown);
}

::-webkit-scrollbar-thumb {
    background: var(--soft-olive);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-green);
}