/**
 * Awesome Coming Soon - Shared Frontend Styles
 * Common styles used across all templates
 */

/* ==========================================
   CSS Custom Properties (Defaults)
   ========================================== */
:root {
    --acs-accent-color: #e94560;
    --acs-heading-color: #ffffff;
    --acs-text-color: #cccccc;
    --acs-heading-font: 'Poppins', sans-serif;
    --acs-body-font: 'Inter', sans-serif;
    --acs-heading-size: 48px;
    --acs-body-size: 16px;
}

/* ==========================================
   Base Reset (applied by templates)
   ========================================== */
.acs-coming-soon * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.acs-coming-soon {
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   Newsletter Form - Shared Styles
   ========================================== */
.acs-newsletter-form {
    max-width: 100%;
}

.acs-subscribe-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.acs-input {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    transition: all 0.3s ease;
}

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

.acs-input:focus {
    outline: none;
    border-color: var(--acs-accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.acs-btn-subscribe {
    padding: 14px 28px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    background: var(--acs-accent-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.acs-btn-subscribe:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.acs-btn-subscribe:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* GDPR Consent */
.acs-gdpr-consent {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    margin-top: 10px;
}

.acs-gdpr-consent input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.acs-gdpr-consent label {
    line-height: 1.4;
}

.acs-gdpr-consent a {
    color: var(--acs-accent-color);
    text-decoration: none;
}

.acs-gdpr-consent a:hover {
    text-decoration: underline;
}

/* Form Messages */
.acs-form-message {
    width: 100%;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 12px;
    display: none;
}

.acs-form-message.success {
    display: block;
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.acs-form-message.error {
    display: block;
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* ==========================================
   Countdown Timer - Shared Styles
   ========================================== */
.acs-countdown {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.acs-countdown-item {
    text-align: center;
    min-width: 80px;
}

.acs-countdown-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: var(--acs-heading-color);
}

.acs-countdown-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    opacity: 0.7;
}

.acs-countdown-finished {
    font-size: 24px;
    font-weight: 600;
    color: var(--acs-accent-color);
}

/* ==========================================
   Social Links - Shared Styles
   ========================================== */
.acs-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.acs-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.acs-social-link:hover {
    background: var(--acs-accent-color);
    border-color: var(--acs-accent-color);
    color: #fff;
    transform: translateY(-3px);
}

/* ==========================================
   Login Link
   ========================================== */
.acs-login-link {
    margin-top: 20px;
}

.acs-login-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
}

.acs-login-button:hover {
    border-color: var(--acs-accent-color);
    color: #fff;
    background: var(--acs-accent-color);
}

/* ==========================================
   Contact Info - Shared Styles
   ========================================== */
.acs-contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.acs-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.acs-contact-item i {
    color: var(--acs-accent-color);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.acs-contact-item span,
.acs-contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.acs-contact-item a:hover {
    color: var(--acs-accent-color);
}

/* ==========================================
   Logo Styles - Shared
   ========================================== */
.acs-logo {
    margin-bottom: 30px;
}

.acs-logo-img {
    max-height: 60px;
    width: auto;
}

.acs-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--acs-heading-color);
    letter-spacing: 1px;
}

/* ==========================================
   Typography Helpers
   ========================================== */
.acs-heading {
    font-family: var(--acs-heading-font);
    font-size: var(--acs-heading-size);
    font-weight: 700;
    color: var(--acs-heading-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

.acs-subheading {
    font-size: 22px;
    font-weight: 500;
    color: var(--acs-accent-color);
    margin-bottom: 15px;
}

.acs-message {
    font-size: 17px;
    line-height: 1.7;
    color: var(--acs-text-color);
    margin-bottom: 30px;
}

.acs-message p {
    margin-bottom: 15px;
}

.acs-message p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   Footer Styles - Shared
   ========================================== */
.acs-footer {
    margin-top: auto;
    padding-top: 30px;
}

.acs-footer-text {
    font-size: 14px;
    opacity: 0.6;
}

.acs-footer-text a {
    color: inherit;
    text-decoration: none;
}

.acs-footer-text a:hover {
    color: var(--acs-accent-color);
}

/* ==========================================
   Background Media - Shared
   ========================================== */
.acs-bg-media {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.acs-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.acs-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* ==========================================
   Animations
   ========================================== */
@keyframes acs-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes acs-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes acs-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.acs-animate-fade-in {
    animation: acs-fade-in 0.6s ease-out;
}

.acs-animate-pulse {
    animation: acs-pulse 2s infinite;
}

.acs-animate-float {
    animation: acs-float 3s ease-in-out infinite;
}

/* ==========================================
   Utility Classes
   ========================================== */
.acs-text-center {
    text-align: center;
}

.acs-text-left {
    text-align: left;
}

.acs-text-right {
    text-align: right;
}

.acs-mt-0 { margin-top: 0; }
.acs-mt-1 { margin-top: 10px; }
.acs-mt-2 { margin-top: 20px; }
.acs-mt-3 { margin-top: 30px; }
.acs-mt-4 { margin-top: 40px; }

.acs-mb-0 { margin-bottom: 0; }
.acs-mb-1 { margin-bottom: 10px; }
.acs-mb-2 { margin-bottom: 20px; }
.acs-mb-3 { margin-bottom: 30px; }
.acs-mb-4 { margin-bottom: 40px; }

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media (max-width: 768px) {
    :root {
        --acs-heading-size: 36px;
    }

    .acs-countdown {
        justify-content: center;
    }

    .acs-countdown-item {
        min-width: 70px;
    }

    .acs-countdown-number {
        font-size: 32px;
    }

    .acs-subscribe-form {
        flex-direction: column;
    }

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

    .acs-btn-subscribe {
        width: 100%;
    }

    .acs-contact-info {
        flex-direction: column;
        gap: 15px;
    }

    .acs-social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --acs-heading-size: 28px;
        --acs-body-size: 15px;
    }

    .acs-countdown-item {
        min-width: 60px;
    }

    .acs-countdown-number {
        font-size: 28px;
    }

    .acs-countdown-label {
        font-size: 10px;
    }

    .acs-social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ==========================================
   Print Styles
   ========================================== */
@media print {
    .acs-coming-soon {
        background: #fff !important;
        color: #000 !important;
    }

    .acs-bg-media,
    .acs-video-bg,
    .acs-overlay,
    .acs-social-links,
    .acs-newsletter-form {
        display: none !important;
    }

    .acs-heading,
    .acs-subheading,
    .acs-message {
        color: #000 !important;
    }
}


/* ==========================================
   reCAPTCHA
   ========================================== */
.acs-recaptcha {
    margin-top: 12px;
}

.acs-recaptcha .g-recaptcha {
    transform-origin: 0 0;
}
