@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Permanent+Marker&display=swap');

:root {
    --blue-light: #819BC1;
    --navy: #033C7C;
    --coral: #AD3734;
    --grey: #675F66;
    --off-white: #F0EBF1;
    --navy-dark: #0F2D4A;
}

html {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    padding-top: 115px;
    background: url('../images/hero_gg.webp') center 60% / cover no-repeat fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.22);
    z-index: 0;
    pointer-events: none;
}

header {
    backdrop-filter: blur(4px);
}

.navbar-top {
    background-color: rgba(3, 60, 124, 0.6);
}

.navbar-top a {
    text-decoration: none;
    line-height: 1;
}

.navbar-top img {
    margin-left: 0.75rem;
    margin-top: 0.5rem;
    height: 60px;
}

.navbar-top .bi {
    vertical-align: middle;
}

.main-nav {
    background-color: rgba(3, 60, 124, 0.6);
    min-height: 30px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.main-nav .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.main-nav .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.site-footer {
    background-color: rgba(3, 60, 124, 0.7);
    color: rgba(255, 255, 255, 0.75);
    padding: 1.5rem 0;
    margin-top: auto;
}

.site-footer a {
    text-decoration: none;
    line-height: 1;
}

.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.hero-heading {
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-btn {
    background-color: rgba(3, 60, 124, 0.7) !important;
    border: 1px solid white !important;
    color: white !important;
}

.hero-btn:hover {
    background-color: white !important;
    color: var(--navy) !important;
}

.weather-pill {
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.4rem;
    padding: 0.5rem 1rem;
    color: white;
}

.weather-pill-temp {
    font-weight: 700;
    font-size: 1rem;
}

.weather-pill-desc {
    font-size: 0.8rem;
    opacity: 0.85;
}

.card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.card .card-title {
    color: var(--navy-dark);
    font-weight: 700;
}

.card .card-text {
    color: var(--navy-dark);
}

.btn-card {
    background-color: rgba(3, 60, 124, 0.7);
    border: 1px solid white;
    color: white;
    font-weight: 500;
    align-self: flex-start;
}

.btn-card:hover {
    background-color: transparent;
    border-color: var(--navy-dark);
    color: var(--navy-dark);
}

.overlay {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: fixed;
    background: white;
    z-index: 1;
}

.overlay ~ * {
    position: relative;
    z-index: 1;
}

/* PRODUCTS PAGE */

.products-page {
    position: relative;
    z-index: 2;
}

.products-title {
    color: var(--navy-dark);
    font-weight: 700;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-wrap {
    width: 100%;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
    background-color: transparent;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-info {
    padding-top: 0.75rem;
}

.product-name {
    color: #2f2f2f;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.35;
    margin-bottom: 0.25rem;
}

.product-price {
    color: #3f3f3f;
    margin-bottom: 0;
    font-size: 1rem;
}

.product-card .btn-card {
    margin-top: 0.75rem;
}

.products-empty {
    color: var(--navy-dark);
    font-weight: 500;
}

/* MEDIA QUERIES */

@media (min-width: 1200px) {
    .container {
        max-width: 80%;
    }
}

@media (max-width: 991px) {
    body {
        padding-top: 105px;
    }

    .product-image-wrap {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .product-image-wrap {
        height: 280px;
    }

    .product-name {
        font-size: 1rem;
    }

    .product-price {
        font-size: 0.95rem;
    }
}

@media (max-width: 575px) {
    body {
        padding-top: 100px;
    }

    .product-image-wrap {
        height: 240px;
    }
}