/* 
 * style.css
 * ------------------
 * Gro Summit 2025 - Main Stylesheet
 * Copyright 2025 Matthew Lydon (PounceTek)
 * Additional Copyright: Gro Development, YMCA, and YMCA Canada
 * 
 * This stylesheet contains the main styling for the Gro Summit website,
 * including color palette, typography, layout, and component styling.
 */

/* ================================
 * CSS Custom Properties (Variables)
 * Color Palette & Brand Colors
 * --------------------------------
 */
    
    :root {
    /* Primary brand colors */
    --c-primary-a: #C6168D;    /* Magenta - main brand color */
    --c-primary-b: #000000;    /* Black - text and backgrounds */
    --c-primary-c: #FFFFFF;    /* White - text and backgrounds */
    
    /* Neutral/grayscale colors */
    --c-neutral-a: #2F2F2F;    /* Dark gray */
    --c-neutral-b: #545454;    /* Medium dark gray */
    --c-neutral-c: #848484;    /* Medium gray */
    --c-neutral-d: #AAAAAA;    /* Light gray */
    --c-neutral-e: #D6D6D6;    /* Very light gray */
    --c-neutral-f: #EDEDED;    /* Off-white gray */
    
    /* Secondary accent colors */
    --c-secondary-a: #82288C;  /* Purple accent */
    --c-secondary-b: #0060AF;  /* Blue accent */
    --c-secondary-c: #00AEEF;  /* Light blue accent */
    --c-secondary-d: #00875A;  /* Dark green accent */
    --c-secondary-e: #36B37E;  /* Green accent - hover states */
    --c-secondary-f: #FFCB05;  /* Yellow accent - warnings */
}

/* ================================
 * Color Utility Classes
 * Apply brand colors to text elements
 * --------------------------------
 */

/* Primary color classes */
.c-primary-a {
    color: var(--c-primary-a);
}

.c-primary-b {
    color: var(--c-primary-b);
}

.c-primary-c {
    color: var(--c-primary-c);
}

/* Secondary color classes */
.c-secondary-a {
    color: var(--c-secondary-a);
}

.c-secondary-b {
    color: var(--c-secondary-b);
}

.c-secondary-c {
    color: var(--c-secondary-c);
}

.c-secondary-d {
    color: var(--c-secondary-d);
}

.c-secondary-e {
    color: var(--c-secondary-e);
}

.c-secondary-f {
    color: var(--c-secondary-f);
}

/* Neutral color classes */
.c-neutral-b {
    color: var(--c-neutral-b);
}

/* ================================
 * Image Styling
 * --------------------------------
 */

/* Rounded corner utility for images */
.img-rounded {
    border-radius: 2rem !important;
}

/* ================================
 * Typography & Font Loading
 * --------------------------------
 */

/* Import Adobe Fonts (Proxima Nova) */
@import url("https://use.typekit.net/jtw5nfi.css");

