html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

/* Photo Booth Branding */
:root {
  --primary-color: #0d6efd;
  --accent-color: #ff006e;
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
  --success-color: #198754;
}

/* Logo Section */
.logo-section {
  background-color: white;
  border-bottom: 1px solid #e9ecef;
}

.logo-img {
  max-width: 200px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Hero Logo */
.hero-logo-img {
  max-width: 280px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
  .logo-img {
    max-width: 150px;
  }

  .hero-logo-img {
    max-width: 200px;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0a58ca 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 0, 110, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-cta {
  margin-top: 2rem;
}

.hero-cta .btn {
  padding: 0.75rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-hero {
  background-color: white;
  color: var(--primary-color);
  border: none;
}

.btn-primary-hero:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary-hero {
  background-color: var(--accent-color);
  color: white;
  border: 2px solid white;
  margin-left: 1rem;
}

.btn-secondary-hero:hover {
  background-color: #e6005a;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 0, 110, 0.3);
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section .subtitle {
    font-size: 1.1rem;
  }

  .btn-secondary-hero {
    margin-left: 0;
    margin-top: 1rem;
  }
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-color);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.feature-card h3 {
  color: #1a1a1a;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Services Section */
.services-section {
  background-color: var(--light-color);
  padding: 60px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0a58ca 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
  border-radius: 15px;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-btn {
  padding: 0.75rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 50px;
  font-weight: 600;
  background-color: var(--accent-color);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: #e6005a;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 0, 110, 0.3);
}

/* Navbar customization */
.brand-icon {
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

.navbar-dark {
  background-color: var(--primary-color) !important;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
}

.navbar-dark .navbar-brand:hover {
  color: var(--accent-color) !important;
}

/* Footer */
footer {
  margin-top: auto;
  border-top: 4px solid var(--primary-color);
}

footer h5, footer h6 {
  font-weight: 600;
  color: white;
}

footer a:hover {
  color: var(--accent-color) !important;
}

/* General utility classes */
.text-primary-custom {
  color: var(--primary-color);
}

.text-accent {
  color: var(--accent-color);
}

.divider {
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
  margin: 2rem 0;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }

  .feature-card {
    margin-bottom: 1.5rem;
  }
}

/* Button utilities */
.btn-primary, .btn-secondary {
  border-radius: 50px;
  padding: 0.6rem 1.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Contact Form Styling */
.form-control, .form-control-lg, textarea {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-control:focus, .form-control-lg:focus, textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
  background-color: #fafbfc;
}

.form-label {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.form-label.fw-600 {
  font-weight: 600;
  color: #1a1a1a;
}

.form-text {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.3rem;
}

/* Validation Feedback */
.invalid-feedback {
  font-size: 0.85rem;
  color: #dc3545;
  margin-top: 0.3rem;
}

.form-control.is-invalid, .form-control-lg.is-invalid {
  border-color: #dc3545;
}

.form-control.is-invalid:focus, .form-control-lg.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

/* Alert Styling */
.alert {
  border-radius: 10px;
  border: none;
  animation: slideDown 0.3s ease;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact Form Card */
.card {
  border-radius: 15px;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Contact Info Cards */
.contact-info-card {
  text-align: center;
  padding: 2rem 1rem;
}

.contact-info-card h5 {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.contact-info-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-info-card a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Submit Button */
.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
}

.btn-primary.btn-lg {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary.btn-lg:hover {
  background-color: #0a58ca;
  border-color: #0a58ca;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(13, 110, 253, 0.3);
}

/* Responsive Form Adjustments */
@media (max-width: 768px) {
  .form-control, .form-control-lg {
    font-size: 16px;
  }

  .form-label {
    font-size: 0.9rem;
  }

  .card {
    margin-bottom: 1.5rem;
  }
}

/* Welcome Section */
.welcome-section {
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.welcome-section .lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  line-height: 1.8;
}

.welcome-section p {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .welcome-section .lead {
    font-size: 1rem;
  }
}

/* Site Update Notice Section */
.site-notice-section {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(255, 0, 110, 0.05) 100%);
  border-top: 1px solid rgba(13, 110, 253, 0.1);
  border-bottom: 1px solid rgba(13, 110, 253, 0.1);
}

.site-notice-section .alert {
  background: linear-gradient(135deg, rgba(23, 162, 184, 0.1) 0%, rgba(13, 110, 253, 0.1) 100%);
  border-left: 4px solid var(--primary-color);
}

.site-notice-section .alert-heading {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
}

.site-notice-section .alert p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .site-notice-section .alert {
    text-align: center;
  }

  .site-notice-section .text-lg-end {
    text-align: center !important;
  }
}
}