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

html {
    scroll-behavior: smooth;
}

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: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    color: white;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #a855f7;
    border: 2px solid #a855f7;
}

.btn-secondary:hover {
    background: #a855f7;
    color: white;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    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);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h2 {
    color: #a855f7;
    font-size: 1.5rem;
    margin: 0;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #a855f7;
}

.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, #fdf4ff, #f3e8ff);
    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: 3.5rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
}

.feature-item i {
    color: #a855f7;
    font-size: 1.1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #a855f7, #9333ea);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.3);
}

.hero-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-placeholder p {
    font-size: 1.25rem;
    color: white;
    margin: 0;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #fff;
}

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

.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f3f4f6;
    position: relative;
}

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

.service-card.featured {
    border: 2px solid #a855f7;
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #a855f7;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #a855f7, #9333ea);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: "🐾";
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

.service-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #a855f7;
    text-align: center;
    padding: 1rem;
    background: #fdf4ff;
    border-radius: 8px;
    border: 1px solid #e9d5ff;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: #f9fafb;
}

.pricing .section-header p {
    max-width: 720px;
}

.pricing-content {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.pricing-content h3 {
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.responsive-table table {
    width: 100%;
    border-collapse: collapse;
}

.responsive-table thead th {
    padding: .75rem;
    border-bottom: 2px solid #e5e7eb;
    color: #374151;
    font-weight: 600;
    background: #f9fafb;
}

.responsive-table tbody td {
    padding: .75rem;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}

.responsive-table tr:hover td {
    background: #faf5ff;
}

@media (max-width: 640px) {
    .responsive-table thead {
        display: none;
    }
    .responsive-table table,
    .responsive-table tbody,
    .responsive-table tr,
    .responsive-table td {
        display: block;
        width: 100%;
    }
    .responsive-table tr {
        margin-bottom: 1rem;
        border: 1px solid #f3f4f6;
        border-radius: 12px;
        overflow: hidden;
    }
    .responsive-table td {
        border-bottom: 1px solid #f3f4f6;
    }
    .responsive-table td:last-child {
        border-bottom: 0;
    }
    .responsive-table td::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: #374151;
        margin-bottom: .25rem;
    }
}

/* Improve focus visibility on dark backgrounds */
.footer a:focus,
.social-links a:focus {
    outline: 2px solid #a855f7;
    outline-offset: 2px;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f9fafb;
}

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

.about-intro {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: #fdf4ff;
    border-radius: 12px;
    border: 2px solid #e9d5ff;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #a855f7;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-weight: 500;
}

.about-features {
    display: grid;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature i {
    font-size: 1.5rem;
    color: #a855f7;
    margin-top: 0.25rem;
}

.feature h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #6b7280;
    margin: 0;
}

.about-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #a855f7, #9333ea);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    margin-top: 20%;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.3);
}

.about-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.about-placeholder p {
    font-size: 1.25rem;
    color: white;
    margin: 0;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: #fff;
}

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

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #a855f7, #9333ea);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    object-position: top; /* <-- This is the key part */
    color: white;
    
}

.gallery-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gallery-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top; /* <-- This is the key part */
    border-radius: 12px; /* optional if you're using rounded corners */
}

.gallery-placeholder p {
    font-size: 1.1rem;
    color: white;
    margin: 0;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: #e5e7eb;
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #f9fafb;
}

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

.testimonial {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #a855f7;
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.stars i {
    margin-right: 0.25rem;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #4b5563;
}

.testimonial-author strong {
    color: #1f2937;
    display: block;
}

.testimonial-author span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f9fafb;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #a855f7;
    margin-top: 0.25rem;
}

.contact-item h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #6b7280;
    margin: 0;
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.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;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a855f7;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

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

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

.footer-section p {
    color: #9ca3af;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #a855f7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #a855f7;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

.footer-bottom a {
    color: #a855f7;
    text-decoration: none;
}

/* Mobile Responsive */
@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;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

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

    .service-card.featured {
        transform: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .service-card,
    .testimonial,
    .contact-form,
    .pricing-content {
        padding: 1.5rem;
    }

    .hero-placeholder,
    .about-placeholder {
        height: 250px;
    }

    .gallery-placeholder {
        height: 200px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.testimonial,
.gallery-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #a855f7;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #fff;
    }
    
    .service-card {
        border: 2px solid #000;
    }
}
/* Calculator UI — tidy, card-like, responsive */
#booking #calculator-root {
  display: grid;
  gap: 1rem;
}

/* Inputs and selects */
#calculator-root select,
#calculator-root input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}

#calculator-root select:focus,
#calculator-root input[type="number"]:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
  outline: none;
}

/* Label polish */
#calculator-root .form-group > label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: .35rem;
}

/* Add-ons list container becomes a neat grid */
#addons-wrap > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

/* Each add-on = small card row with checkbox | label | control (qty/select) */
#addons-wrap > div .form-group {
  margin: 0;
  padding: 0.9rem 1rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.08s ease;
}

#addons-wrap > div .form-group:hover {
  border-color: #d8b4fe;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.08);
}

#addons-wrap > div .form-group:active {
  transform: translateY(1px);
}

/* Checkbox visual and alignment */
#addons-wrap input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #a855f7;
  justify-self: center;
}

/* The label sits in the middle column without extra spacing */
#addons-wrap > div .form-group > label {
  margin: 0;
  color: #374151;
  font-weight: 500;
}

/* Right-side control (qty or percent select) */
#addons-wrap > div .form-group input[type="number"],
#addons-wrap > div .form-group select {
  width: 140px;
  min-width: 120px;
  justify-self: end;
  font-size: 0.95rem;
}

/* Totals bar as a subtle card */
#totals-wrap {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

#totals-wrap .btn {
  margin-left: auto;
}

/* Elevate the whole calculator form card */
#booking .contact-form#booking-calculator {
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* Make the “Select Plan” and “Select Service” sit nicer on larger screens */
@media (min-width: 900px) {
  #calculator-root {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: min-content;
  }
  #calculator-root .form-group:nth-child(1) { grid-column: 1; }
  #calculator-root #service-select-wrap { grid-column: 2; }
  #calculator-root #addons-wrap { grid-column: 1 / -1; }
  #calculator-root #totals-wrap { grid-column: 1 / -1; }
}

/* Mobile optimizations */
@media (max-width: 640px) {
  /* Stack the three-column add-on rows into two rows: checkbox + label, control on its own line */
  #addons-wrap > div .form-group {
    grid-template-columns: 24px 1fr;
  }
  #addons-wrap > div .form-group input[type="number"],
  #addons-wrap > div .form-group select {
    grid-column: 2;
    justify-self: stretch;
    width: 100%;
  }
  #totals-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  #totals-wrap .btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

/* Slight emphasis on headings within pricing/calculator sections */
#pricing h3 i,
#booking h2 i {
  color: #a855f7;
}

/* Improve anchor target spacing for smoother UX when scrolling */
#booking::before {
  content: "";
  display: block;
  height: 80px; /* header offset */
  margin-top: -80px;
  visibility: hidden;
}

/* Accessibility hover/focus for calculator controls */
#calculator-root .form-group input[type="number"]:hover,
#calculator-root .form-group select:hover {
  border-color: #d8b4fe;
}