@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
    --primary: #8b1e3f;
    --primary-dark: #6b1630;
    --secondary: #c9a96e;
    --secondary-light: #e6d5b8;
    --dark: #1a1a1a;
    --light: #f8f5f0;
    --text: #2d2d2d;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary);
}

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

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

.bg-primary-custom {
    background-color: var(--primary) !important;
}

.bg-secondary-custom {
    background-color: var(--secondary) !important;
}

.bg-light-custom {
    background-color: var(--light) !important;
}

.btn {
    font-family: var(--font-body);
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--white);
}

/* Header & Navigation */
#inject-header .navbar {
    background: rgba(26,26,26,0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition);
}

#inject-header .navbar-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 2px;
}

#inject-header .navbar-nav .nav-link {
    color: rgba(255,255,255,0.8);
    font-weight: 400;
    margin: 0 0.5rem;
    transition: var(--transition);
}

#inject-header .navbar-nav .nav-link:hover {
    color: var(--secondary-light);
}

#inject-header .navbar-nav .nav-link.active {
    color: var(--secondary);
}

#inject-header .navbar-toggler {
    border: 2px solid var(--secondary);
    padding: 0.5rem 0.75rem;
}

#inject-header .navbar-toggler-icon {
    background-image: none;
    position: relative;
}

#inject-header .navbar-toggler-icon::before,
#inject-header .navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--secondary);
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

#inject-header .navbar-toggler-icon::before {
    top: 8px;
}

#inject-header .navbar-toggler-icon::after {
    bottom: 8px;
}

#inject-header .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

#inject-header .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    bottom: 50%;
    transform: translate(50%, 50%) rotate(-45deg);
}

/* Footer */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
}

footer h5 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

footer a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

footer a:hover {
    color: var(--secondary);
    text-decoration: none;
}

footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    text-align: center;
    line-height: 38px;
    margin-right: 0.5rem;
    transition: var(--transition);
}

footer .social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
}

footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
}

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

.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero .btn {
    margin: 0.5rem;
}

/* Carousel */
.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
}

.carousel-caption h2 {
    font-size: 3.5rem;
    color: var(--white);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
}

.carousel-indicators .active {
    background-color: var(--secondary);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--white);
    position: relative;
}

.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--white);
    border-right: 2px solid var(--white);
}

.carousel-control-prev-icon::before {
    transform: translate(-50%, -50%) rotate(225deg);
}

.carousel-control-next-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Cards */
.card {
    border: none;
    border-radius: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.card-img-top {
    border-radius: 0;
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.card-text {
    color: var(--text);
    margin-bottom: 1.5rem;
}

.card-link {
    font-weight: 700;
    color: var(--primary);
}

/* Team */
.team-member {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 5px solid var(--secondary);
}

.team-member h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 1px;
}

/* Testimonials */
.testimonial {
    background: var(--white);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--secondary);
    position: relative;
}

.testimonial::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--secondary);
    position: absolute;
    top: -20px;
    left: 20px;
    opacity: 0.3;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial .author {
    font-weight: 700;
    color: var(--primary);
}

/* Contact Form */
.contact-form input,
.contact-form textarea,
.contact-form select {
    border: 1px solid #ced4da;
    border-radius: 0;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(139,30,63,0.25);
}

.contact-form label {
    font-weight: 700;
    color: var(--dark);
}

/* Map */
.map-container {
    height: 450px;
    width: 100%;
    border: 0;
    filter: grayscale(20%);
    transition: var(--transition);
}

.map-container:hover {
    filter: grayscale(0);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-width: 500px;
    width: 90%;
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.cookie-banner.show {
    display: flex;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-banner .cookie-btn {
    background: var(--secondary);
    color: var(--dark);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.cookie-banner .cookie-btn:hover {
    background: var(--secondary-light);
}

/* Section Utilities */
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.pb-6 {
    padding-bottom: 6rem;
}

.pt-6 {
    padding-top: 6rem;
}

.mb-6 {
    margin-bottom: 6rem;
}

/* AOS custom */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Notification for forms */
.form-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 5px;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    display: none;
    animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-notification.show {
    display: block;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .carousel-caption h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
    }
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
}
/* Contrast fixes for section labels on light backgrounds */
.text-uppercase.text-warning.fw-bold {
    color: #7a5c1e !important;
}

/* Ensure footer logo is never hidden or overlapped */
#inject-footer footer a img {
    position: relative;
    z-index: 5;
    opacity: 1 !important;
    filter: none !important;
}
