/* =====================================================
   TIDIKELT TOURISME ET VOYAGES - COMING SOON PAGE
   ===================================================== */

/* CSS Variables */
:root {
    --primary-blue: #2c5a7c;
    --primary-gold: #c4a35a;
    --light-gold: #d4b87a;
    --dark-blue: #1a3a4f;
    --sand-color: #e8d5b5;
    --light-sand: #f5ebe0;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --gradient-sky: linear-gradient(180deg, #1a1a2e 0%, #16213e 30%, #1a3a4f 60%, #2c5a7c 100%);
    --gradient-gold: linear-gradient(135deg, #c4a35a 0%, #d4b87a 50%, #c4a35a 100%);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--gradient-sky);
    min-height: 100vh;
    color: var(--white);
    overflow-x: hidden;
    position: relative;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 200px 50px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 250px 100px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 300px 60px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 350px 90px, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 400px 40px, rgba(255,255,255,0.8), transparent);
    background-size: 400px 200px;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.sand-dune {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 300px;
    border-radius: 100% 100% 0 0;
}

.dune-1 {
    background: linear-gradient(180deg, #c4a35a 0%, #a88b4a 100%);
    left: -50%;
    height: 180px;
    animation: dune-move 20s ease-in-out infinite;
}

.dune-2 {
    background: linear-gradient(180deg, #d4b87a 0%, #c4a35a 100%);
    left: -30%;
    height: 140px;
    animation: dune-move 25s ease-in-out infinite reverse;
    opacity: 0.8;
}

.dune-3 {
    background: linear-gradient(180deg, #e8d5b5 0%, #d4b87a 100%);
    left: -20%;
    height: 100px;
    animation: dune-move 30s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes dune-move {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(20px); }
}

/* Main Container */
.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content-wrapper {
    max-width: 600px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Section */
.logo-section {
    margin-bottom: 2rem;
}

.logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 20px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Coming Soon Title */
.coming-soon-section {
    margin-bottom: 2.5rem;
}

.coming-soon-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

.coming-soon-title .word {
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.coming-soon-title .word:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.tagline-arabic {
    font-family: 'Amiri', serif;
    font-size: 1.4rem;
    color: var(--light-gold);
    margin-bottom: 0.5rem;
    direction: rtl;
}

.tagline-french {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* Countdown Timer */
.countdown-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(196, 163, 90, 0.3);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    min-width: 80px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196, 163, 90, 0.2);
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.countdown-separator {
    font-size: 2rem;
    color: var(--primary-gold);
    font-weight: 300;
}

/* Newsletter Section */
.newsletter-section {
    margin-bottom: 2rem;
}

.newsletter-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.newsletter-form {
    width: 100%;
}

.input-wrapper {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(196, 163, 90, 0.3);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(196, 163, 90, 0.3);
}

.input-wrapper input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    outline: none;
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
    background: var(--gradient-gold);
    border: none;
    padding: 1rem 2rem;
    color: var(--dark-blue);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(196, 163, 90, 0.4);
}

.submit-btn .btn-icon {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(3px);
}

.success-message {
    color: #4ade80;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Social Links */
.social-section {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(196, 163, 90, 0.3);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--dark-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196, 163, 90, 0.3);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

/* Footer */
.footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.footer .location {
    color: var(--light-gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .coming-soon-title {
        font-size: 2.5rem;
    }
    
    .tagline-arabic {
        font-size: 1.2rem;
    }
    
    .tagline-french {
        font-size: 1rem;
    }
    
    .countdown-item {
        min-width: 65px;
        padding: 0.8rem 1rem;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .countdown-separator {
        font-size: 1.5rem;
    }
    
    .logo {
        max-width: 220px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .coming-soon-title {
        font-size: 2rem;
    }
    
    .input-wrapper {
        flex-direction: column;
        border-radius: 16px;
    }
    
    .submit-btn {
        border-radius: 0 0 16px 16px;
        justify-content: center;
        width: 100%;
    }
    
    .countdown-section {
        gap: 0.3rem;
    }
    
    .countdown-item {
        min-width: 55px;
        padding: 0.6rem 0.8rem;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
}
