:root {
    --color-saffron: #bb815a;
    --color-saffron-light: #e67e22;
    --color-cream: #fdfbf7;
    --color-light-brown: #f4ece4;
    --color-text-dark: #2c3e50;
    --font-primary: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-cream);
    color: var(--color-text-dark);
    padding-top: 60px;
    /* Adjust based on navbar height */
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: var(--font-heading);
}

.text-saffron {
    color: var(--color-saffron) !important;
}

.bg-saffron {
    background-color: var(--color-saffron) !important;
    color: white;
}

.bg-light-brown {
    background:
        linear-gradient(rgba(244, 236, 228, 0.5), rgba(244, 236, 228, 0.5)),
        url('../images/mandala-round.png');
    background-color: var(--color-light-brown);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 120%;
}

.btn-primary {
    background-color: var(--color-saffron);
    border-color: var(--color-saffron);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-saffron-light);
    border-color: var(--color-saffron-light);
}

.nav-link {
    color: var(--color-text-dark);
    font-weight: 500;
    margin-left: 1rem;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-saffron);
}

.hero-section {
    background: linear-gradient(rgba(44, 62, 80, 0.3), rgba(44, 62, 80, 0.2)), url('../images/bg-main.webp') no-repeat center center/cover;
    padding: 150px 0;
    text-align: center;
    color: white;
}

.hero-section h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}



.page-header {
    background-color: #006b26;
    background-image:
        linear-gradient(to right, #006b26 50%, rgba(0, 107, 38, 0) 100%),
        url('../images/mandala-round.png');
    background-repeat: no-repeat;
    background-position: center, 120% center;
    background-size: cover, auto 150%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    position: relative;
    margin-bottom: 0rem;
}

@media (max-width: 992px) {
    .page-header {
        height: 200px;
        background-size: cover, auto 120%;
        background-position: center, 120% center;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .search-bar {
        max-width: 100%;
        padding: 0 15px;
    }

    .search-bar .search-input {
        flex: 1;
    }

    .inner-search-form {
        max-width: 100%;
        width: 100%;
        margin-top: 0.5rem;
        /* Reduced from 1rem */
    }

    .container.py-5 {
        padding-top: 2rem !important;
        /* Reduce top padding on mobile/tab */
    }
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 0rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-saffron);
    margin: 10px auto 0;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    background-color: white;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top,
.gallery-img,
.placeholder-thumbnail {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

.placeholder-thumbnail {
    background-color: var(--color-light-brown);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-saffron);
    font-size: 3rem;
}

.placeholder-thumbnail i {
    opacity: 0.6;
}

.search-bar {
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Inner page search form wrapper */
.inner-search-form {
    max-width: 300px;
}

@media (max-width: 768px) {
    .search-bar {
        max-width: 100%;
        padding: 0 15px;
    }

    .search-bar .search-input {
        flex: 1;
    }

    .inner-search-form {
        max-width: 100%;
        width: 100%;
        margin-top: 1rem;
    }
}

.search-input {
    border-radius: 30px;
    padding: 12px 25px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-btn {
    border-radius: 30px;
    padding: 12px 30px;
    background-color: var(--color-saffron);
    border: none;
    color: white;
    cursor: pointer;
    position: relative;
    z-index: 10;
}
.search-btn:hover {
    background-color: var(--color-saffron-light);
}

/* Custom Aspect Ratio for Shorts */
.ratio-9x16 {
    --bs-aspect-ratio: 177.7777777778%;
}
