:root {
    --sage-green: #1b680d;
}

/* 1. Backgrounds (Like your top Navigation Bar) */
.bg-dark, 
.navbar-dark {
    background-color: var(--sage-green) !important;
}

/* 2. Buttons (Like the "View Details" buttons on your Shop Index) */
.btn-dark {
    background-color: var(--sage-green) !important;
    border-color: var(--sage-green) !important;
    color: white !important;
}

.btn-outline-dark {
    color: var(--sage-green) !important;
    border-color: var(--sage-green) !important;
}

.btn-outline-dark:hover {
    background-color: var(--sage-green) !important;
    color: white !important;
}

/* 3. Lines and Borders (Like the horizontal <hr> lines) */
.text-dark, 
.border-dark {
    color: var(--sage-green) !important;
    border-color: var(--sage-green) !important;
}

hr.text-dark {
    background-color: var(--sage-green) !important;
    opacity: 1; 
}


html {
  font-size: 2em;
}

@media (min-width: 768px) {
  html {
    font-size: 1rem;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

:root {
    --aa-black: #101010;
    --aa-gray: #f4f4f4;
    --aa-border: #e0e0e0;
    --aa-white: #ffffff;
}

/* Typography Overrides */
body { 
    font-family: 'Montserrat', sans-serif; 
    color: var(--sage-green); 
}

/* Default for mobile (if the stacked menu is taller) */
body {
    padding-top: 6.5rem;
}

/* For larger desktop screens */
@media (min-width: 992px) {
    body {
        padding-top: 5rem; 
    }
}

h1, h2, h3, h4, .serif-font { 
    font-family: 'Playfair Display', serif; 
    font-weight: 400; 
    letter-spacing: 1px; 
}

.text-uppercase { 
    letter-spacing: 3px !important; 
}

/* Header / Masthead */
header.masthead {
    background-color: white !important;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                       url('https://images-pw.pixieset.com/elementfield/yWOe31a/ViewofColumbiaRiverGorge-3c916350-1500.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 10rem;
    padding-bottom: 6rem;
    border-bottom: 1px solid var(--aa-border);
}

.masthead-subheading { 
     font-family: 'Playfair Display', serif !important; 
     font-style: italic; 
     color: var(--aa-black) !important; 
     font-size: 1.5rem !important;
}

.masthead-heading { 
    color: var(--aa-black) !important; 
    border-top: 1px solid black; 
    border-bottom: 1px solid black; 
    display: inline-block; 
    padding: 10px 0; 
}

/* Buttons */
.btn-primary { 
     background-color: var(--sage-green) !important; 
     border: 1px solid var(--sage-green) !important; 
     border-radius: 0; 
     transition: 0.3s;
}

.btn-primary:hover { 
    background-color: transparent !important; 
    color: var(--sage-green) !important; 
}

/* Portfolio Aesthetic */
.portfolio-item { 
    border: 1px solid var(--aa-border); 
    padding: .7rem; 
    background: white; 
}

.portfolio-caption { 
    background-color: white !important; 
    padding: 20px 0 !important; 
}

.img-bw { 
    filter: grayscale(100%); 
    transition: 0.6s; 
}

.img-bw:hover { 
    filter: grayscale(0%); 
}

/* Timeline / About */
.timeline-image { 
    border: 4px solid var(--sage-green) !important; 
    border-radius: 0 !important; 
}

.timeline-image img { 
    border-radius: 0 !important; 
}

.timeline:before { 
    background-color: var(--sage-green) !important; 
}

/* Navigation Overrides */
#mainNav {
    background-color: var(--aa-white) !important;
    border-bottom: 1px solid var(--aa-border);
    transition: padding-top 0.3s, padding-bottom 0.3s;
}

#mainNav .navbar-nav .nav-item .nav-link {
    color: var(--sage-green) !important;
}

#mainNav .navbar-nav .nav-item .nav-link:hover {
    color: black !important;
}


#mainNav .navbar-brand {
    color: var(--sage-green) !important;
}

/* Footer */
.aa-footer {
    background-color: var(--sage-green) !important;
    border-color: var(--sage-green) !important;
    color: white !important;
    padding-top: 5rem;
    padding-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
    border-top: 1px solid #222;
}
.finePrintSection {
    background-color: var(--sage-green) !important;
    border-color: var(--sage-green) !important;
    color: white !important;
    padding: 80px 0; 
    text-align: center;
}

.aa-footer h5 {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.aa-footer .footer-link {
    color: white !important;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.aa-footer .footer-link:hover {
    color: yellow !important;
}

.aa-footer .mission-statement {
    font-size: 0.85rem;
    line-height: 1.8;
}

.aa-footer .contact-info {
    font-size: 0.8rem;
    color: #bbb;
    margin-bottom: 1rem;
}

.aa-footer .bottom-bar {
    border-top: 1px solid #222;
    margin-top: 4rem;
    padding-top: 2rem;
    font-size: 0.7rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.aa-footer .social-icons .btn-social {
    background: transparent !important;
    border: 1px solid #444 !important;
    color: #fff !important;
    margin-right: .7rem;
}

.aa-footer .social-icons .btn-social:hover {
    border-color: yellow !important;
}

/* --- Ansel Adams "Four Seasons" Aesthetic --- */
.season-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding-bottom: 1rem;
}

.season-item {
    position: relative;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
}

.season-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    opacity: 0.7;
}

.season-item:hover .season-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.season-label {
    position: absolute;
    bottom: 1.4rem;
    left: 1.4rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

/* --- Chronological Journey --- */
.journey-timeline {
    border-left: 1px solid #000;
    margin-left: 1.4rem;
    padding-left: 2.8rem;
    position: relative;
}

.journey-step {
    margin-bottom: 4rem;
    position: relative;
}

.journey-step::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 0;
    width: .8rem;
    height: .8rem;
    background: #000;
}

header.masthead {
  padding: 1rem 0rem;
}



.navbar-dark .navbar-toggler {
    color:black;
}


@media (max-width: 768px) {
    /* Ensures the hero section expands to the full width of the screen */
    .hero {
        flex-direction: column !important;
        padding: 40px 20px !important; /* Adjusts side padding for mobile */
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-image {
        width: 100% !important;
        margin: 20px 0 0 0 !important; /* Removes any side margins */
        display: flex;
        justify-content: center;
    }

    .hero-image img {
        width: 100% !important;
        max-width: 450px; /* Prevents it from getting too huge on tablets */
        height: auto;
        border-radius: 1rem;
        margin-left: 0 !important; /* Explicitly kills that left gap */
    }
    
    .hero-content {
        width: 100% !important;
        padding: 0 !important;
    }
}

.italic {
    font-style: italic;
}

/* =========================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 768px) {
    
    /* 1. Reduce the massive letter spacing on titles so they don't break onto 4 lines */
    h1, h2 {
        letter-spacing: 2px !important;
        font-size: 1rem !important;
    }

    .text-subheading {
        font-size: .6rem !important;
    }

    /* 2. Make gallery and shop thumbnails slightly shorter on phones */
    .gallery-thumbnail, 
    .card-img-top {
        height: 250px !important; 
    }

    /* 3. If your homepage season-grid isn't stacking properly, this forces it to 1 column */
    .season-grid {
        display: grid;
        grid-template-columns: 1fr !important; /* 1 column on mobile */
        gap: 1.5rem;
    }

    /* 4. Reduce massive padding blocks so content isn't squished */
    .page-section {
        padding-top: 0rem !important;
        padding-bottom: 3rem !important;
    }
}

.text-danger {
    color: red;
}