﻿:root {
    --primary-color: var(--button-color-two, #B0A096);
    --accent-color: var(--button-color, #F9794C);
    --text-dark: #160d0c;
    --text-light: #f8f8f8;
    --transition-speed: 0.3s;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 15px 30px rgba(0, 0, 0, 0.2);
    --section-spacing: clamp(2rem, 4vw, 4rem);
    --border-radius: 12px;
    --border-radius-lg: 15px;
}

.hero-banner {
    position: relative;
    width: 100%;
    height: clamp(400px, 90vh, 800px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: clamp(1rem, 3vw, 2rem);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.header-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-family: "Playfair Display", serif;
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
    line-height: 1.1;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header-subtitle {
    font-size: clamp(1rem, 2vw, 1.8rem);
    margin-bottom: clamp(1rem, 3vw, 2rem);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    letter-spacing: clamp(1px, 0.2vw, 3px);
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2vw, 2rem);
}

.section-spacing {
    padding: var(--section-spacing) 0;
}

.body-content-title {
    font-family: "Josefin Sans", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.body-content-text {
    font-family: "Josefin Sans", sans-serif;
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    font-weight: 400;
    line-height: 1.7;
    color: #333;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.card {
    border: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    height: 100%;
    background: white;
    overflow: hidden;
    cursor: pointer;
    touch-action: manipulation;
}

    .card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-heavy);
    }

    .card:focus-visible {
        outline: 3px solid var(--accent-color);
        outline-offset: 2px;
    }

.card-img-top {
    height: clamp(180px, 25vh, 250px);
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: clamp(1rem, 1.5vw, 1.5rem);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.1rem, 1.3vw, 1.4rem);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.card-text {
    font-family: "Josefin Sans", sans-serif;
    font-size: clamp(0.9rem, 1vw, 1rem);
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border: none;
    padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2.5rem);
    font-size: clamp(0.9rem, 1vw, 1.1rem);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    display: block;
    touch-action: manipulation;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-medium);
        color: white;
    }

    .btn-primary:focus-visible {
        outline: 3px solid var(--accent-color);
        outline-offset: 2px;
    }

.category-section {
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem);
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border-radius: var(--border-radius-lg);
    margin-bottom: clamp(1rem, 2vw, 2rem);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .category-section:focus-visible {
        outline: 3px solid var(--accent-color);
        outline-offset: 2px;
    }

.category-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    position: relative;
    padding-bottom: 0.5rem;
}

    .category-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
        border-radius: 2px;
    }

.category-item {
    font-family: "Josefin Sans", sans-serif;
    font-size: clamp(0.9rem, 1vw, 1rem);
    color: #333;
    background: white;
    padding: clamp(0.75rem, 1vw, 1rem);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    text-decoration: none;
    touch-action: manipulation;
}

    .category-item:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-light);
        background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
        color: var(--button-color, #F9794C);
    }

    .category-item:focus-visible {
        outline: 3px solid var(--accent-color);
        outline-offset: 2px;
    }

    .category-item::before {
        content: "›";
        margin-right: 8px;
        color: var(--primary-color);
        font-weight: bold;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-animate {
    will-change: transform, opacity;
    opacity: 0;
}

    .scroll-animate.animated {
        animation: fadeInUp 0.6s ease forwards;
    }

.scroll-fade {
    opacity: 0;
}

.scroll-up {
    transform: translateY(30px);
}

.scroll-down {
    transform: translateY(-30px);
}

.text-center {
    text-align: center;
}

.text-responsive-center {
    text-align: center;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.5rem;
    margin-left: -0.5rem;
}

    .row > * {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

.g-4 {
    gap: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-12,
.col-sm-6,
.col-md-4,
.col-lg-3 {
    position: relative;
    width: 100%;
}

.container-fluid.m-0.p-0 {
    margin: 0;
    padding: 0;
}

@media (min-width: 576px) {
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 768px) {
    .text-responsive-center {
        text-align: center;
    }

    .body-content-text {
        text-align: justify;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        height: clamp(300px, 70vh, 500px);
    }

    .hero-content {
        padding: 1rem;
    }

    .header-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    .header-subtitle {
        font-size: clamp(0.95rem, 1.5vw, 1.3rem);
        letter-spacing: 0.5px;
    }

    .category-item {
        min-height: 45px;
        font-size: 0.9rem;
    }

    .card-img-top {
        height: 180px;
    }

    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        max-width: 200px;
    }

    .section-spacing {
        padding: 1.5rem 0;
    }
}

@media (max-width: 400px) {
    .hero-banner {
        height: clamp(250px, 60vh, 400px);
    }

    .header-title {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .header-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .card-img-top {
        height: 160px;
    }

    .category-item {
        font-size: 0.85rem;
        min-height: 40px;
        padding: 0.5rem;
    }

    .btn-primary {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
        max-width: 180px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .card:hover {
        transform: none;
    }

    .btn-primary:hover {
        transform: none;
        box-shadow: none;
    }

    .category-item:hover {
        transform: none;
        box-shadow: none;
    }
}

@media print {
    .hero-video,
    .hero-overlay,
    .btn-primary,
    .card:hover {
        display: none;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
