/* ================================
   CONTACT PAGE - UNIQUE DESIGN
================================ */

.contact-page {
  min-height: 100vh;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}

/* Animated Background */
.contact-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse at 60% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  pointer-events: none;
  animation: backgroundPulse 10s ease-in-out infinite alternate;
}

@keyframes backgroundPulse {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Floating Particles */
.contact-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #D4AF37;
  border-radius: 50%;
  opacity: 0.3;
  animation: floatParticle 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 16s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 13s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 15s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 17s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 12s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 16s; }
.particle:nth-child(10) { left: 95%; animation-delay: 3s; animation-duration: 13s; }

@keyframes floatParticle {
  0%, 100% { 
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  50% {
    transform: translateY(50vh) scale(1);
    opacity: 0.6;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-10vh) scale(0);
    opacity: 0;
  }
}

/* Hero Section */
.contact-hero {
  padding: 12rem 0 4rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact-hero .page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  background: linear-gradient(135deg, #D4AF37 0%, #F5D76E 50%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.contact-hero .page-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Main Content */
.contact-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0 8rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Left Side - Info Cards */
.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Side by Side Cards Row */
.info-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.info-cards-row .info-card {
  padding: 2rem;
}

.info-cards-row .info-card h3 {
  font-size: 1.2rem;
}

.info-cards-row .info-card-icon {
  width: 55px;
  height: 55px;
  margin-bottom: 1rem;
}

.info-cards-row .info-card-icon svg {
  width: 26px;
  height: 26px;
}

.info-cards-row .hours-grid {
  margin-top: 1rem;
}

.info-cards-row .hour-row {
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
}

.info-cards-row .social-links-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.info-cards-row .social-link {
  aspect-ratio: auto;
  padding: 0.8rem;
}

@media (max-width: 600px) {
  .info-cards-row {
    grid-template-columns: 1fr;
  }
}

/* Glassmorphism Info Card */
.info-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: left 0.7s ease;
}

.info-card:hover::before {
  left: 100%;
}

.info-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3),
              0 0 40px rgba(212, 175, 55, 0.1);
}

.info-card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.info-card:hover .info-card-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #D4AF37 0%, #F5D76E 100%);
}

.info-card-icon svg {
  width: 32px;
  height: 32px;
  fill: #D4AF37;
  transition: fill 0.4s ease;
}

.info-card:hover .info-card-icon svg {
  fill: #0a0a0a;
}

.info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.info-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  line-height: 1.6;
}

.info-card a {
  color: #D4AF37;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: #F5D76E;
}

/* Social Links */
.social-card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.02) 100%);
}

.social-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
}

.social-link svg {
  width: 24px;
  height: 24px;
  fill: rgba(255, 255, 255, 0.6);
  transition: all 0.4s ease;
}

.social-link:hover {
  background: #D4AF37;
  border-color: #D4AF37;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

.social-link:hover svg {
  fill: #0a0a0a;
  transform: scale(1.2);
}

/* Working Hours */
.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hour-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.hour-row:hover {
  background: rgba(212, 175, 55, 0.1);
}

.hour-row .day {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  white-space: nowrap;
}

.hour-row .time {
  color: #D4AF37;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.hour-row.closed .time {
  color: rgba(255, 255, 255, 0.4);
}

/* Right Side - Form */
.contact-form-side {
  position: relative;
}

.form-container {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 32px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.form-container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.form-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.form-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.form-header p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
}

/* Modern Form Fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  position: absolute;
  top: 1.2rem;
  left: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  background: transparent;
  padding: 0 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #D4AF37;
  background: rgba(212, 175, 55, 0.05);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  left: 1rem;
  font-size: 0.85rem;
  color: #D4AF37;
  background: #0a0a0a;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23D4AF37' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 24px;
}

.form-group select option {
  background: #1a1a1a;
  color: #fff;
}

/* Subject Tags */
.subject-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.subject-tag {
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.subject-tag:hover {
  border-color: rgba(212, 175, 55, 0.5);
  color: #D4AF37;
}

.subject-tag.active {
  background: linear-gradient(135deg, #D4AF37 0%, #F5D76E 100%);
  border-color: transparent;
  color: #0a0a0a;
  font-weight: 600;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 1.5rem 3rem;
  background: linear-gradient(135deg, #D4AF37 0%, #F5D76E 100%);
  border: none;
  border-radius: 16px;
  color: #0a0a0a;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
}

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

/* Map Section */
.map-section {
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

.map-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.map-wrapper {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.map-header {
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.map-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #fff;
}

.map-header p {
  color: rgba(255, 255, 255, 0.5);
}

.directions-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid #D4AF37;
  border-radius: 50px;
  color: #D4AF37;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.directions-btn:hover {
  background: #D4AF37;
  color: #0a0a0a;
}

.directions-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.map-embed {
  position: relative;
  width: 100%;
  height: min(55vh, 480px);
  min-height: 360px;
  line-height: 0;
  background: rgba(0, 0, 0, 0.25);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Quick Contact Bar */
.quick-contact-bar {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  padding: 1rem 2rem;
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 100px;
  z-index: 100;
}

.quick-contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.quick-contact-item svg {
  width: 20px;
  height: 20px;
  fill: #D4AF37;
}

.quick-contact-item:hover {
  background: #D4AF37;
  color: #0a0a0a;
}

.quick-contact-item:hover svg {
  fill: #0a0a0a;
}

/* Success Message */
.success-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  border: 2px solid #D4AF37;
  border-radius: 24px;
  padding: 3rem 4rem;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1000;
}

.success-message.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #D4AF37 0%, #F5D76E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  fill: #0a0a0a;
}

.success-message h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.success-message p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .quick-contact-bar {
    display: none;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 10rem 0 3rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .social-links-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .form-container {
    padding: 2rem;
    border-radius: 24px;
  }
  
  .map-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .info-card {
    padding: 1.5rem;
  }
  
  .form-header h2 {
    font-size: 2rem;
  }
  
  .subject-tags {
    justify-content: center;
  }
}
