/* Basic Reset & Body Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Visual Enhancement: Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 50px; /* Adjust based on final sticky nav height */
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

/* == STICKY NAVIGATION BAR STYLES (Title Left, Menu Center, Actions Right) == */
.sticky-nav {
    background-image: linear-gradient(to right, #800020, #a02040);
    color: #fff;
    padding: 8px 15px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.sticky-nav-content {
    display: flex;
    justify-content: space-between; /* Keep space-between */
    align-items: center;
    width: 100%;
}

/* Title on Left */
.sticky-nav-title {
   display: block;
   font-weight: bold;
   font-size: 1.1em;
   white-space: nowrap;
   margin-right: auto; /* Push other items away */
   flex-shrink: 0; /* Don't let it shrink */
}

/* Centered Dropdown Container */
.sticky-nav-center {
    /* Takes up space between title and actions */
    /* flex-grow: 1; */ /* Removed flex-grow for potentially better centering */
    display: flex;
    justify-content: center; /* Center the dropdown within this space */
    padding: 0 15px; /* Add horizontal padding to prevent overlap */
}

/* Dropdown Container */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Button */
.dropdown-button {
    background-color: transparent;
    color: white;
    padding: 8px 12px;
    font-size: 0.9em;
    font-weight: bold;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}
.dropdown-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.dropdown-button .arrow {
    margin-left: 5px;
    font-size: 0.7em;
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    /* Position relative to center, adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    background-color: #800020;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
    z-index: 1;
    list-style: none;
    padding: 5px 0;
    margin: 0;
    border-radius: 0 0 4px 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.dropdown-content li a {
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 0.9em;
    white-space: nowrap;
}
.dropdown-content li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Show dropdown on hover */
.nav-dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    /* transform: translateY(0); - Removed Y transform */
}
.nav-dropdown:hover .dropdown-button .arrow {
     transform: rotate(180deg);
}

/* Actions on Right */
.sticky-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0; /* Don't let actions shrink */
    margin-left: auto; /* Push away from center */
}

.sticky-nav-button {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85em;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}
.sticky-nav-button:hover { opacity: 0.8; }
.sticky-nav-icon { height: 16px; width: auto; display: inline-block; vertical-align: middle; flex-shrink: 0; }
/* == END STICKY NAVIGATION BAR STYLES == */


/* === Header Styles (Resized) === */
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; border-bottom: 1px solid #eee; background-color: #fff; flex-wrap: wrap; gap: 20px; }
.logo-area { flex-shrink: 0; margin-bottom: 5px; }
.business-name { font-family: Georgia, Times, 'Times New Roman', serif; color: #800020; font-size: 2.2em; font-weight: normal; margin-bottom: 0; }
.tagline { font-family: Arial, Helvetica, sans-serif; color: #333; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.85em; margin-top: 2px; }
.header-info { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.service-rating { display: flex; align-items: center; gap: 8px; font-weight: bold; font-size: 0.85em; margin-bottom: 5px; }
.star-icon { width: 35px; height: auto; flex-shrink: 0; }
.button.book-button { font-family: Arial, Helvetica, sans-serif; border: 1.5px solid #333; border-radius: 25px; padding: 10px 18px; background-color: #fff; color: #333; text-transform: uppercase; font-weight: bold; font-size: 0.8em; white-space: nowrap; transition: background-color 0.3s ease, color 0.3s ease; margin-bottom: 5px; flex-shrink: 0; }
.button.book-button:hover { background-color: #f0f0f0; }
.phone-contact { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.phone-icon { width: 30px; height: auto; flex-shrink: 0; }
.phone-number { font-family: Georgia, Times, 'Times New Roman', serif; color: #007AFF; font-size: 1.1em; font-weight: bold; white-space: nowrap; }
/* === END Header Styles === */


/* Hero Section Styles (Width Constrained) */
.hero { max-width: 1100px; margin: 20px auto 0 auto; padding: 0 25px; }
.hero video { width: 100%; height: auto; display: block; border-radius: 8px; }

/* === Content Section Styles === */
.content-section { padding: 50px 25px; }
.content-section .container { max-width: 1100px; margin: 0 auto; }
.content-section h2.main-heading, .section-heading { font-family: Georgia, Times, 'Times New Roman', serif; font-size: 2.8em; margin-bottom: 30px; font-weight: normal; }
.text-center { text-align: center; }
.content-section h3.sub-heading { font-size: 1.1em; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; color: #ccc; }
.content-section p { margin-bottom: 1.2em; line-height: 1.7; }
.content-section ul.focus-list { list-style: none; padding-left: 0; margin-bottom: 1.2em; }
.content-section ul.focus-list li { margin-bottom: 0.8em; padding-left: 25px; position: relative; }
.content-section ul.focus-list li::before { content: '✔'; position: absolute; left: 0; color: #33BABD; font-weight: bold; }
.two-column { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.two-column .column { flex: 1; min-width: 300px; }
.two-column .image-column img { border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

/* Section 1: About Styles (Dark BG) */
.about-section { background-color: #2C3E50; color: #fff; }
.about-section h2.main-heading { color: #fff; }
.about-section h3.sub-heading { color: #bdc3c7; }
.about-section p, .about-section li { color: #ecf0f1; }
.about-section .focus-list li::before { color: #1ABC9C; }

/* Section 2: What We Repair Styles (Light BG) */
.repair-section { background-color: #f8f9fa; color: #333; }
.repair-section .section-heading { color: #333; }


/* === Footer Section Styles === */
.site-footer-section { background-image: linear-gradient(to right, #2E3192, #662D8C); color: #fff; padding-top: 50px; padding-bottom: 30px; }
.site-footer-section .section-heading { color: #fff; font-size: 2.5em; margin-bottom: 40px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
.review-item { background-color: rgba(255, 255, 255, 0.08); padding: 25px; border-radius: 8px; display: flex; flex-direction: column; text-align: center; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.review-item:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); }
.review-item blockquote { font-style: italic; margin-bottom: 15px; flex-grow: 1; font-size: 0.95em; line-height: 1.6; border: none; padding: 0; }
.review-item cite { font-weight: bold; margin-bottom: 10px; font-style: normal; display: block; }
.review-stars { color: #FFD700; font-size: 1.4em; margin: 0 auto; line-height: 1; }
.footer-divider { border: none; height: 1px; background-color: rgba(255, 255, 255, 0.2); margin: 40px 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; }
.footer-column { flex: 1; min-width: 220px; padding: 0 10px; }
.footer-contact h4 { margin-bottom: 15px; font-size: 1.1em; }
.footer-contact p { margin-bottom: 8px; font-size: 0.9em; }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact a:hover { opacity: 0.8; }
.footer-book-link { font-weight: bold; display: inline-block; margin-top: 10px; }
.footer-booking { text-align: center; margin-top: 30px; }
.footer-book-button { background-color: #fff; color: #333; border: none; padding: 12px 25px; display: inline-block; border-radius: 25px; transition: background-color 0.3s ease, color 0.3s ease; }
.footer-book-button:hover { background-color: #eee; }
.footer-social { text-align: right; }
.footer-social h4 { margin-bottom: 15px; font-size: 1.1em; }
.social-icons { display: flex; justify-content: flex-end; gap: 20px; }
.social-icons a img { height: 28px; width: auto; transition: opacity 0.2s ease; }
.social-icons a:hover img { opacity: 0.8; }


/* === Media Queries === */
/* Tablet & Smaller Desktop */
@media (max-width: 992px) {
    .sticky-nav { padding: 8px 15px; }
    .sticky-nav-title { font-size: 1em; }
    .dropdown-button { font-size: 0.85em; padding: 6px 10px; }
    .site-header { padding: 15px 15px; }
    .header-info { gap: 20px; }
    .business-name { font-size: 2em; }
    .hero { padding: 0 15px; }
    .content-section { padding: 40px 15px; }
    .content-section h2.main-heading, .section-heading { font-size: 2.5em; }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-column { min-width: 200px; padding: 0 5px; }
    .footer-booking { margin-top: 20px; }
}

/* Mobile */
@media (max-width: 768px) {
    .hero { padding: 0 10px; margin-top: 15px; }
    .two-column { gap: 30px; }
    .repair-section .section-heading { font-size: 2.2em; margin-bottom: 25px; }
    .repair-section .image-column img { margin-bottom: 20px; }
    .site-header { flex-direction: column; align-items: flex-start; padding: 15px 15px; gap: 15px; }
    .logo-area { margin-bottom: 0; }
    .business-name { font-size: 1.8em; }
    .tagline { font-size: 0.8em; }
    .header-info { width: 100%; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 0; }
    .service-rating { margin-bottom: 0; gap: 5px; font-size: 0.75em; }
    .service-rating span { display: none; }
    .star-icon { width: 30px; }
    .button.book-button { margin-bottom: 0; padding: 6px 10px; font-size: 0.7em; min-width: auto; }
    .phone-contact { margin-bottom: 0; gap: 5px; }
    .phone-icon { display: inline-block !important; width: 24px !important; height: auto; }
    .phone-number { font-size: 0.9em; }
    .content-section { padding: 30px 15px; }
    .content-section h2.main-heading, .section-heading { font-size: 2.2em; }
    /* Footer Responsive */
    .site-footer-section .section-heading { font-size: 2.2em; }
    .reviews-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
    .footer-column { padding: 0; min-width: 100%; }
    .footer-booking { margin-top: 0; }
    .footer-social { text-align: center; }
    .social-icons { justify-content: center; }

    /* Adjust sticky nav for mobile: Hide center dropdown, keep title/actions */
    .sticky-nav-center { display: none; } /* Hide dropdown area */
    .sticky-nav-title { display: block; font-size: 0.9em;} /* Ensure title is visible */
    .sticky-nav-content { justify-content: space-between; } /* Title left, Actions right */
}

/* Mobile Sticky Nav (Further adjustments if needed below 600px) */
@media (max-width: 600px) {
    body { padding-top: 45px; } /* Re-evaluate */
    .sticky-nav { padding: 6px 10px; }
    .sticky-nav-title { font-size: 0.9em; }
    .sticky-nav-actions { gap: 8px; }
    .sticky-nav-button { font-size: 0.75em; }
    .sticky-nav-icon { height: 15px; }
}

/* Very Small Screens */
@media (max-width: 400px) {
    .header-info { gap: 5px; }
    .button.book-button { padding: 5px 8px; font-size: 0.65em; }
    .phone-number { font-size: 0.85em; }
    .service-rating { font-size: 0.7em;}
    .star-icon { width: 28px; }
    .phone-icon { width: 22px !important; }
    .business-name { font-size: 1.6em; text-align: center; width: 100%; }
    .tagline { font-size: 0.75em; text-align: center; width: 100%; }
    .hero { margin-top: 15px; padding: 0 5px; }
    .content-section h2.main-heading, .section-heading { font-size: 2em; }
    /* Sticky Nav */
     .sticky-nav-title { font-size: 0.8em; }
     .sticky-nav-button.call-button span { /* display: none; */ }
     .sticky-nav-actions { gap: 5px; }
    /* Footer Responsive */
    .site-footer-section .section-heading { font-size: 2em; }
    .review-item { padding: 20px; }
    .footer-contact p { font-size: 0.85em; }
    .footer-book-button { padding: 10px 20px; font-size: 0.8em; }
    .social-icons a img { height: 25px; }
    .review-stars { font-size: 1.3em; }
}