/* CSS Custom Properties */
:root {
    --primary-green: #22c55e;
    --dark-green: #16a34a;
    --darker-green: #166534;
    --light-green: #dcfce7;
    --very-light-green: #f0fdf4;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    min-height: 100vh;
    box-sizing: border-box;
}

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

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--darker-green));
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo img {
    height: 60px;
    width: auto;
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-green);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--gray-700);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-dropdown-btn:hover {
    color: var(--primary-green);
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.nav-dropdown[aria-expanded="true"] .dropdown-icon {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.nav-dropdown[aria-expanded="true"] .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.dropdown-link:hover,
.dropdown-link.active {
    background: var(--light-green);
    color: var(--dark-green);
}

/* Header CTA */
.header-cta {
    display: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-content {
    padding: 2rem 1rem;
    height: 100%;
    overflow-y: auto;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    display: block;
    padding: 1rem;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background: var(--light-green);
    color: var(--dark-green);
}

/* Mobile Navigation Dropdown */
.mobile-nav-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem;
    background: none;
    border: none;
    color: var(--gray-700);
    font-weight: 500;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.mobile-nav-dropdown-btn:hover {
    background: var(--light-green);
    color: var(--dark-green);
}

.mobile-nav-dropdown-menu {
    padding-left: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav-dropdown.active .mobile-nav-dropdown-menu {
    max-height: 300px;
}

.mobile-dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-600);
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.mobile-dropdown-link:hover,
.mobile-dropdown-link.active {
    background: var(--light-green);
    color: var(--dark-green);
}

.mobile-nav-cta {
    margin-top: 2rem;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--gray-50);
    padding: 1rem 0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb-item a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-green);
}

.breadcrumb-separator {
    width: 16px;
    height: 16px;
    fill: var(--gray-400);
}

.breadcrumb-current {
    color: var(--gray-800);
    font-weight: 500;
    font-size: 0.875rem;
}

/* Hero Section */
.hero {
    padding: 2rem 0;
    background-color: var(--very-light-green);
}

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

.hero-image {
    display: block;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

/* Service Details */
.service-details {
    padding: 4rem 0;
}

.service-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.service-features {
    text-align: left;
}

.features-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.feature-item:hover {
    border-color: var(--primary-green);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    fill: var(--primary-green);
    margin-top: 2px;
}

.feature-text {
    color: var(--gray-700);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 4rem 0;
    background: var(--gray-50);
}

.pricing-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.pricing-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    max-width: 400px;
    width: 100%;
}

.pricing-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
    text-align: center;
}

.card-subtitle {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-weight: 500;
}

.card-features {
    margin-bottom: 2rem;
}

.card-features .feature-item {
    padding: 0.5rem 0;
    background: none;
    border: none;
}

.card-features .feature-item:hover {
    background: none;
    border: none;
    box-shadow: none;
}

.card-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
}

.pricing-note p {
    color: var(--gray-600);
}

.contact-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Process Section */
.process {
    padding: 4rem 0;
}

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

.process-image {
    max-width: 1000px;
    margin: 0 auto;
}

.process-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background: var(--gray-50);
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-icon {
    width: 20px;
    height: 20px;
    fill: var(--primary-green);
    transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
}

.footer-main {
    padding: 3rem 0 2rem;
}

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

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.company-description {
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.image-credit {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary-green);
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    justify-content: center;
}

.contact-icon {
    width: 24px;
    height: 24px;
    fill: var(--primary-green);
    flex-shrink: 0;
    margin-top: 2px;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.phone-link {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.2s ease;
}

.phone-link:hover {
    color: var(--primary-green);
}

.social-section {
    margin-top: 1rem;
}

.social-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 0.5rem;
    color: var(--gray-300);
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.copyright {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.developer-credit {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.developer-link {
    color: var(--primary-green);
    text-decoration: none;
}

.developer-link:hover {
    text-decoration: underline;
}

/* Modal Styles */
.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;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: var(--gray-100);
}

.modal-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--gray-600);
}

.modal-body {
    padding: 1.5rem;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--gray-700);
}

.form-control {
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.calculation-result {
    background: var(--light-green);
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
}

.area-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.area-label {
    font-weight: 500;
    color: var(--gray-700);
}

.area-amount {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-green);
}

.total-cost {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cost-label {
    font-weight: 500;
    color: var(--gray-700);
}

.cost-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    /* Header */
    .nav-desktop {
        display: block;
    }

    .header-cta {
        display: block;
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-nav {
        display: none;
    }

    /* Service Details */
    .service-title {
        font-size: 3rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 2fr 1fr;
        gap: 3rem;
    }

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

    .contact-info {
        text-align: left;
    }

    .contact-item {
        justify-content: flex-start;
    }

    .social-links {
        justify-content: flex-start;
    }

    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }

    .service-title {
        font-size: 3.5rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .service-details {
        padding: 5rem 0;
    }

    .pricing {
        padding: 5rem 0;
    }

    .process {
        padding: 5rem 0;
    }

    .faq {
        padding: 5rem 0;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Button text capitalization override */
.btn {
    text-transform: none !important;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    margin: 2rem;
    position: relative;
    color: var(--white);
    text-align: center;
    border-radius: 2rem;
    overflow: hidden;
    background-image: url('../assets/parking-below-cta.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-description {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    gap: clamp(0.5rem, 2vw, 1rem);
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.cta-button {
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    border: 2px solid var(--white);
    border-radius: 1rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(5px);
}

.cta-button.primary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--gray-800);
}

.cta-button.primary:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button.secondary {
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--gray-800);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* CTA Section Responsive */
@media (max-width: 768px) {
    .cta-section {
        margin: 1rem;
        padding: 3rem 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
