/* Premium Layout CSS for Coming Soon Theme */

/* Typography enhancements */
h1, h2, h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

p {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

/* Premium Button Styling (Targets standard WP Button Block) */
.wp-block-button__link {
    background-color: var(--color-primary);
    color: var(--color-neutral);
    border-radius: 9999px; /* Pill shape */
    padding: 1rem 2rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* Base fade-in section class (triggered by JS) */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
}

/* Glassmorphism translucent box matching the screenshot */
.content-wrapper {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 8px;
    padding: 4rem 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    max-width: 600px;
    width: 100%;
    margin: -10vh auto 0 auto; /* Vertical offset from center */
    color: #F7F5F2; /* Ensure text is light against the dark transparent box */
}

/* Ensure headings inside the wrapper are light */
.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper p {
    color: var(--color-neutral); /* Controlled by the Neutral Color in Customizer */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 2rem 1.5rem;
        margin-top: 0;
    }
}
