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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    color: #2c3e50;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-weight: 300;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(40, 167, 69, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 80px;
    width: auto;
}

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

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #28a745;
}

/* Hero-Booking Section */
.hero-booking {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    position: relative;
    padding-top: 120px;
    overflow: hidden;
}

/* Hero Background Image */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(40, 167, 69, 0.1) 0%, 
        rgba(108, 192, 124, 0.15) 50%, 
        rgba(76, 175, 92, 0.2) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="glow" cx="50%" cy="30%"><stop offset="0%" style="stop-color:%236cc07c;stop-opacity:0.3" /><stop offset="100%" style="stop-color:%2328a745;stop-opacity:0.1" /></radialGradient></defs><circle cx="200" cy="300" r="150" fill="url(%23glow)" /><circle cx="600" cy="200" r="100" fill="url(%23glow)" opacity="0.7" /><circle cx="400" cy="600" r="200" fill="url(%23glow)" opacity="0.5" /><circle cx="800" cy="500" r="120" fill="url(%23glow)" opacity="0.6" /></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: 1;
}

.hero-booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    min-height: calc(100vh - 120px);
    position: relative;
    z-index: 2;
}

/* Hero Content */
.hero-content {
    padding: 0;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 60vh;
    padding-left: 3rem; /* Add padding to align with calendar center */
    margin-top: 9rem; /* Add top margin to align with calendar month bar */
}

.hero-title {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 3.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #2c3e50;
    font-weight: 500;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: #28a745;
    flex-shrink: 0;
}

/* Booking Calendar - Updated with better spacing */
.booking-calendar {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 3;
    margin-top: 6rem; /* Added significant top spacing */
}

/* Compact Calendar Styles with reduced height */
.booking-calendar.compact {
    padding: 1.2rem;
    max-width: 380px;
    margin-top: 8rem; /* Even more top spacing for compact */
}

.booking-calendar.spaced {
    margin-top: 10rem; /* Extra spacing class */
}

.booking-calendar.compact .calendar-header h2 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.booking-calendar.compact .calendar-navigation {
    padding: 0.6rem 1rem;
    margin-bottom: 0.6rem;
}

.booking-calendar.compact .calendar-navigation .month-year {
    font-size: 0.95rem;
}

.booking-calendar.compact .calendar-navigation .nav-btn svg {
    width: 14px;
    height: 14px;
}

.booking-calendar.compact .day-header {
    padding: 0.4rem 0.2rem;
    font-size: 0.75rem;
}

.booking-calendar.compact .calendar-day {
    font-size: 0.85rem;
    min-height: 32px; /* Reduced height */
}

.booking-calendar.compact.compact-grid .calendar-day {
    min-height: 28px; /* Even more compact */
}

.booking-calendar.compact .time-slots-container {
    max-height: 120px; /* Reduced height */
}

.booking-calendar.compact .time-slot {
    padding: 0.6rem;
    font-size: 0.85rem;
}

.calendar-header h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

/* Calendar Navigation */
.calendar-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    background: #28a745;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
}

.nav-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-btn svg {
    width: 20px;
    height: 20px;
}

