/* Contact Page Styles */

/* Hero Section */
.contact-hero {
  position: relative;
  background: url("../images/about/cinema-hero.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
}

.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  z-index: 1;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease;
}

.contact-hero-content h1 {
  font-size: 56px;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-hero-content p {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #e50914;
}

.section-divider {
  height: 3px;
  width: 60px;
  background-color: #e50914;
  margin: 0 auto;
}

.section-header p {
  margin-top: 15px;
  color: #ddd;
  font-size: 18px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Grid */
.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

.contact-section {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Contact Form */
.contact-form-container {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #fff;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #333;
  border-radius: 5px;
  background-color: #222;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #777;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e50914;
  box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.2);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  display: inline-block;
  background-color: #e50914;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  width: 100%;
}

.submit-btn i {
  margin-right: 10px;
}

.submit-btn:hover {
  background-color: #f40612;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
}

/* Contact Info */
.contact-info-container {
  display: flex;
  flex-direction: column;
}

.contact-info-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  height: 100%;
}

.contact-details {
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-icon {
  flex: 0 0 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(229, 9, 20, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

.contact-icon i {
  font-size: 24px;
  color: #e50914;
}

.contact-text h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}

.contact-text p {
  color: #ddd;
  margin-bottom: 5px;
}

/* Social Links */
.social-links h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #222;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #e50914;
  transform: translateY(-3px);
}

/* Map Section */
.map-section {
  padding: 80px 0;
  background-color: #0c0c0c;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  height: 450px;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background-color: #111;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}

.faq-icon {
  color: #e50914;
  font-size: 18px;
  transition: all 0.3s ease;
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer p {
  color: #ddd;
  padding-bottom: 20px;
  line-height: 1.6;
}

.faq-item.active {
  background-color: #222;
}

.faq-item.active .faq-question {
  border-bottom: 1px solid #333;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 300px; /* Adjust as needed */
}

.faq-more {
  text-align: center;
  margin-top: 40px;
}

.faq-btn {
  display: inline-block;
  background-color: transparent;
  color: #fff;
  border: 2px solid #e50914;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.faq-btn:hover {
  background-color: #e50914;
  color: #fff;
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .contact-hero-content h1 {
    font-size: 44px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 120px 0;
  }
  
  .contact-hero-content h1 {
    font-size: 36px;
  }
  
  .contact-hero-content p {
    font-size: 18px;
  }
  
  .section-header h2 {
    font-size: 30px;
  }
  
  .contact-section,
  .map-section,
  .faq-section {
    padding: 60px 0;
  }
  
  .contact-form-container,
  .contact-info-card {
    padding: 30px;
  }
  
  .contact-icon {
    flex: 0 0 50px;
    height: 50px;
  }
}

@media (max-width: 576px) {
  .contact-hero-content h1 {
    font-size: 32px;
  }
  
  .submit-btn {
    padding: 12px 24px;
    font-size: 16px;
  }
  
  .faq-question h3 {
    font-size: 16px;
  }
}

/* Form Alert Messages */
.form-alert {
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.form-alert.success {
  background-color: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.3);
  color: #27ae60;
}

.form-alert.error {
  background-color: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #e74c3c;
}

.alert-content {
  display: flex;
  align-items: center;
}

.alert-content i {
  margin-right: 10px;
  font-size: 20px;
}

.alert-close {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 16px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.alert-close:hover {
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