/* Font weight utility classes using Proxima Nova */
.t-regular {
    font-family: proxima-nova, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.t-medium {
    font-family: proxima-nova, sans-serif;
    font-weight: 500;
    font-style: normal;
}

.t-semibold {
    font-family: proxima-nova, sans-serif;
    font-weight: 600;
    font-style: normal;
}

.t-bold {
    font-family: proxima-nova, sans-serif;
    font-weight: 700;
    font-style: normal;
}

/* Text alignment utilities */
.t-justify {
    text-align: justify;
}

/* Text sizing utilities */
.t-larger {
    font-size: larger;
}

/* Body text default styling */
.body {
    font-family: proxima-nova, sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* ================================
 * Layout & Spacing Utilities
 * --------------------------------
 */

/* Responsive padding for mission sections */
@media (min-width: 768px) {
    .mission-padding {
        padding-right: 15rem;
    }
}

/* Large screen padding utility */
@media (min-width: 992px) {
    .t-lg-padded {
        padding-left: 8rem;
        padding-right: 8rem;
    }
}

/* ================================
 * Section Layouts & Backgrounds
 * --------------------------------
 */

/* Footer link styling */
.section-footer a {
    color: var(--c-primary-c);
    text-decoration: none;
}

.section-footer a:hover {
    color: var(--c-secondary-e);
    text-decoration: none;
}

/* Hero section - main promotional area */
.section-hero {
    color: var(--c-primary-c);
    background-color: var(--c-primary-a);
    border-radius: 2rem;
}

/* Hero section decorative background on larger screens */
@media (min-width: 768px) {
    .section-hero {
        position: relative;
    }
    
    .section-hero::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-position: right 5em center;
        background-image: url("/assets/img/chevrons/gro_dev-chevron-white.svg");
        background-size: 20%;
        background-repeat: no-repeat;
        opacity: 0.5;
        pointer-events: none;
    }
}

/* Secondary section styling */
.section-secondary {
    color: var(--c-primary-b);
    background-color: var(--c-neutral-f);
    border-radius: 2rem;
}

/* Footer section styling */
.section-footer {
    color: var(--c-primary-c);
    background-color: var(--c-primary-b);
    border-radius: 2rem 2rem 0 0;
}

/* General section utilities */
.section-topspacing {
    margin-top: 6em;
}

.section-shadow {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--c-primary-b);
    background-color: var(--c-primary-c);
    border-radius: 1.5rem;
    width: fit-content;
    padding: 0.5rem 1rem;
    margin: 0 auto;
}

/* ================================
 * Badge & Status Indicators
 * --------------------------------
 */

/* Warning badge styling */
.badge-warning {
    color: var(--c-primary-b);
    background-color: var(--c-secondary-f);
}

/* Danger/error badge styling */
.badge-danger {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    color: var(--c-primary-c);
    background-color: var(--c-secondary-b);
}
/* ================================
 * Navigation & Header Styling
 * --------------------------------
 */

/* Standard navbar navigation items */
.navbar-nav .nav-item {
    margin-left: 0.25em;
    margin-right: 0.25em;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: solid var(--c-primary-c) 2px;
    margin-bottom: 3px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-item:hover {
    border-bottom: solid var(--c-secondary-e) 5px;
    margin-bottom: 0px;
}

.navbar-nav .nav-link {
    color: var(--c-primary-c) !important;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--c-secondary-e) !important;
}

/* Legacy navbar support (direct <li> and <a> elements) */
.navbar-nav li {
    margin-left: 0.25em;
    margin-right: 0.25em;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: solid var(--c-primary-c) 2px;
    margin-bottom: 3px;
    transition: all 0.3s ease;
}

.navbar-nav li:hover {
    border-bottom: solid var(--c-secondary-e) 5px;
    margin-bottom: 0px;
}