.month-year {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Calendar Grid - Compact */
.calendar-grid {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.calendar-grid.compact-grid {
    margin-bottom: 0.8rem;
}

.calendar-header-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f5f5f5;
}

.day-header {
    padding: 1rem 0.5rem;
    text-align: center;
    font-weight: 600;
    color: #666;
    border-right: 1px solid #e0e0e0;
    font-size: 0.9rem;
}

.day-header:last-child {
    border-right: none;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.calendar-day:nth-child(7n) {
    border-right: none;
}

.calendar-day:hover:not(.disabled):not(.other-month) {
    background: #f0f8ff;
}

.calendar-day.selected {
    background: #28a745;
    color: white;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.other-month {
    color: #ccc;
}

.calendar-day.booked::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #dc3545;
    border-radius: 50%;
}

/* Time Slots */
.time-slots-container {
    max-height: 200px;
    overflow-y: auto;
}

.time-slots {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.no-date-selected {
    text-align: center;
    color: #666;
    padding: 2rem;
    font-style: italic;
}

.time-slot {
    background: #28a745;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.time-slot:hover {
    background: #1e7e34;
    transform: translateY(-2px);
}

.time-slot .time {
    font-weight: 600;
    font-size: 1.1rem;
}

.time-slot .availability {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Booking Modal */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.booking-modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
    color: #28a745;
    margin: 0;
    font-size: 1.3rem;
}

.close-modal {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #666;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.close-modal:hover {
    background: #f0f0f0;
}

.close-modal svg {
    width: 20px;
    height: 20px;
}

.modal-body p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Booking Summary */
.booking-summary {
    background: #28a745;
    color: white;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.booking-summary svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.booking-details strong {
    display: block;
    font-size: 1.1rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 1.5rem;
}

.form-section label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.required {
    color: #dc3545;
}

.name-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.form-section input,
.form-section select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9e9e9;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    margin-bottom: 0.5rem;
}

.form-section input:focus,
.form-section select:focus {
    outline: none;
    border-color: #28a745;
}

.mobile-address.hidden {
    display: none;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.request-btn {
    flex: 1;
    background: #28a745;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.request-btn:hover {
    background: #1e7e34;
    transform: translateY(-2px);
}

.cancel-btn {
    flex: 1;
    background: #6c757d;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.cancel-btn:hover {
    background: #5a6268;
}

/* Success Message */
.booking-success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 2001;
    border: 3px solid #28a745;
}

.booking-success.hidden {
    display: none;
}

.success-icon {
    width: 60px;
    height: 60px;
    color: #28a745;
    margin: 0 auto 1rem;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.success-content h3 {
    color: #155724;
    margin-bottom: 1rem;
}

.success-content p {
    color: #28a745;
    font-weight: 400;
}

/* Buttons */
.cta-button {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    font-family: 'Montserrat', sans-serif;
    margin-top: 1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #28a745, #1e7e34);
    border-radius: 2px;
}

/* Services Section - New Pricing Layout */
.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.services-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* New Pricing Grid Layout */
.pricing-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: #28a745;
}

.service-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: 0;
}

.service-card .service-header, 
.service-card .service-desc {
    position: relative;
    z-index: 1;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.service-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.service-price {
    font-weight: 700;
    color: #28a745;
    font-size: 1.3rem;
    text-align: right;
    min-width: 80px;
}

.service-desc {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    flex-grow: 1;
}

/* About Section */
.about-section {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 600;
}

/* Reviews Section */
.reviews-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.reviews-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-btn {
    background: #28a745;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.slider-btn:hover {
    background: #1e7e34;
    transform: scale(1.1);
}

.slider-btn svg {
    width: 20px;
    height: 20px;
}

.reviews-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.review-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
    position: relative;
}

.review-card:not(.active) {
    display: none;
}

.review-card.active {
    display: block;
}

.review-card:hover {
    transform: translateY(-5px);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.star-icon {
    width: 1.2rem;
    height: 1.2rem;
    color: #ffc107;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
}

.reviewer {
    font-weight: 600;
    color: #28a745;
}

/* Footer */
.footer {
    background: #2c3e50;
    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 {
    color: #28a745;
    margin-bottom: 1rem;
}

.footer-section p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

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

.social-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link:hover {
    color: #28a745;
}

.social-icon {
    width: 1rem;
    height: 1rem;
}

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

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.fade-up:nth-child(2) { animation-delay: 0.1s; }
.fade-up:nth-child(3) { animation-delay: 0.2s; }
.fade-up:nth-child(4) { animation-delay: 0.3s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-booking {
        padding-top: 80px;
    }
    
    .hero-booking-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
    }
    
    .hero-background {
        width: 100%;
        height: 50%;
    }
    
    .hero-content {
        text-align: center;
        padding: 1rem 0;
        padding-left: 0; /* Reset left padding on mobile for centered alignment */
        margin-top: 0; /* Reset top margin on mobile */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .booking-calendar {
        max-width: none;
        margin: 2rem auto 0;
    }
    
    .booking-calendar.compact {
        max-width: none;
        margin-top: 3rem;
    }
    
    .booking-calendar.spaced {
        margin-top: 4rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
/* Mobile Pricing Grid */
.pricing-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.service-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
}

.service-desc {
    text-align: center;
}
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cta-button {
        width: 100%;
        padding: 1.2rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .name-fields {
        grid-template-columns: 1fr;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .booking-calendar {
        padding: 1.5rem;
    }
    
    .booking-calendar.compact {
        padding: 1rem;
    }
    
    .review-card {
        padding: 2rem 1.5rem;
    }
    
    .image-placeholder {
        width: 250px;
        height: 300px;
    }
    
    .calendar-day {
        font-size: 0.9rem;
    }
    
    .day-header {
        padding: 0.75rem 0.25rem;
        font-size: 0.8rem;
    }
    
    .pricing-row {
        padding: 1rem;
    }
    
    .service-name {
        font-size: 1rem;
    }
    
    .service-price {
        font-size: 1.1rem;
    }
}

/* Form Validation Styles */
.form-section input.error,
.form-section select.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.2) !important;
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    display: block;
}
