:root {
    --primary-color: #722F37;
    /* Merlot/Wine red - historical/premium */
    --secondary-color: #C5A059;
    /* Antique Gold */
    --accent-color: #2C3E50;
    /* Deep Blue/Slate */
    --bg-color: #FAFAF5;
    /* Off-white/Parchment */
    --text-color: #333333;
    --light-text: #F8F9FA;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --spacing-unit: 1rem;
    --container-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: #f0f0f0;
}

.btn {
    display: inline-block;
    padding: 10px 30px;
    background: var(--secondary-color);
    color: white;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 40px auto;
    padding: 0 20px;
}

/* Footer */
footer {
    background: var(--accent-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 50px;
}

footer p {
    opacity: 0.8;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Map */
.map-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container img {
    width: 100%;
    display: block;
}

.hotspot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    z-index: 10;
    animation: pulse 2s infinite;
}

.hotspot:hover {
    background: var(--primary-color);
    transform: scale(1.5);
    animation-play-state: paused;
}

.hotspot .tooltip {
    visibility: hidden;
    width: 120px;
    background-color: var(--accent-color);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.hotspot:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(114, 47, 55, 0.7);
        /* primary color rgb */
    }

    70% {
        transform: scale(1.1);
        /* Slight pulse scale */
        box-shadow: 0 0 0 10px rgba(114, 47, 55, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(114, 47, 55, 0);
    }
}

/* Contact */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    height: 150px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Hide for mobile initially */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        color: var(--primary-color);
    }

    .hero h1 {
        font-size: 2rem;
    }

    /* Resize tooltips to 50% for mobile */
    .hotspot .tooltip {
        width: 120px;
        /* maintain layout width */
        margin-left: -60px;
        transform: scale(0.5);
        transform-origin: bottom center;
        margin-bottom: 5px;
        /* Adjust spacing */
    }
}

/* Accordion Styles */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-item {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.accordion-header {
    background: #fdfdfd;
    padding: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.3s;
}

.accordion-header:hover,
.accordion-header.active {
    background: #f0f0f0;
}

.accordion-header .badge {
    background: var(--secondary-color);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    font-size: 0.9rem;
}

.accordion-header .title {
    flex-grow: 1;
    font-weight: 600;
    color: var(--primary-color);
}

.accordion-header .icon {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
}

.accordion-content p {
    padding: 15px;
    color: var(--text-color);
    line-height: 1.6;
    border-top: 1px solid #eee;
}

/* Info Columns (Homepage) */
.info-columns {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.info-box {
    flex: 1;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .info-columns {
        flex-direction: column;
    }
}

/* Content Layout (Sidebar pages) */
.content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.sidebar-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
}