.navbar-nav a {
    color: var(--c-primary-c) !important;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-nav a:hover {
    color: var(--c-secondary-e) !important;
}

/* Black navbar variant for secondary pages */
.navbar-black {
    background-color: var(--c-primary-b) !important;
    position: relative !important;
    z-index: 10 !important;
}

.navbar-black .navbar-nav .nav-item {
    border-bottom: solid var(--c-primary-c) 2px;
}

.navbar-black .navbar-nav .nav-item:hover {
    border-bottom: solid var(--c-secondary-e) 5px;
    margin-bottom: 0px;
}

.navbar-black .navbar-nav .nav-link {
    color: var(--c-primary-c) !important;
    font-weight: 600;
}

.navbar-black .navbar-nav .nav-link:hover {
    color: var(--c-secondary-e) !important;
}

/* Legacy support for black navbar */
.navbar-black .navbar-nav li {
    border-bottom: solid var(--c-primary-c) 2px;
}

.navbar-black .navbar-nav li:hover {
    border-bottom: solid var(--c-secondary-e) 5px;
}

.navbar-black .navbar-nav a {
    color: var(--c-primary-c) !important;
}

.navbar-black .navbar-nav a:hover {
    color: var(--c-secondary-e) !important;
}
/* ================================
 * Hero/Intro Section Styling
 * --------------------------------
 */

/* Absolute positioned header overlay */
.section-header {
    display: block;
    position: absolute;
    z-index: 10;
}

/* Main intro section with background image */
.section-intro {
    position: relative;
    background-color: var(--c-primary-b);
    background: /* Dark overlay gradient */
        linear-gradient( rgba(0, 0, 0, 0.80), rgba(0, 0, 0, 0.20)), 
        url("/assets/img/places/key.jpg");
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    padding-top: 150px;
    padding-bottom: 10px;
}

/* Decorative chevron overlays for larger screens */
@media (min-width: 768px) {
    .section-intro::after {
        content: "";
        position: absolute;
        top: 30%;
        left: 0;
        right: 0;
        bottom: 0;
        background-position: right 2em center;
        background-image: url("/assets/img/chevrons/gro_dev-chevron-white.svg");
        background-size: 15%;
        background-repeat: no-repeat;
        opacity: 0.5;
        pointer-events: none;
    }
    
    .section-intro::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 30%;
        background-position: left 2em center;
        background-image: url("/assets/img/chevrons/gro_dev-chevron-white.svg");
        background-size: 15%;
        background-repeat: no-repeat;
        opacity: 0.5;
        pointer-events: none;
    }
}

/* Text styling for intro details */
.details {
    font-size: xx-large;
}

/* ================================
 * Logo Responsive Sizing
 * --------------------------------
 */

/* Default: XS devices and up */
.summit-logo {
    width: 70%;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .summit-logo {
        width: 50%;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .summit-logo {
        width: 30%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .summit-logo {
        width: 30%;
    }
}

/* ================================
 * Session Cards Styling
 * --------------------------------
 */

/* Session card icon styling */
.session i {
    font-size: 4em;
    padding-right: 0.25em;
    padding-bottom: 0.25em;
}

/* Session title styling */
.session-title {
    color: var(--c-neutral-a);
    font-size: large;
    font-weight: 600;
}

/* ================================
 * Hotel Section Styling
 * --------------------------------
 */

/* Hotel photo alignment */
.hotel-photo {
    text-align: center;
}
/* ================================
 * Button Styling
 * --------------------------------
 */

/* Primary button - main call-to-action styling */
.btn-primary {
    background-color: var(--c-primary-a);
    border-color: var(--c-secondary-a);
    color: var(--c-primary-c);
}

.btn-primary:hover {
    background-color: var(--c-secondary-e);
    border-color: var(--c-secondary-d);
    color: var(--c-primary-c);
}

/* Secondary button - alternative action styling */
.btn-secondary {
    background-color: var(--c-primary-c);
    border-color: var(--c-neutral-d);
    color: var(--c-primary-a);
}

.btn-secondary:hover {
    background-color: var(--c-secondary-e);
    border-color: var(--c-secondary-d);
    color: var(--c-primary-c);
}

/* ================================
 * Responsive Button Sizing
 * Buttons scale based on screen size
 * --------------------------------
 */

/* Default and small screens: full width buttons */
.btn-primary,
.btn-secondary {
    width: 100% !important;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .btn-primary,
    .btn-secondary {
        width: 100% !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .btn-primary,
    .btn-secondary {
        width: 75% !important;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .btn-primary,
    .btn-secondary {
        width: 50% !important;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .btn-primary,
    .btn-secondary {
        width: 25% !important;
    }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .btn-primary,
    .btn-secondary {
        width: 25% !important;
    }
}

/* ================================
 * Background Utility Classes
 * --------------------------------
 */

/* Brand background colors */
.bg-gro-pink {
    background-color: var(--c-primary-a);
}

.bg-gro-black {
    background-color: var(--c-primary-b);
}