﻿/* =============================================================================
   Boutique Aesthetic – Global Styling + Navigation
   Location: wwwroot/css/site.css
   Purpose:
     - Warm, elegant, boutique coaching website theme
     - Serif headings + clean sans-serif body
     - Centered navigation
     - Clean, unified content frames
     - Anchored footer
   ============================================================================ */


/* ==========================================================================
   PAGE STRUCTURE
   ========================================================================== */

.layout-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.container {
    flex: 1;
}


/* ==========================================================================
   GLOBAL
   ========================================================================== */

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #faf9f7;
    color: #444;
}


/* ==========================================================================
   HEADER + NAV
   ========================================================================== */

.site-header {
    text-align: center;
    padding-top: 25px;
    padding-bottom: 10px;
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 20px;
}


/* ==========================================================================
   NAVIGATION LINKS
   ========================================================================== */

.main-nav {
    text-align: center;
    margin-top: 10px;
}

    .main-nav a {
        display: inline-block;
        margin: 0 12px;
        font-family: 'Inter', sans-serif;
        font-size: 15px;
        text-decoration: none;
        color: #5a4f4a;
        letter-spacing: 0.5px;
        padding: 4px 2px;
        transition: color 0.3s ease, opacity 0.3s ease;
    }

        .main-nav a:hover {
            color: #a67c52;
            opacity: 0.75;
        }

        .main-nav a:active {
            opacity: 0.5;
        }


/* ==========================================================================
   FRAME BLOCKS
   ========================================================================== */

.frame {
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    background: #fafafa;
    text-align: left;
}

    .frame h2 {
        text-align: center;
    }

    .frame.frame-center {
        text-align: center;
    }


/* ==========================================================================
   IMAGE FRAME
   ========================================================================== */

.image-frame {
    border: 1px solid #ddd;
    padding: 10px;
    margin: 20px 0;
    border-radius: 8px;
    background: white;
    text-align: center;
}

    .image-frame img {
        max-width: 100%;
        border-radius: 6px;
    }

.caption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
}


/* ==========================================================================
   CARD GRID
   ========================================================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 20px 0;
}

.card {
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}


/* ==========================================================================
   TITLE / DESCRIPTION / DETAILS FRAMES
   (Offerings Page – Horizontal Alignment System)
   ========================================================================== */

.title-frame {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.description-frame {
    min-height: 140px;
}

.details-frame {
    min-height: 90px;
}

    .details-frame p {
        margin: 6px 0;
    }


/* ==========================================================================
   DISCOVERY CALL – COMPACT FRAME OVERRIDE
   (Prevents giant card)
   ========================================================================== */

.discovery-call .title-frame {
    min-height: 40px !important;
}

.discovery-call .description-frame {
    min-height: 60px !important;
}

.discovery-call .details-frame {
    min-height: 60px !important;
}


/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    padding: 80px 20px;
    background: linear-gradient(135deg, #4a90e2, #50c9ce);
    color: white;
    text-align: center;
    border-radius: 12px;
    margin: 20px 0;
}

    .hero h1 {
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 1.2rem;
    }


/* ==========================================================================
   GALLERY
   ========================================================================== */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

    .gallery img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-radius: 6px;
    }


/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .site-footer .frame {
        width: 100%;
        max-width: 960px;
        margin: 0 auto 30px auto;
        padding: 30px;
        border-radius: 12px;
        background: #fafafa;
        border: 1px solid #eaeaea;
    }

    .site-footer p {
        margin: 6px 0;
        max-width: 960px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }


/* ==========================================================================
   UNIFIED CONTENT WIDTH
   ========================================================================== */

.layout-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}


/* ==========================================================================
   HOME BANNER
   ========================================================================== */

.home-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    margin: 0 auto;
    max-width: 1200px;
}

    .home-banner img {
        max-width: 500px;
        width: 100%;
        height: auto;
        display: block;
        border-radius: 12px;
    }


/* ==========================================================================
   CIRCLE PORTRAITS
   ========================================================================== */

.image-center {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

    .image-center img {
        width: 260px;
        height: 260px;
        border-radius: 50%;
        object-fit: cover;
        display: block;
    }


/* ==========================================================================
   TITLE CENTERING
   ========================================================================== */

.card-title {
    text-align: center !important;
    width: 100%;
    display: block;
}

.card-title-block {
    text-align: center !important;
    width: 100%;
    display: block;
    margin-bottom: 10px;
}


/* ==========================================================================
   FLASH MESSAGE
   ========================================================================== */

.flash-message {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    text-align: center;
    animation: fadeIn 0.4s ease-out;
}

    .flash-message.success {
        background-color: #e6f7eb;
        border: 1px solid #7bcf99;
        color: #2e7d32;
    }

    .flash-message.error {
        background-color: #fdecea;
        border: 1px solid #f5a4a1;
        color: #c62828;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================================
   CONTACT FORM
   ========================================================================== */

.contact-form-frame {
    padding: 25px;
}

.contact-form .form-group {
    margin-bottom: 1.4rem;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #e2dfdb;
    background: #fff;
    border-radius: 6px;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 300 !important;
    color: #444 !important;
    letter-spacing: 0.3px !important;
}

    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
        color: #b8b3ae;
    }

.contact-form label {
    margin-bottom: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #555;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-top: 10px;
}

    .form-row .form-group {
        flex: 1;
    }

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
    border: 1px solid #dcd7d2;
}

.send-button {
    padding: 14px 20px;
    background: #e5d9c8;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #444;
    border-radius: 4px;
    transition: background 0.2s ease;
}

    .send-button:hover {
        background: #d6c7b3;
    }


/* ==========================================================================
   BOOK NOW BUTTON
   ========================================================================== */

.book-now-btn {
    display: inline-block;
    background: #c8a27c;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    padding: 0 18px;
    height: 36px;
    line-height: 36px;
    transition: 0.25s ease;
}

    .book-now-btn:hover {
        background: #b48d68;
    }


/* ==========================================================================
   BOOKING FRAME
   ========================================================================== */

.booking-frame {
    margin-top: auto;
}

.booking-label {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 6px;
}

.booking-row-fixed {
    display: flex;
    align-items: center;
    gap: 16px;
}


/* ==========================================================================
   FACILITATOR SELECT
   ========================================================================== */

.facilitator-select {
    padding: 8px 12px;
    border: 1px solid #dcd7d2;
    border-radius: 6px;
    font-size: 0.9rem;
    width: 160px;
    height: 36px;
}


/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */

@media (max-width: 600px) {

    .image-center img {
        width: 200px;
        height: 200px;
    }

    .card {
        padding: 16px;
    }

    .card-grid {
        gap: 16px;
    }

    .booking-row-fixed {
        display: block;
    }

    .booking-cell {
        display: block;
        margin-bottom: 10px;
    }
}
