:root {
    --primary-color: #2f4f4f;
    --accent-color: #8a9a5b;
    --light-accent: #d0d9c1;
    --text-color: #333;
    --light-text: #f8f9fa;
    --bg-color: #f8f9fa;
    --section-bg: #ecf0f1;
    --border-color: #dcdcdc;
}

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

body {
    font-family: "Georgia", serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    background-color: rgba(47, 79, 79, 0.9);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-logo {
    color: white;
    font-family: "Garamond", serif;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-family: "Garamond", serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--light-accent);
}

.hamburger {
    display: none;
    cursor: pointer;
    color: white;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('assets/gallery/loch.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-family: "Garamond", serif;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    font-family: "Garamond", serif;
    font-style: italic;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-family: "Garamond", serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-family: "Garamond", serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* About Balquhidder */
.about-balquhidder {
    background-color: var(--section-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: justify;
}

/* Gallery Styles are in Gallery.css */

/* B&B Features */
.cragmhor-info {
    background-color: var(--section-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cragmhor-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cragmhor-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: "Garamond", serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Amenities */
.amenities-container {
    max-width: 900px;
    margin: 0 auto;
}

.amenities-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.amenity-item {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.amenity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.amenity-item i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Contact */
.contact {
    background-color: var(--section-bg);
    border-top: 1px solid var(--border-color);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.contact-method {
    margin: 0 30px;
    text-align: center;
}

.contact-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.contact-method p {
    font-family: "Garamond", serif;
}

.form-button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 32px;
    text-align: center;
    font-size: 16px;
    margin: 10px 2px;
    cursor: pointer;
    border-radius: 30px;
    border: none;
    transition: all 0.3s ease;
}

.form-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: none;
    margin-top: 30px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 50px 0 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    padding: 0 20px;
}

.footer-section h3 {
    font-family: "Garamond", serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    z-index: 999;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .features-grid,
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        background-color: var(--primary-color);
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transition: all 0.4s ease;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .gallery-container {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 250px;
    }

    .features-grid,
    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        flex-direction: column;
    }

    .contact-method {
        margin: 15px 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }
}
