/* SchoolPort Public Landing Page Styles (from the new UI design, adapted for Views/Home/MasterPage.cshtml) */

:root {
    --primary-dark: #20326A;
    --primary-dark-rgb: 32, 50, 106;
    --accent-yellow: #F4D03F;
    --text-muted: #6c757d;
    --light-grey: #f4f4f4;
}

body {
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
}

.fs-7 {
    font-size: 0.85rem;
}

.text-primary-dark {
    color: var(--primary-dark) !important;
}

.text-warning {
    color: var(--accent-yellow) !important;
}

.bg-accent-yellow {
    background-color: var(--accent-yellow) !important;
}

.bg-primary-dark {
    background-color: var(--primary-dark) !important;
}

.topbar {
    background-color: var(--primary-dark);
}

.logo-image {
    object-fit: contain;
}

.navbar-nav .nav-link {
    font-size: 0.95rem;
    margin-left: 0.5rem;
    letter-spacing: 0.5px;
    color: #444 !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-dark) !important;
}

/* Hero Section */
.hero-section {
    height: 85vh;
    min-height: 600px;
    background: url('../images/hero-background.png') no-repeat center center;
    background-size: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--primary-dark-rgb), 0.85);
}

.tracking-wide {
    letter-spacing: 1.5px;
}

.hero-section h1,
.hero-section p {
    font-family: "Mona Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-stretch: 175%;
    letter-spacing: 0px;
    transform: scaleX(1.15);
    transform-origin: center;
}

.hero-section .btn,
.btn {
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

.max-w-sm {
    max-width: 250px;
}

/* About Section */
.about-section {
    background-color: #fff;
    min-height: 80vh;
}

.grey-band {
    background-color: #F8F9FA;
    height: 30%;
}

.about-image-wrapper {
    width: 480px;
    height: 480px;
    background: url('../images/about-us-section-image.png') no-repeat center center;
    background-size: contain;
    z-index: 2;
}

/* Contact Section
   Note: the prototype used a third-party AI image-generation URL here; replaced with the
   locally hosted hero background so the public page never depends on an external service. */
.contact-section {
    background: url('../images/hero-background.png') no-repeat center center;
    background-size: cover;
    min-height: 80vh;
    padding-top: 0;
}

.newsletter-container {
    transform: translateY(-50%);
    margin-bottom: -50px;
}

.newsletter-card {
    border-radius: 4px;
}

.newsletter-input {
    background-color: #f8f9fa;
}

.newsletter-input input:focus {
    box-shadow: none;
    background-color: transparent;
}

.map-wrapper {
    min-height: 350px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #e9ecef;
}

.map-embed {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
    display: block;
    filter: grayscale(100%);
}

.hover-opacity:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Login Modal */
.login-modal-content {
    border: none;
    border-radius: 12px;
}

.login-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
}

#loginModal .form-control:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-dark-rgb), 0.15);
}

@media (max-width: 991.98px) {
    .about-image-wrapper {
        width: 100%;
        max-width: 400px;
        height: 400px;
        margin: 2rem auto 0;
    }

    .newsletter-container {
        transform: translateY(-20%);
        margin-bottom: -20px;
    }

    .map-wrapper {
        min-height: 300px;
        margin-top: 2rem;
    }

    .map-embed {
        min-height: 300px;
    }
}
