/* ============================================
   Mobile-first responsive starter template
   Good playground for learning CSS in Pinegrow
   ============================================ */
:root {
    --color-primary: #8D9C71;
    --color-primary-dark: #8D9C71;

    /* --color-text: #1f2937; */
    --color-text: #c6a655;
    --color-text-light: #6b7280;
    --color-bg: #8D9C71;
    --radius: 8px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --gap: clamp(1.5rem, 4vw, 3rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Philosopher', sans-serif;
    color: var(--color-text);

    /* background: #8D9C71; */
    /* background: rgb(3, 60, 66); */
    line-height: 1.6;

    /* Full page background image */
    background-image: url('photos/background.jpg');
    background-size: cover;

    /* Makes the image fill the entire screen */
    background-position: center;

    /* Centers the image */
    background-repeat: no-repeat;

    /* Prevents tiling */
    background-attachment: fixed;

    /* Optional: keeps image fixed while scrolling */
    min-height: 100vh;

    /* Ensures it covers full height */
}

.philosopher-regular {
    font-family: "Philosopher", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.philosopher-bold {
    font-family: "Philosopher", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.philosopher-regular-italic {
    font-family: "Philosopher", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.philosopher-bold-italic {
    font-family: "Philosopher", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.container {
    width: min(92%, 1200px);
    margin-inline: auto;
}

/* ============================================
   HEADER + NAV + HAMBURGER
   ============================================ */
/* .site-header {
    background: #013d3d;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100; */
/* Header that scrolls away normally */
.site-header {
    background: #013d3d;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;

    /* Changed from sticky */
    z-index: 10;
    transition: all 0.3s ease;

    /* Smooth feel when scrolling */
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 0.4rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-image {
    height: 100px;

    /* Good balanced size - adjust as needed */
    width: auto;
    object-fit: contain;
}

.business-name {
    font-size: clamp(1.4rem, 4.5vw, 2rem);
    font-weight: 700;
    color: #c9a937;
    margin: 0;
}

.logo-placeholder {
    width: 35px !important;
    height: 35px !important;
    background: var(--color-primary);
    color: white;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.95rem;

    /* smaller text inside logo */
    flex-shrink: 0;
}

.business-name {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #c6a655;

    /* color: var(--color-text); */
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #c6a655;

    /* color: var(--color-text); */
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--color-primary);
}

html {
    scroll-behavior: smooth;
}

/* Mobile menu */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #013d3d;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        padding: 1.5rem;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* ============================================
   HERO
   ============================================ 
.hero {
    height: clamp(220px, 45vw, 340px);
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
} */
/* Full-screen Background Hero - Image shifted down */
.hero-bg {
    position: relative;
    height: 100vh;
    min-height: 650px;
    background-image: url('photos/placeholder2.jpg');

    /* ← Your image */
    background-size: cover;
    background-position: center 0px;

    /* ← This shifts the image down by 100px */
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #c6a655;
    overflow: hidden;
}

/* Dark overlay so text is readable */
.hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);

    /* Adjust darkness (0.3 = lighter, 0.6 = darker) */
    z-index: 1;
}

/* Content sits on top of the image */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 8vw, 5rem);
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.btn {
    /* your existing button styles */
}

/* ============================================
   MOBILE OPTIMIZATIONS
   ============================================ */
/* Mobile: Shift background image left */
@media (max-width: 768px) {
    .hero-bg {
        background-position: 40% center;

        /* ← Moves image left (lower % = more left) */
        background-attachment: scroll;

        /* Better on mobile */
        height: 85vh;
    }
}

.hero-content {
    padding: 1.5rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 9vw, 3.2rem);
}

.hero-content p {
    font-size: 1.1rem;
}

/* ============================================
   TEXT BLOCK
   ============================================ */
.text-block {
    padding: var(--gap) 0;
    text-align: center;
    max-width: 65ch;
    margin-inline: auto;
}

.text-block h2 {
    margin-bottom: 1.2rem;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
}

/* Override container for text-block sections only */
.text-block.container {
    max-width: 65ch !important;

    /* Force narrower width */
    width: 100% !important;

    /* Allow it to shrink below 1200px */
    padding-left: 1rem !important;

    /* Optional: small side padding on mobile */
    padding-right: 1rem !important;
    margin-inline: auto !important;
    text-align: center !important;
    background: #f1e6c1;
}

/* Ensure inner text stays centered */
.text-block.container h2,
.text-block.container p {
    text-align: center !important;
}

/* ============================================
   CARDS GRID
   ============================================ */
/* CARD GRID – background image with fixed height containment */
.features {
    padding: var(--gap) 0;
    background: #rgb(3, 60, 66);
}

.features h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap);
    padding: 0 var(--gap);

    /* Adds left/right padding equal to your --gap variable (currently ~1.5–3rem) */
    max-width: 1400px;

    /* Optional: prevents cards from becoming too wide on ultra-large screens */
    margin: 0 auto;

    /* Centers the padded grid if max-width is set */
}

