/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Brand tokens */
:root {
    --brand-primary: #FFCC66;
    --brand-primary-dark: #FFC14D;
    --brand-ink: #111111;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--brand-primary);
    color: var(--brand-ink);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 204, 102, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--brand-ink);
    border: 2px solid var(--brand-primary);
}

.btn-secondary:hover {
    background: var(--brand-primary);
    color: var(--brand-ink);
}

.btn-full {
    width: 100%;
}

/* Hero CTA pills (call/text) */
.cta-buttons {
    flex-wrap: wrap;
}

.cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: transform .15s ease, box-shadow .15s ease;
}

.cta-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.cta-icon { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
}

.cta-label { white-space: nowrap; }

.cta-call { background: #000000; }
.cta-textmsg { background: var(--brand-primary); color: var(--brand-ink); }

@media (max-width: 768px) {
    .cta-pill { 
        width: 100%; 
        justify-content: center; 
        font-size: 1rem; 
        padding: 12px 18px; 
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--brand-primary);
}

.nav-cta {
    background: var(--brand-primary);
    color: var(--brand-ink) !important;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.cta-heading {
    font-size: 2.6rem;
    font-weight: 800;
    color: #1e4963;
    margin-bottom: 1rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #475569;
    font-weight: 500;
}

.feature-icon {
    font-size: 1.5rem;
}

.hero-image {
    /* center the image/carousel inside its grid column and prevent it from stretching
       the layout. keeps image visually balanced next to the copy. */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    display: block;
    width: 100%;
    /* limit the image width on larger screens so it doesn't dominate the layout */
    /* increased ~20% to reveal more of the image */
    max-width: 624px; /* 520 * 1.2 */
    height: auto;
    /* prevent extremely tall images from forcing a large hero area; show more top/bottom */
    max-height: 92vh;
    object-fit: cover;
    object-position: center;
    /* give a consistent shape (keeps it more square/landscape depending on source)
       browsers that support aspect-ratio will use it; others will fallback to max-width/max-height */
    aspect-ratio: 4 / 3;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Carousel-specific styles: stack slides and fade between them */
.hero-carousel {
    position: relative;
    width: 100%;
    display: block;
}

.hero-carousel .carousel-slide {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    /* increased ~20% to reveal more of the slide */
    max-width: 624px; /* 520 * 1.2 */
    height: auto;
    max-height: 92vh;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
    pointer-events: none;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-carousel .carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Carousel controls (prev/next) */
.carousel-control {
    position: absolute;
    bottom: 16px;
    z-index: 30;
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    padding: 8px 12px;
    font-size: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.15s ease;
}

.carousel-control:hover {
    background: rgba(0,0,0,0.6);
}

.carousel-prev {
    left: 12px;
}

.carousel-next {
    right: 12px;
}

@media (max-width: 480px) {
    .carousel-control {
        padding: 6px 10px;
        font-size: 18px;
        bottom: 12px;
    }
}

@media (max-width: 1024px) {
    .hero-carousel .carousel-slide {
        /* increase medium breakpoint size ~20% */
    max-width: 504px; /* 420 * 1.2 */
    max-height: 80vh;
    }
}

@media (max-width: 768px) {
    /* Reduce hero spacing on mobile */
    .hero {
        padding: 108px 0 28px;
        min-height: auto; /* remove forced full viewport height */
    }

    /* Tighten spacing between content and carousel */
    .hero-container {
        gap: 1rem;
    }

    /* Make carousel a fixed-ratio box and slides fill it */
    .hero-carousel {
        position: relative;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }
    .hero-carousel .carousel-slide {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        transform: none;
        left: auto;
        top: auto;
    }
    /* Keep controls overlaying the image */
    .carousel-control { 
        z-index: 30;
        bottom: 10px;
    }
}

/* Responsive adjustments: reduce the max-width on medium and small screens */
@media (max-width: 1024px) {
    .hero-img {
        /* increase medium breakpoint size ~20% */
    max-width: 504px; /* 420 * 1.2 */
    aspect-ratio: 4 / 3;
    max-height: 80vh;
    }
}

@media (max-width: 768px) {
    .hero-img {
        /* in the single-column mobile layout allow the image to fill more width
           but keep extra breathing room via max-width */
        max-width: 95%;
        aspect-ratio: 16 / 9;
        max-height: none;
    }
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Small chips row under header */
.section-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.25rem 0 2rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.85rem;
    color: #0f172a;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

/* Subtle accent bar */
.service-card[data-accent]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 12px 12px 0 0;
    background: var(--accent-color, #e5e7eb);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-card.emergency {
    border: 2px solid #EF4444;
    background: linear-gradient(135deg, #FEF2F2, #FECACA);
}

/* Service icon + CTA */
.service-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 1rem;
    color: var(--accent-ink, #1f2937);
    background: var(--accent-bg, #eef2ff);
}

.service-title {
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-description {
    color: #64748b;
    line-height: 1.6;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    color: var(--accent-color, var(--brand-primary));
    text-decoration: none;
    font-weight: 600;
}

.service-cta .arrow { transition: transform 0.2s ease; }
.service-cta:hover .arrow { transform: translateX(4px); }

/* Accent palettes */
.service-card[data-accent="blue"]    { --accent-color: #3B82F6; --accent-bg: rgba(59,130,246,.12);  --accent-ink:#1E3A8A; }
.service-card[data-accent="indigo"]  { --accent-color: #6366F1; --accent-bg: rgba(99,102,241,.12);  --accent-ink:#3730A3; }
.service-card[data-accent="amber"]   { --accent-color: #F59E0B; --accent-bg: rgba(245,158,11,.14);  --accent-ink:#92400E; }
.service-card[data-accent="rose"]    { --accent-color: #F43F5E; --accent-bg: rgba(244,63,94,.12);   --accent-ink:#9F1239; }
.service-card[data-accent="emerald"] { --accent-color: #10B981; --accent-bg: rgba(16,185,129,.12);  --accent-ink:#065F46; }
.service-card[data-accent="red"]     { --accent-color: #EF4444; --accent-bg: rgba(239,68,68,.12);   --accent-ink:#991B1B; }

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #EF4444;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.special-services {
    margin-top: 3rem;
}

.special-service {
    background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #10B981;
    text-align: center;
}

/* Special icon removed - clean minimalist design */

.special-content h3 {
    color: #065F46;
    margin-bottom: 0.5rem;
}

.special-content p {
    color: #047857;
    margin: 0;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    gap: 1rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    color: #475569;
}

.feature-check {
    color: #10B981;
    font-size: 1.2rem;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Booking Section */
.booking {
    padding: 80px 0;
    background: #fff;
}

.booking-container {
    max-width: 600px;
    margin: 0 auto;
}

.booking-form {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(255, 204, 102, 0.25);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-bottom: 0 !important;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #3B82F6;
    border-color: #3B82F6;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #1e293b;
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact .section-title {
    color: white;
}

.contact-description {
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #cbd5e1;
    margin: 0;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: var(--brand-primary);
    background: rgba(255, 255, 255, 0.15);
}

/* Contact Banner */
.contact-banner {
    padding: 68px 0;
    background: linear-gradient(135deg, var(--brand-ink), var(--brand-primary));
    color: #ffffff;
}

.contact-banner .container { max-width: 1200px; }

.contact-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.banner-title {
    font-size: 2.4rem;
    font-weight: 800;
}

.banner-subtitle {
    color: rgba(255,255,255,0.85);
    margin: 0.5rem 0 0;
}

.contact-banner .cta-buttons { display: flex; gap: 1rem; }

.banner-pill { background: #ffffff; color: var(--brand-ink); }
.banner-pill .cta-icon { color: var(--brand-ink); }
.banner-pill .cta-label { color: var(--brand-ink); }

.banner-pill:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.18); }

@media (max-width: 768px) {
    .contact-banner-content { flex-direction: column; text-align: center; }
}

/* Footer */
.footer {
    background: white;
    color: #333;
    padding: 3rem 0 1rem;
    border-top: 1px solid #e5e7eb;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    color: #64748b;
    line-height: 1.6;
}

.footer-section h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--brand-primary);
}

.footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #64748b;
    margin: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: #000000;
    color: var(--brand-primary);
    padding: 2rem;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-body p {
    margin-bottom: 1rem;
    color: #64748b;
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.close:hover {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .cta-heading {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-features {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .special-service {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .booking-form {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    /* Extra breathing room for very small screens under fixed header */
    .hero { padding-top: 120px; }
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .booking-form {
        padding: 1.5rem;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

/* Loading Animation */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--brand-primary);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .booking,
    .contact {
        display: none;
    }
    
    .hero,
    .services,
    .about {
        page-break-inside: avoid;
    }
} 