/*
Theme Name: Alliance Deco
Theme URI: https://alliance-deco.com
Author: Alliance Deco Team
Author URI: https://www.linkedin.com/company/alliance-deco-uk/
Description: Coming soon pagina voor Alliance Deco — Tunnel Lining & Fire Protection Specialists.
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alliance-deco
*/

/* =========================================
   RESET
   ========================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================================
   BASE
   ========================================= */
html, body {
    min-height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #ffffff;
}

/* =========================================
   BACKGROUND — tunnel photo with dark overlay
   ========================================= */
.ad-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 2rem 1rem !important;
    background-color: #111111 !important;
    z-index: 9999999 !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.ad-container {
    text-align: center;
    max-width: 700px;
    width: 100%;
    animation: adFadeIn 1s ease-in;
    margin-top: auto !important;
    margin-bottom: auto !important;
}

/* =========================================
   LOGO — reduced by 1/3 (240 → 160px), transparent
   ========================================= */
.ad-logo-container {
    margin-bottom: 2rem;
    display: block !important;
    width: 100% !important;
}

.ad-logo {
    display: block !important;
    margin: 0 auto !important;
    width: 100%;
    max-width: 160px;
    height: auto;
    opacity: 1 !important;      /* fully visible to guarantee visibility on mobile */
    visibility: visible !important;
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.35));
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.ad-logo:hover {
    transform: scale(1.02);
}

/* =========================================
   HEADINGS — increased text sizes
   ========================================= */
.ad-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ad-subtitle {
    font-size: 1.25rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* =========================================
   INTRO TEXT
   ========================================= */
.ad-intro {
    font-size: 1.2rem;
    color: #d0d0d0;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* =========================================
   SERVICES BOX
   ========================================= */
.ad-services {
    background: rgba(255, 255, 255, 0.07);
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.ad-services-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ad-services ul {
    list-style: none;
}

.ad-services li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    color: #b0b0b0;
    display: flex;
    align-items: flex-start;
}

.ad-services li::before {
    content: "•";
    color: #fff;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 0.5rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* =========================================
   CONTACT
   ========================================= */
.ad-contact {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #fff;
    margin-bottom: 2rem;
}

.ad-contact a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #555;
    transition: color 0.3s, border-color 0.3s;
}

.ad-contact a:hover {
    color: #aaa;
    border-bottom-color: #aaa;
}

/* =========================================
   CLOSING NOTE — merged with footer (one line)
   ========================================= */
.ad-note {
    margin-top: 2.5rem;
    font-style: italic;
    color: #888;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* =========================================
   ANIMATION
   ========================================= */
@keyframes adFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* =========================================
   RESPONSIVE & MOBILE FIXES
   ========================================= */
@media (max-width: 480px) {
    .ad-wrapper {
        /* Prevents content from clipping at the top on small mobile screens */
        align-items: flex-start !important;
        padding: 3rem 1rem !important;
        display: block !important;
        overflow-y: auto !important;
    }
    .ad-container {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .ad-title {
        font-size: 2rem;
    }
    .ad-logo-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-bottom: 1.5rem;
    }
    .ad-logo {
        max-width: 130px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* =========================================
   GLOBAL OVERRIDES FOR WORDPRESS COMPATIBILITY
   ========================================= */
body.home.blog {
    opacity: 1 !important;
    visibility: visible !important;
    background-color: #111111 !important;
    display: block !important;
}