.card {
    position: relative;
    height: 380px;

    /* Adjust this value to make cards shorter/taller (e.g. 320px, 420px) */
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgb(3, 60, 66);

    /* Fallback color if image fails to load */
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.5rem 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 60%, transparent 100%);

    /* color: white; */
    text-align: center;
    z-index: 2;
}

.card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.4rem;
}

.card p {
    margin-bottom: 1rem;
    font-size: 1rem;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 500;
    transition: background 0.2s, transform 0.2s;
}

.btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Responsive grid */
@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 940px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Grid responsive */
@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 940px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive grid */
@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 940px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive grid */
@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 940px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive grid – same as before */
@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 940px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   Responsive grid breakpoints
   ============================================ */
@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 940px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Force carousel height - overrides Bootstrap */
#carousel1 {
    height: 450px !important;

    /* Full screen - change to 80vh, 700px, etc. */
    min-height: 450px !important;

    /* Don't shrink too much on small screens */
}

/* Make sure inner parts fill it */
#carousel1 .carousel-inner,
#carousel1 .carousel-item,
#carousel1 .carousel-item img {
    height: 100% !important;
    width: 100% !important;
}

#carousel1 .carousel-item img {
    object-fit: cover !important;

    /* Crops to fit nicely */
    object-position: center !important;
}

/* ============================================
   Two completely independent split rows
   Each row is its own section – no shared layout
   ============================================ */
.split-row {
    width: 100%;
    padding: 4rem 0;

    /* Vertical padding for each section independently */
    /* background: #f8f9fa; */
    /* Light background – change per row if desired */
}

/* Row-specific backgrounds (optional) */
/* .row-1 { background: #f1e6c1; }
.row-2 { background: #f9f0ce; } */
.row-1 {
    background: #f1e6c1;

    /* background: #f1e6c1; */
}

.row-2 {
    /* background: rgb(3, 60, 66); */
}

/* Inner content wrapper */
.split-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;

    /* Optional cap – prevents stretching too wide - Grid widths */
    margin: 0 auto;
    padding: 0 2rem;
}

/* Each side takes flexible space */
.text-side,
.photo-side {
    flex: 1;
    min-width: 300px;

    /* Prevents collapsing too much on narrow screens */
}

/* Text side styling */
.text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0rem;
}

/* Photo side – image fills area */
.photo-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Mobile – stack vertically */
@media (max-width: 768px) {
    .split-row {
        padding: 2rem 0;
    }

    .split-content {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    .text-side {
        padding: 1.5rem;
    }
}

/* Simple 3-column max grid */
.services-grid {
    /* padding: 4rem 0; */
    /* background: rgb(3, 60, 66); */
}

/* Remove underline from ALL links */
a,
a:visited,
a:active,
a:hover {
    text-decoration: none !important;
    color: #c6a655;

    /* Keeps your existing colors */
}

/* Optional: Add a subtle hover effect so links still feel clickable */
a:hover {
    color: #c6a655;
    text-decoration: none !important;
    opacity: 0.8;

    /* Slight fade on hover */
    transition: opacity 0.2s ease;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    /* Max 3 columns */
    gap: 2.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Individual grid item */
.grid-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.grid-item img {
    width: 100px;
    height: auto;
    margin-bottom: 1.2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.grid-item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #c6a655;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Consistent height for all grid icons */
.grid-icon {
    height: 100px !important;

    /* ← Change this number to adjust size */
    width: auto !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto 1.2rem auto;
}

/* Responsive behavior */
@media (max-width: 900px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);

        /* 2 columns on tablets */
    }
}

@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: 1fr;

        /* 1 column on mobile */
        gap: 2rem 1.5rem;
    }
}

/* Footer */
.site-footer {
    background: #013d3d;
    color: #c6a655;
    padding: 3rem 0 2rem;
    margin-top: auto;

    /* Pushes footer to bottom if needed */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.95rem;
}

.footer-info p {
    margin: 0.3rem 0;
}

.footer-links a {
    color: #c6a655;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #c6a655;

    /* Your gold accent color */
}

/* Mobile */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-links a {
        margin: 0 0.8rem;
    }
}

/* Start of backpages */
/* Sacred Plant Ceremonies */
.ceremony-section {
    padding: 5rem 0;
    background-image: url('photos/background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    min-height: 700px;
}

.ceremony-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
}

.ceremony-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
}

.ceremony-photo {
    flex-shrink: 0;
    width: 500px;
}

.ceremony-photo img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.ceremony-text {
    flex: 1;
    min-width: 300px;
}

/* New bottom text section */
.ceremony-bottom-text {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 2rem;
    font-size: 1rem;
    line-height: 1.8;
    color: #c6a655;
}

.ceremony-bottom-text p {
    margin-bottom: 1.5rem;
}

/* Mobile */
@media (max-width: 768px) {
    .ceremony-content {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .ceremony-photo {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .ceremony-bottom-text {
        padding: 0 1.5rem;
    }
}
}
}

