/* 
 * De Notenman Coming Soon - Frontend Styles
 * Brand Colors:
 * - Donkerbruin: #5A3E2B
 * - Warm beige: #E6D5B8
 * - Olijfgroen: #6B8E23
 * - Diep groen: #2F5D3A
 * - Karamel: #C68642
 * - Crème wit: #FAF7F2
 */

:root {
    --dncs-donkerbruin: #5A3E2B;
    --dncs-warm-beige: #E6D5B8;
    --dncs-olijfgroen: #6B8E23;
    --dncs-diep-groen: #2F5D3A;
    --dncs-karamel: #C68642;
    --dncs-creme-wit: #FAF7F2;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.dncs-coming-soon-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow: hidden;
    height: 100vh;
    background: var(--dncs-donkerbruin);
}

/* Background Layers */
.dncs-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.dncs-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(90, 62, 43, 0.95) 0%,
            rgba(47, 93, 58, 0.9) 50%,
            rgba(107, 142, 35, 0.85) 100%);
    z-index: 1;
}

.dncs-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/nuts-background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    filter: blur(2px);
    z-index: 0;
}

.dncs-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Main Container */
.dncs-container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.dncs-content {
    max-width: 600px;
    width: 100%;
    text-align: center;
    background: rgba(250, 247, 242, 0.05);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 3rem 2rem;
    border: 1px solid rgba(230, 213, 184, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.dncs-logo {
    margin-bottom: 2rem;
    animation: fadeIn 1.2s ease-out 0.2s both;
}

.dncs-logo img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Headline */
.dncs-headline {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dncs-creme-wit);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1.4s ease-out 0.4s both;
}

/* Description */
.dncs-description {
    font-size: 1.125rem;
    color: var(--dncs-warm-beige);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeIn 1.6s ease-out 0.6s both;
}

/* Signup Form */
.dncs-signup-form {
    animation: fadeIn 1.8s ease-out 0.8s both;
}

.dncs-form-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.dncs-input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid rgba(230, 213, 184, 0.3);
    border-radius: 50px;
    background: rgba(250, 247, 242, 0.1);
    color: var(--dncs-creme-wit);
    outline: none;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.dncs-input::placeholder {
    color: rgba(230, 213, 184, 0.6);
}

.dncs-input:focus {
    border-color: var(--dncs-karamel);
    background: rgba(250, 247, 242, 0.15);
    box-shadow: 0 0 0 4px rgba(198, 134, 66, 0.2);
}

.dncs-submit-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dncs-creme-wit);
    background: linear-gradient(135deg, var(--dncs-karamel) 0%, var(--dncs-olijfgroen) 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.dncs-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.dncs-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(198, 134, 66, 0.4);
}

.dncs-submit-btn:hover::before {
    left: 100%;
}

.dncs-submit-btn:active {
    transform: translateY(0);
}

.dncs-submit-btn.loading .dncs-btn-text {
    opacity: 0;
}

.dncs-submit-btn.loading .dncs-btn-loader {
    opacity: 1;
}

.dncs-btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    opacity: 0;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Form Messages */
.dncs-form-message {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dncs-form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.dncs-form-message.success {
    background: rgba(107, 142, 35, 0.2);
    color: var(--dncs-warm-beige);
    border: 1px solid rgba(107, 142, 35, 0.4);
}

.dncs-form-message.error {
    background: rgba(220, 53, 69, 0.2);
    color: #ffcccc;
    border: 1px solid rgba(220, 53, 69, 0.4);
}

/* Decorative Nuts */
.dncs-decorative-nuts {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.dncs-nut-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.1;
    filter: brightness(1.5);
}

.dncs-nut-1 {
    top: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.dncs-nut-2 {
    bottom: 15%;
    right: 8%;
    animation: float 7s ease-in-out infinite 1s;
}

.dncs-nut-3 {
    top: 60%;
    left: 10%;
    animation: float 8s ease-in-out infinite 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .dncs-content {
        padding: 2rem 1.5rem;
    }

    .dncs-logo img {
        max-width: 220px;
    }

    .dncs-headline {
        font-size: 2rem;
    }

    .dncs-description {
        font-size: 1rem;
    }

    .dncs-form-group {
        flex-direction: column;
    }

    .dncs-submit-btn {
        width: 100%;
    }

    .dncs-nut-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .dncs-container {
        padding: 1rem;
    }

    .dncs-content {
        padding: 1.5rem 1rem;
        border-radius: 20px;
    }

    .dncs-logo img {
        max-width: 180px;
    }

    .dncs-headline {
        font-size: 1.75rem;
    }

    .dncs-description {
        font-size: 0.95rem;
    }
}

/* Particle Animation */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--dncs-warm-beige);
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float 15s linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Hero Section */
.dncs-hero-section { position: relative; width: 100%; overflow: hidden; margin-bottom: 2rem; }
.dncs-hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 0; }
.dncs-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(90, 62, 43, 0.8) 0%, rgba(47, 93, 58, 0.8) 100%); z-index: 1; }
.dncs-hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 2rem; text-align: center; }
.dncs-hero-headline { font-size: 3rem; font-weight: 700; color: var(--dncs-creme-wit); margin-bottom: 1rem; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
.dncs-hero-subheadline { font-size: 1.5rem; color: var(--dncs-warm-beige); text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }

/* Social Media Icons */
.dncs-social-media { display: flex; justify-content: center; gap: 16px; margin-top: 2rem; animation: fadeIn 2s ease-out 1s both; }
.dncs-social-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(250, 247, 242, 0.1); color: var(--dncs-warm-beige); transition: all 0.3s ease; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(230, 213, 184, 0.2); }
.dncs-social-icon:hover { background: rgba(198, 134, 66, 0.3); color: var(--dncs-creme-wit); transform: translateY(-3px); box-shadow: 0 4px 12px rgba(198, 134, 66, 0.3); }
.dncs-social-icon svg { width: 100%; height: 100%; padding: 12px; }

/* GDPR Checkbox */
.dncs-gdpr-checkbox { margin-top: 1rem; text-align: left; }
.dncs-gdpr-checkbox label { display: flex; align-items: flex-start; gap: 8px; color: var(--dncs-warm-beige); font-size: 0.9rem; cursor: pointer; }
.dncs-gdpr-checkbox input[type=checkbox] { margin-top: 3px; cursor: pointer; }
