/*
Theme Name: Coming Soon Theme
Theme URI: https://example.com/coming-soon
Author: Benjamin Sanchez Zebadua
Author URI: https://example.com
Description: A premium, minimalist Coming Soon theme that relies on native Gutenberg blocks and the Customizer for colors/typography, hiding all navigation.
Version: 1.0.0
Text Domain: coming-soon-theme
*/

/* Base CSS Variables (Fallbacks mapped to DESIGN.md concepts) */
:root {
    --color-primary: #1A1C1E;
    --color-secondary: #6C7278;
    --color-tertiary: #B8422E;
    --color-neutral: #F7F5F2;
    
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Base Reset & Styling */
body {
    margin: 0;
    padding: 0;
    background-color: var(--color-neutral);
    color: var(--color-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--color-primary);
}

a {
    color: var(--color-tertiary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

/* Premium Layout for Main Content */
main.coming-soon-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    min-height: 100vh;
}

/* Theme Logo Styling */
.theme-logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.theme-logo-container img {
    max-width: 200px;
    height: auto;
}

/* 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;
}

/* Modern Glassmorphism box */
.content-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 4rem 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1); /* Soft drop shadow for floating effect */
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
    max-width: 600px;
    width: 100%;
    margin: -10vh auto 0 auto; /* Vertical offset from center */
}

/* 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;
    }
}
