/* ===== GLOBAL THEME ===== */
:root {
  --primary: #3498db;
  --secondary: #2c3e50;
  --accent: #2980b9;
  --dark: #34495e;
  --light: #ecf0f1;
  --gray: #bdc3c7;
  --success: #27ae60;
  --gold:  #3498db;
  
  --transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  cursor: none !important;
}

.bride {
  background: url('https://images.unsplash.com/photo-1605276374104-dee2a0ed3cd6?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2080&q=80') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

.bride::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--primary);
  pointer-events: none;
  z-index: 9999;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  mix-blend-mode: difference;
  opacity: 1;
}

.cursor-follower {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  transition: 
    transform 0.4s ease,
    width 0.3s ease,
    height 0.3s ease;
  opacity: 1;
}

.cursor.active {
  transform: translate(-50%, -50%) scale(1.8);
  background-color: rgba(52, 152, 219, 0.5);
}

.cursor-follower.active {
  width: 50px;
  height: 50px;
  background-color: rgba(52, 152, 219, 0.1);
}

.cursor.click {
  transform: translate(-50%, -50%) scale(0.9);
}

.cursor-follower.click {
  width: 25px;
  height: 25px;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.3);
}

nav.scrolled {
  padding: 15px 5%;
  background: rgba(0, 0, 0, 0.8);
}

.logo {
  font-size: 1.8rem;
  color: white;
  letter-spacing: 1px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  z-index: 1;
}

.logo span {
  color: var(--gold);
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 25px;
  z-index: 1;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 300;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -5px;
  left: 0;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ===== FORM CONTAINER ===== */
.form-container {
  width: 90%;
  max-width: 500px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 0;
  padding: 40px;
  margin: 120px auto 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(0.5deg); }
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h2 {
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: white;
}

.form-header p {
  font-weight: 300;
  opacity: 0.8;
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-control {
  width: 100%;
  padding: 15px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
}

.form-label {
  position: absolute;
  left: 0;
  top: 15px;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  pointer-events: none;
  font-size: 0.9rem;
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
  top: -15px;
  font-size: 12px;
  color: var(--gold);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition);
  margin-top: 20px;
  text-transform: uppercase;
}

.submit-btn:hover {
  background: var(--gold);
  color: #000;
}

.status-message {
  text-align: center;
  padding: 15px;
  margin-top: 20px;
  font-weight: 300;
  background: rgba(212, 175, 55, 0.1);
  border-left: 2px solid var(--gold);
  display: none;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  nav {
      padding: 15px 5%;
      flex-direction: column;
  }
  
  .nav-links {
      margin-top: 15px;
      gap: 15px;
  }
  
  .form-container {
      padding: 30px;
      margin: 100px auto 30px;
  }
  
  .form-header h2 {
      font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
      flex-wrap: wrap;
      justify-content: center;
  }
  
  .form-container {
      padding: 20px;
  }
  
  .form-group {
      margin-bottom: 20px;
  }
  
  .submit-btn {
      padding: 12px;
  }
}

/* Hide cursor on touch devices */
@media (pointer: coarse) {
  .cursor, .cursor-follower {
      display: none !important;
  }
  * {
      cursor: default !important;
  }
}