/*
Theme Name: L'Baraka Coming Soon
Theme URI: https://lbaraka.com/
Author: Antigravity
Description: A premium, minimalist Coming Soon landing page theme for L'Baraka Branding.
Version: 1.0.4
License: GNU GPLv2 or later
Text Domain: lbaraka-coming-soon
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #eaecef;
    color: #111111;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* Fullscreen Background Image with Tint Overlay */
.coming-soon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/background.png?v=1.0.4');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Subtle overlay to soften colors and enhance readability */
.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(234, 236, 239, 0.15); /* matching base color tint */
    z-index: 2;
}

/* Main Content Wrapper */
.coming-soon-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    height: 100vh;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* Header Area (Spacer) */
.cs-header {
    width: 100%;
    height: 60px; /* Spacer matching footer for symmetry */
    flex-shrink: 0;
}

/* Central Area with 3-Column Layout */
.cs-middle-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.cs-layout-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    gap: 4rem;
}

.cs-col {
    flex: 1;
    display: flex;
    align-items: center;
}

.cs-col.cs-left-text {
    justify-content: flex-end;
    text-align: right;
}

.cs-col.cs-right-text {
    justify-content: flex-start;
    text-align: left;
}

.cs-col.cs-logo-col {
    flex: 0 0 auto;
    justify-content: center;
    max-width: 450px;
    width: 100%;
}

/* Text Element Styling */
.cs-flanking-text {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.8;
    color: #111111;
    text-transform: uppercase;
    user-select: none;
    white-space: nowrap;
}

/* Logo Image Styling */
.cs-logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cs-logo-container img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 160px;
    object-fit: contain;
}

/* Bottom Section with Cursive Text */
.cs-footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 3.5rem;
    flex-shrink: 0;
}

.cs-coming-soon-text {
    font-family: 'Great Vibes', 'Alex Brush', 'Dancing Script', cursive;
    font-size: 3.6rem;
    color: #111111;
    font-weight: normal;
    text-align: center;
    letter-spacing: 0.01em;
    user-select: none;
    line-height: 1.2;
    animation: fadeInSmooth 2.5s ease-out;
}

/* Keyframe Animations */
@keyframes fadeInSmooth {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Rules for Mobile and Tablets */
@media (max-width: 991px) {
    .cs-layout-grid {
        flex-direction: column;
        gap: 2.5rem;
        padding: 1rem 0;
    }

    .cs-col {
        flex: unset;
        width: 100%;
        justify-content: center !important;
        text-align: center !important;
    }

    .cs-col.cs-logo-col {
        order: -1; /* Move logo to the top */
        max-width: 300px;
    }

    .cs-flanking-text {
        font-size: 0.72rem;
        letter-spacing: 0.08em;
        max-width: 290px;
        line-height: 1.6;
        white-space: normal;
    }

    .cs-coming-soon-text {
        font-size: 2.8rem;
    }

    .cs-footer {
        padding-bottom: 2rem;
    }
    
    .coming-soon-container {
        padding: 1rem;
        justify-content: space-around;
    }
    
    .cs-header {
        height: 20px;
    }
}
