@import "tailwindcss";

* {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
}

/* ============ NAVBAR ============ */
.navbar-background {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.title-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #007e85;
}

.nav-links .nav-link {
  color: #4a5568;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links .nav-link:hover {
  color: #007e85;
}

.nav-links .nav-link.active {
  border-bottom: 2px solid #007e85;
  padding-bottom: 0.25rem;
}

.nav-sign {
  border: 2px solid #007e85;
  color: #007e85;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.nav-sign:hover {
  background-color: #007e85;
  color: white;
}

#menu-toggle {
  cursor: pointer;
  transition: all 0.3s ease;
}

#mobile-menu {
  transition: max-height 0.3s ease;
}

#mobile-menu a {
  padding: 0.75rem 0;
  display: block;
}

/* ============ HERO SECTION ============ */
.hero-section {
  position: relative;
  height: 300px;
  background: linear-gradient(135deg, #007e85 0%, #005f63 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    height: 400px;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://storage.googleapis.com/a1aa/image/DQb9ByIRFwthK-XKlPRAftP6O68hp0y1RCun_-GsJEA.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1rem;
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
}

.hero-text p {
  font-size: 1rem;
  margin: 0;
  opacity: 0.95;
}

@media (min-width: 768px) {
  .hero-text p {
    font-size: 1.1rem;
  }
}

/* ============ MAIN APPOINTMENT CONTAINER ============ */
.main-appointment-container {
  max-width: 1200px;
  margin: -50px auto 0;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
}

.appointment-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .appointment-wrapper {
    grid-template-columns: 2fr 1fr;
  }
}

/* ============ FORM SECTION ============ */
.form-section {
  background: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 640px) {
  .form-section {
    padding: 1.5rem;
  }
}

.form-section h2 {
  color: #2d3748;
  font-size: 1.75rem;
  margin: 0 0 2rem 0;
  font-weight: 600;
}

@media (max-width: 640px) {
  .form-section h2 {
    font-size: 1.5rem;
  }
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

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

.form-label {
  color: #2d3748;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-input {
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e0;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: "Roboto", sans-serif;
  transition: all 0.3s ease;
  background-color: white;
}

.form-input:focus {
  outline: none;
  border-color: #007e85;
  box-shadow: 0 0 0 3px rgba(0, 126, 133, 0.1);
}

.form-input::placeholder {
  color: #a0aec0;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .time-slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.time-slot-button {
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e0;
  border-radius: 0.5rem;
  background-color: white;
  color: #4a5568;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.time-slot-button:hover:not(:disabled) {
  border-color: #007e85;
  background-color: #f0f9fa;
  color: #007e85;
}

.time-slot-button.selected {
  background-color: #007e85;
  color: white;
  border-color: #007e85;
}

.time-slot-button:disabled {
  background-color: #edf2f7;
  color: #a0aec0;
  cursor: not-allowed;
}

.submit-btn {
  background-color: #007e85;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.submit-btn:hover {
  background-color: #005f63;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 126, 133, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

/* ============ INFO SECTION ============ */
.info-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
}

@media (max-width: 640px) {
  .info-card {
    padding: 1.25rem;
  }
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: #f0f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #007e85;
  font-size: 1.5rem;
}

.info-card h3 {
  color: #2d3748;
  font-size: 1.1rem;
  margin: 0 0 0.75rem 0;
  font-weight: 600;
}

.info-card p {
  color: #4a5568;
  margin: 0.25rem 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============ FOOTER ============ */
.footer-background {
  background-color: #007e85;
  color: white;
  margin-top: 4rem;
}

.footer-logo {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.footer-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-description {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.footer-link {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.8;
}

.footer-text {
  font-size: 0.9rem;
  margin: 0.5rem 0;
  opacity: 0.95;
}

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

.social-link {
  color: white;
  text-decoration: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  opacity: 0.9;
}
