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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--background-color, #fff);
}

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

/* Navigation */
.navbar {
    background-color: var(--primary-color, #2c5f2d);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-brand .brand-name {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 0.8;
    text-decoration: underline;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-image-wrapper {
    width: 100%;
    display: block;
    line-height: 0;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    min-height: 400px;
    max-height: 700px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hours-brief {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Buttons */
.cta-button,
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.cta-button,
.btn-primary {
    background-color: var(--accent-color, #ff6b35);
    color: white;
}

.cta-button:hover,
.btn-primary:hover {
    background-color: var(--button-hover-colour, #e55a2b);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color, #97bc62);
    color: white;
}

.btn-secondary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Page Header */
.page-header {
    background-color: var(--background-secondary-color, #f5f5f5);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--primary-color, #2c5f2d);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

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

.text-center {
    text-align: center;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color, #2c5f2d);
    margin-bottom: 2rem;
    text-align: center;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: var(--primary-color, #2c5f2d);
    margin-bottom: 1rem;
}

.service-description {
    color: #666;
    margin-bottom: 1rem;
}

.service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.price {
    color: var(--accent-color, #ff6b35);
    font-weight: bold;
    font-size: 1.2rem;
}

.duration {
    color: #666;
}

/* Service Detail Cards (services.html) */
.service-detail-card {
    background: white;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.service-card-layout {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    grid-template-rows: auto 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    min-height: 180px;
}

.service-image-container {
    grid-row: 1 / 3;
    width: 200px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color, #2c5f2d), var(--secondary-color, #97bc62));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.05) 10px,
        rgba(255, 255, 255, 0.1) 10px,
        rgba(255, 255, 255, 0.1) 20px
    );
    pointer-events: none;
}

.service-image-container img.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.service-content-area {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-title {
    margin: 0 0 1rem 0;
    color: var(--primary-color, #2c5f2d);
    font-size: 1.5rem;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.service-price-area {
    grid-column: 3;
    grid-row: 2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 0.5rem;
}

.service-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color, #2c5f2d);
    white-space: nowrap;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
    .service-card-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 1rem;
    }

    .service-image-container {
        grid-row: 1;
        grid-column: 1;
        width: 100%;
        height: 200px;
    }

    .service-content-area {
        grid-row: 2;
        grid-column: 1;
    }

    .service-price-area {
        grid-row: 3;
        grid-column: 1;
        justify-content: flex-start;
        align-items: flex-start;
        padding-bottom: 0;
    }
}

/* Hours */
.hours-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hours-list,
.hours-list-compact {
    margin-bottom: 1.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.hours-row:last-child {
    border-bottom: none;
}

.day {
    font-weight: bold;
    color: var(--primary-color, #2c5f2d);
}

.time {
    color: #666;
}

.hours-notes {
    background-color: var(--background-secondary-color, #f5f5f5);
    padding: 1rem;
    border-radius: 5px;
    color: #666;
}

/* Booking */
.booking-info,
.booking-cta {
    background-color: var(--background-secondary-color, #f5f5f5);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.booking-methods,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.method,
.contact-item {
    text-align: center;
}

.method h3,
.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Contact */
.contact-grid-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-method {
    margin-bottom: 2rem;
}

.contact-method h3 {
    color: var(--primary-color, #2c5f2d);
    margin-bottom: 0.5rem;
}

.method-note {
    color: #999;
    font-size: 0.9rem;
}

.hours-quick-ref {
    background-color: var(--background-secondary-color, #f5f5f5);
    padding: 2rem;
    border-radius: 10px;
}

.hours-quick-ref h2 {
    margin-bottom: 1rem;
}

.hours-note {
    margin-top: 1rem;
    color: #666;
    font-style: italic;
}

/* Map */
.map-container {
    margin-top: 1rem;
}

.map-placeholder {
    display: block;
    background-color: var(--background-secondary-color, #f5f5f5);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    color: var(--primary-color, #2c5f2d);
    transition: all 0.3s;
}

.map-placeholder:hover {
    background-color: #e0e0e0;
}

.address-display {
    margin-top: 0.5rem;
    color: #666;
}

/* Social Links */
.social-links-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    color: var(--primary-color, #2c5f2d);
    transition: transform 0.3s;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.social-icon {
    font-size: 3rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color, #2c5f2d), var(--secondary-color, #97bc62));
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.contact-alternative {
    margin-top: 1rem;
    color: white;
}

.contact-alternative a {
    color: white;
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--primary-color, #2c5f2d);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
}

/* Welcome Section */
.welcome {
    background-color: var(--background-secondary-color, #f5f5f5);
}

.welcome .description {
    font-size: 1.2rem;
    text-align: center;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Quick Contact */
.quick-contact {
    background-color: var(--background-secondary-color, #f5f5f5);
}

/* Gallery Section */
.gallery-section {
    background-color: white;
}

.gallery-section .section-description {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-brand .logo {
        height: 40px;
    }

    .nav-brand .brand-name {
        font-size: 1.2rem;
    }

    /* Show hamburger menu on mobile */
    .hamburger {
        display: flex;
    }

    /* Mobile navigation menu */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        background-color: var(--primary-color, #2c5f2d);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
        padding: 1rem 0;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

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

    .nav-menu a {
        font-size: 1rem;
        width: 100%;
        display: block;
    }

    /* Hero responsive */
    .hero-image {
        min-height: 300px;
        max-height: 500px;
    }

    .hero-overlay {
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .hours-brief {
        font-size: 1rem;
    }

    .services-grid,
    .contact-grid-large {
        grid-template-columns: 1fr;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-pricing {
        text-align: left;
        margin-top: 0.5rem;
    }
}
