/* Contact Page Styles */
:root {
    --brand-green: #10b981;
    --brand-green-dark: #059669;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--gray-50);
    color: var(--gray-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Navigation */
.main-nav {
    background: var(--white);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 40;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    color: var(--brand-green);
    font-size: 28px !important;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.nav-menu {
    display: none;
    list-style: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--brand-green);
}

.cta-button {
    background: var(--brand-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.cta-button:hover {
    background: var(--brand-green-dark);
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
}

.back-link:hover {
    background: var(--gray-100);
    color: var(--brand-green);
}

/* Contact Container */
.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Header */
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(to right, var(--brand-green), var(--brand-green-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 48rem;
    margin: 0 auto;
}

/* Contact Cards Grid */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-green {
    background: linear-gradient(to bottom right, var(--brand-green), var(--brand-green-dark));
}

.icon-blue {
    background: linear-gradient(to bottom right, #3b82f6, #2563eb);
}

.icon-purple {
    background: linear-gradient(to bottom right, #a855f7, #9333ea);
}

.card-icon {
    color: var(--white);
    font-size: 24px !important;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.card-description {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.card-link {
    color: var(--brand-green);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.card-link:hover {
    color: var(--brand-green-dark);
}

.card-address {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.75;
}

/* Contact Form & Info Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* Contact Form */
.form-container {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: transparent;
    ring: 2px solid var(--brand-green);
    box-shadow: 0 0 0 2px var(--brand-green);
}

.form-textarea {
    resize: none;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    background: var(--brand-green);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-button:hover {
    background: var(--brand-green-dark);
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.4);
}

/* Info Sidebar */
.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    border-radius: 1rem;
    padding: 2rem;
}

.info-card.gradient-card {
    background: linear-gradient(to bottom right, var(--brand-green), var(--brand-green-dark));
    color: var(--white);
}

.info-card.white-card {
    background: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.info-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.info-title-sm {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-title-icon {
    color: var(--brand-green);
    font-size: 24px !important;
}

.info-description {
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.info-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--gray-700);
}

.hours-item {
    display: flex;
    justify-content: space-between;
}

.hours-time {
    font-weight: 600;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.2s;
}

.quick-link:hover {
    color: var(--brand-green);
}

.quick-link-icon {
    color: var(--brand-green);
    font-size: 14px !important;
}

/* Footer */
.main-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 2.5rem 1.5rem;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-icon {
    color: var(--brand-green);
    font-size: 32px !important;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.footer-contact {
    font-size: 0.875rem;
    color: var(--gray-400);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-contact strong {
    color: var(--gray-200);
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--brand-green);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-400);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--brand-green);
}

.footer-security {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.security-icon {
    color: var(--brand-green);
    font-size: 16px !important;
}

.payment-logo {
    height: 1.5rem;
    object-fit: contain;
    opacity: 0.9;
}

.footer-copyright a {
    color: var(--brand-green);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-copyright a:hover {
    color: var(--brand-green-dark);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }

    .back-link {
        display: none;
    }

    .contact-title {
        font-size: 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .footer-security {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .contact-card {
        transform: none !important;
    }

    input,
    textarea,
    button {
        font-size: 16px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-card,
    .fade-up {
        transition: none !important;
    }
}

/* SVG Icons */
svg {
    visibility: visible;
    opacity: 1;
}
