/* styles.css */
:root {
    --white: #ffffff;
    --orange: #FF6B35;  /* Vibrant orange for CTAs */
    --blue: #004E89;    /* Trustworthy blue */
    --light-blue: #E6F2FF; /* Subtle background */
}
:root {
  --heading-font: 'Poppins', sans-serif;
  --body-font: 'Open Sans', sans-serif;
}

h1, h2, h3 {
  font-family: var(--heading-font);
  font-weight: 600;
}

body {
  font-family: var(--body-font);
}

a {
    text-decoration: none !important;
  }

.container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    margin: 0 auto;
  }

/* Navbar Base Styles */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
}

.logo img {
    height: 40px;
}

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

.nav-menu li a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: var(--orange);
}

/* CTA Button */
.cta-button {
    background: var(--orange);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.cta-button, .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.fa-phone {
  margin-right: 0.5rem;
}
.cta-button:hover {
    background: #E05A2B; /* Darker orange on hover */
}

/* Mobile Menu Toggle (Hidden by Default) */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: var(--blue);
    transition: all 0.3s;
}

@media (max-width: 992px) {
    .navbar-container {
      padding: 0.5rem 1rem;
    }
    
    .logo span {
      display: none; /* Hide text on small screens */
    }
  }
  
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 2rem 0;
        transition: left 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-cta {
        display: none;
    }
}

/* Contact Page Styles */
.contact-header {
    background: linear-gradient(rgba(0, 78, 137, 0.8), rgba(0, 78, 137, 0.9)), 
                url('../public/images/contact-bg.jpg') center/cover;
    color: white;
    text-align: center;
    padding: 5rem 2rem;
}

.contact-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-header h1 {
      font-size: 2rem;
    }
    
    .contact-header p {
      font-size: 1rem;
    }
  }

/* Contact Options Grid */
.contact-options {
    padding: 3rem 2rem;
    background: var(--light-blue);
}

.contact-options .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--blue);
    font-size: 1.5rem;
}

.contact-card h3 {
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.contact-link {
    display: inline-block;
    color: var(--orange);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 1rem 0;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #e05a2b;
}

.hours, .parking {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #555;
}

.hours p, .parking p {
    margin: 0.3rem 0;
}

/* Emergency Card Special Styling */
.contact-card.emergency {
    border-top: 4px solid var(--orange);
}

.emergency-btn {
    display: inline-block;
    background: var(--orange);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    margin: 1rem 0;
    transition: background 0.3s;
}

.emergency-btn:hover {
    background: #e05a2b;
}

.notice {
    font-size: 0.8rem;
    color: #666;
}

@media (min-width: 576px) {
    .contact-options .container {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
  }
  
  .contact-card {
    padding: 1.5rem;
  }

/* Contact Form Section */
.contact-form-section {
    padding: 4rem 2rem;
    background: white;
}

.contact-form-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.form-container h2 {
    color: var(--blue);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--blue);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: var(--orange);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #e05a2b;
}

@media (min-width: 992px) {
    .contact-form-section .container {
      grid-template-columns: 1fr 1fr;
    }
  }

/* Map Container */
.map-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 70%;
    border: none;
}

.map-info {
    padding: 1.5rem;
    background: white;
}

.map-info h4 {
    color: var(--blue);
    margin-bottom: 1rem;
}

.hours-list {
    list-style: none;
    padding: 0;
}

.hours-list li {
    margin-bottom: 0.5rem;
    color: #555;
}

.hours-list span {
    font-weight: 600;
    color: var(--blue);
    display: inline-block;
    width: 120px;
}

@media (min-width: 992px) {
    .map-container iframe {
      height: 100%;
    }
  }

.minimal-footer {
    background: #f8f9fa;
    padding: 2rem 1rem;
    text-align: center;
    border-top: 1px solid #e9ecef;
    font-family: 'Open Sans', sans-serif;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
  }
  
  .clinic-name {
    font-weight: 600;
    color: #2c3e50;
    margin: 0.25rem 0;
    font-size: 1.1rem;
  }
  
  .clinic-address {
    color: #7f8c8d;
    margin: 0.25rem 0 1rem;
    font-size: 0.9rem;
  }
  
  .copyright {
    color: #95a5a6;
    font-size: 0.85rem;
    margin: 0;
  }

/* Responsive */
@media (max-width: 768px) {
    .contact-form-section .container {
        grid-template-columns: 1fr;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

.success-message {
    background: #4CAF50;
    color: white;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.success-message i {
    margin-right: 0.5rem;
}

.submit-btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
