/*
    Marketing Pages - Public-Facing Styles

    This file contains styles specific to the public marketing pages
    (/Public controller) that have a modern, full-screen design.
*/

/* ========================================
   Global Marketing Styles
   ======================================== */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Public header - fixed on desktop only */
.public-header-container {
    background: #000;
}

/* Mobile: not fixed */
@media (max-width: 767.98px) {
    .public-header-container {
        position: relative;
    }

    body {
        padding-top: 0;
    }
}

/* Desktop: fixed at top */
@media (min-width: 768px) {
    .public-header-container {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1030;
    }

    body {
        padding-top: 150px; /* banner (100px) + nav bar (~50px) */
    }
}

/* ========================================
   Hero Sections
   ======================================== */

/* Full-screen hero sections */
.marketing-hero {
    min-height: calc(100vh - 150px); /* Full viewport minus fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background-color: #000000;
    background-image: url('stars-bg.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% auto; /* Fill width, center vertically */
}

/* Smaller hero sections (60vh) */
.marketing-hero-sm {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background-color: #000000;
    background-image: url('stars-bg.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% auto; /* Fill width, center vertically */
}

/* ========================================
   Section Layouts
   ======================================== */

/* Standard marketing section padding */
.marketing-section {
    padding: 5rem 0;
}

/* ========================================
   Navigation
   ======================================== */

/* Sticky marketing navbar with backdrop blur */
.navbar-marketing {
    backdrop-filter: blur(10px);
    background-color: rgba(33, 37, 41, 0.95) !important; /* Dark background with slight transparency */
    transition: box-shadow 0.3s ease;
}

.navbar-marketing.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3) !important;
}

/* ========================================
   CTA Sections with Banner Background
   ======================================== */

/* CTA sections with banner background */
.marketing-cta-banner {
    background-color: #000000 !important;
    background-image: url('../@cmc/cmc-template-bootstrap-5/dist/assets/bannerheader2.png') !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: auto 100% !important; /* Fill height, center horizontally */
}

/* ========================================
   Feature Cards
   ======================================== */

/* Feature cards with hover effect */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* ========================================
   Responsive Adjustments
   ======================================== */

/* Tablet and below */
@media (max-width: 991.98px) {
    .marketing-hero,
    .marketing-hero-sm {
        padding: 4rem 0 3rem;
    }

    .marketing-section {
        padding: 3rem 0;
    }

    .display-1 {
        font-size: 3rem;
    }

    .display-2 {
        font-size: 2.5rem;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .marketing-hero {
        min-height: auto;
        padding: 3rem 0 2rem;
    }

    .marketing-hero-sm {
        min-height: auto;
        padding: 3rem 0 2rem;
    }

    .display-1 {
        font-size: 2.5rem;
    }

    .display-2 {
        font-size: 2rem;
    }
}
