/* --- Global Styles & Variables --- */
:root {
    --gold-color: #FFD700;
    --dark-bg: #121212;
    --panel-bg: #1A1A1A;
    --text-light: #EAEAEA;
    --text-medium: #A0A0A0;
    --header-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
}

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

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

/* --- Background & Overlay --- */
#background-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

#background-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

#background-slideshow img.active {
    opacity: 1;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(18, 18, 18, 0.5) 0%, rgba(18, 18, 18, 0.85) 100%);
    z-index: -1;
}

/* --- General Layout & Typography --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

h2, .logo, .card h3, #hero h2 {
    font-family: var(--header-font);
    font-weight: 700;
    color: var(--gold-color);
}

h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3.5rem;
}

/* --- Header --- */
header {
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(5px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    text-decoration: none;
}

.logo-link {
    text-decoration: none; /* Remove underline from new logo link */
}

.contact-link {
    display: none; /* Hidden on mobile */
}

nav {
    display: none; /* Hidden by default on mobile */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--panel-bg);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

header.nav-active nav {
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--gold-color);
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger:focus {
    outline: none;
}

.hamburger-line {
    width: 2rem;
    height: 0.25rem;
    background: var(--gold-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

header.nav-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
}

header.nav-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

header.nav-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
}


/* --- Sections --- */
section {
    padding: 8rem 0 4rem 0;
}

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#hero h2 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    color: var(--text-light);
}

/* --- UI Elements (Buttons, Cards, Forms) --- */
.btn {
    background-color: var(--gold-color);
    color: var(--dark-bg);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--body-font);
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid var(--gold-color);
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: var(--gold-color);
    transform: translateY(-3px);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--panel-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.7);
}

.card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card p {
    font-size: 1rem;
    color: var(--text-medium);
}

#about p {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

#contact p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

#contact-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

#contact-form input, #contact-form textarea {
    background-color: var(--panel-bg);
    border: 1px solid #333;
    color: var(--text-light);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--body-font);
    transition: border-color 0.3s ease;
}

#contact-form input::placeholder, #contact-form textarea::placeholder {
    color: var(--text-medium);
}

#contact-form input:focus, #contact-form textarea:focus {
    outline: none;
    border-color: var(--gold-color);
}

#contact-form button {
    width: 100%;
    margin-top: 1rem;
}

.privacy-notice {
    font-size: 0.8rem;
    color: var(--text-medium);
    text-align: center;
    margin-top: 1rem;
}

/* --- Testimonials Section --- */
#testimonials {
    background-color: var(--dark-bg);
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--panel-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border-top: 4px solid var(--gold-color);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--gold-color);
    text-align: right;
    font-size: 1rem;
}

/* --- Latest Comments Section --- */
#latest-comments {
    padding: 8rem 0 4rem 0;
}

#latest-comments h2 {
    margin-bottom: 3.5rem;
}

.comment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.comment-card {
    background-color: var(--panel-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.comment-card .comment-text {
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.star-rating {
    color: var(--gold-color);
    font-size: 1.5rem;
    margin-top: 1rem;
}

.star-rating .star {
    margin: 0 2px;
}

/* --- Gallery & Footer --- */
#gallery .gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

#gallery .gallery-images img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease-in-out;
}

#gallery .gallery-images img:hover {
    transform: scale(1.05);
    border-color: var(--gold-color);
}

footer {
    background-color: var(--panel-bg);
    text-align: center;
    padding: 3rem 0;
    margin-top: 6rem;
    font-size: 0.9rem;
    color: var(--text-medium);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

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

footer a:hover {
    text-decoration: underline;
}

#visitor-counter {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-medium);
}

#visitor-counter .count {
    font-weight: 600;
    color: var(--gold-color);
    font-size: 1.1rem;
}

/* --- Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--panel-bg);
    margin: 15% auto;
    padding: 30px;
    border: 1px solid var(--gold-color);
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.close-button {
    color: var(--text-medium);
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: var(--gold-color);
    text-decoration: none;
    cursor: pointer;
}

#modal-message {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }

    .contact-link {
        font-size: 1rem;
    }

    header .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem; /* Add spacing between header items */
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    section {
        padding: 6rem 0 2rem 0;
    }

    #hero {
        padding-top: 12rem; /* Adjust for taller header */
    }

    #hero h2 {
        font-size: 2.8rem; /* Reduce hero title size */
    }

    #hero p {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 2.2rem; /* Reduce general section title size */
        margin-bottom: 2.5rem;
    }

    .card {
        padding: 2rem;
    }

    #map {
        height: 350px; /* Reduce map height on mobile */
    }
}

/* --- Accessibility Class --- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --- Service Area Map --- */
#service-area {
    padding-bottom: 6rem;
}

#map {
    height: 450px;
    width: 100%;
    border-radius: 8px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}