/* GRAV Handmade - Modell Jelentkezés Stílusok.
   Elegant, luxury jewelry brand aesthetic. */

.girls-landing {
  min-height: 100vh;
  background: linear-gradient(135deg, #fdfbf7 0%, #f5f0e8 100%);
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #2c2c2c;
  
  /* Hero Section */
  .hero {
    text-align: center;
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    
    h1 {
      font-size: 3.2em;
      color: #8b7355;
      margin-bottom: 20px;
      font-weight: 400;
      letter-spacing: 2px;
      text-transform: uppercase;
      
      &:after {
        content: '';
        display: block;
        width: 100px;
        height: 3px;
        background: linear-gradient(90deg, #d4af37, #f4e5c2);
        margin: 25px auto;
      }
    }
    
    .subtitle {
      font-size: 1.4em;
      color: #6b5d4d;
      max-width: 600px;
      margin: 0 auto;
      line-height: 1.6;
      font-weight: 300;
    }
    
    .brand {
      font-size: 1.1em;
      color: #8b7355;
      letter-spacing: 4px;
      text-transform: uppercase;
      margin-top: 30px;
      font-weight: 600;
    }
    
    .hero-logo {
      max-width: 220px;
      width: 100%;
      height: auto;
      margin-bottom: 30px;
      filter: drop-shadow(0 4px 8px rgba(139, 115, 85, 0.15));
      transition: transform 0.3s ease;
      
      &:hover {
        transform: scale(1.02);
      }
    }
  }
  
  /* Benefits Section */
  .benefits {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    
    h2 {
      text-align: center;
      font-size: 2em;
      color: #8b7355;
      margin-bottom: 50px;
      font-weight: 400;
    }
    
    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
      
      .benefit-card {
        background: #ffffff;
        padding: 40px 30px;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(139, 115, 85, 0.1);
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid rgba(212, 175, 55, 0.2);
        
        &:hover {
          transform: translateY(-5px);
          box-shadow: 0 8px 30px rgba(139, 115, 85, 0.15);
        }
        
        .benefit-icon {
          font-size: 2.5em;
          margin-bottom: 20px;
          color: #d4af37;
        }
        
        h3 {
          font-size: 1.3em;
          color: #5d4e3a;
          margin-bottom: 15px;
          font-weight: 600;
        }
        
        p {
          font-size: 1em;
          color: #7a6b5a;
          line-height: 1.5;
        }
      }
    }
  }
  
  /* Application Form Section */
  .application-section {
    padding: 60px 20px;
    background: #ffffff;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    
    .form-container {
      max-width: 600px;
      margin: 0 auto;
      
      h2 {
        text-align: center;
        font-size: 2em;
        color: #8b7355;
        margin-bottom: 15px;
        font-weight: 400;
      }
      
      .form-intro {
        text-align: center;
        font-size: 1.1em;
        color: #7a6b5a;
        margin-bottom: 40px;
        line-height: 1.6;
      }
      
      form {
        .field {
          margin-bottom: 25px;
          
          label {
            display: block;
            font-size: 0.95em;
            color: #5d4e3a;
            margin-bottom: 8px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
          }
          
          input[type="text"],
          input[type="email"],
          input[type="tel"],
          textarea {
            width: 100%;
            padding: 15px;
            border: 2px solid #e8e0d5;
            border-radius: 6px;
            font-size: 1em;
            color: #2c2c2c;
            background: #fafafa;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
            font-family: inherit;
            
            &:focus {
              outline: none;
              border-color: #d4af37;
              box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
              background: #ffffff;
            }
            
            &::placeholder {
              color: #b0a090;
            }
          }
          
          textarea {
            resize: vertical;
            min-height: 120px;
          }
        }
        
        .actions {
          text-align: center;
          margin-top: 35px;
          
          input[type="submit"] {
            background: linear-gradient(135deg, #d4af37 0%, #c5a028 100%);
            color: #ffffff;
            border: none;
            padding: 18px 60px;
            font-size: 1.1em;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
            font-family: inherit;
            
            &:hover {
              transform: translateY(-2px);
              box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
              background: linear-gradient(135deg, #e4bf47 0%, #d4af37 100%);
            }
            
            &:active {
              transform: translateY(0);
            }
          }
        }
      }
      
      .privacy-note {
        text-align: center;
        margin-top: 30px;
        padding: 20px;
        background: rgba(212, 175, 55, 0.08);
        border-radius: 6px;
        font-size: 0.9em;
        color: #7a6b5a;
        line-height: 1.5;
        
        strong {
          color: #5d4e3a;
        }
      }
    }
  }
  
  /* Footer */
  .landing-footer {
    text-align: center;
    padding: 40px 20px;
    background: #2c2c2c;
    color: #b0a090;
    
    .brand-footer {
      font-size: 1.2em;
      color: #d4af37;
      letter-spacing: 3px;
      text-transform: uppercase;
      margin-bottom: 10px;
    }
    
    .location {
      font-size: 0.9em;
      color: #8a7a6a;
    }
  }
  
  /* Error Styling */
  #error_explanation {
    background: #fff5f5;
    border: 2px solid #fc8181;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
    
    h2 {
      color: #c53030;
      font-size: 1.2em;
      margin-bottom: 10px;
    }
    
    ul {
      color: #c53030;
      margin: 0;
      padding-left: 20px;
      
      li {
        margin-bottom: 5px;
      }
    }
  }
  
  .field_with_errors {
    input, textarea {
      border-color: #fc8181 !important;
      background-color: #fff5f5 !important;
    }
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .girls-landing {
    .hero {
      padding: 60px 15px 40px;
      
      h1 {
        font-size: 2.2em;
      }
      
      .subtitle {
        font-size: 1.1em;
      }
    }
    
    .benefits {
      padding: 40px 15px;
      
      .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        
        .benefit-card {
          padding: 30px 20px;
        }
      }
    }
    
    .application-section {
      padding: 40px 15px;
      
      .form-container {
        form {
          .actions {
            input[type="submit"] {
              width: 100%;
              padding: 18px 30px;
            }
          }
        }
      }
    }
  }
}

@media (max-width: 480px) {
  .girls-landing {
    .hero {
      h1 {
        font-size: 1.8em;
        letter-spacing: 1px;
      }
      
      .hero-logo {
        max-width: 180px;
      }
    }
  }
}

/* Photo Upload Styling for Forms */
.photo-upload-field {
  .photo-upload-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    
    .photo-input {
      padding: 15px;
      border: 2px dashed #d4af37;
      border-radius: 8px;
      background: rgba(212, 175, 55, 0.05);
      cursor: pointer;
      transition: all 0.3s ease;
      
      &:hover {
        background: rgba(212, 175, 55, 0.1);
        border-color: #c5a028;
      }
      
      &::file-selector-button {
        background: linear-gradient(135deg, #d4af37 0%, #c5a028 100%);
        color: #ffffff;
        border: none;
        padding: 10px 20px;
        border-radius: 25px;
        margin-right: 15px;
        cursor: pointer;
        font-weight: 600;
        transition: all 0.3s ease;
        
        &:hover {
          background: linear-gradient(135deg, #e4bf47 0%, #d4af37 100%);
          transform: translateY(-1px);
        }
      }
    }
    
    .photo-hint {
      font-size: 0.85em;
      color: #8b7355;
      font-style: italic;
    }
  }
  
  .current-photo-preview {
    margin-top: 15px;
    padding: 15px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    
    .photo-preview-label {
      font-size: 0.9em;
      color: #5d4e3a;
      margin-bottom: 10px;
      font-weight: 600;
    }
    
    .photo-thumb {
      max-width: 200px;
      max-height: 200px;
      border-radius: 8px;
      box-shadow: 0 4px 15px rgba(139, 115, 85, 0.2);
      object-fit: cover;
    }
  }
}

/* Show Page Styling */
.girl-show-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  
  .show-title {
    text-align: center;
    font-size: 2em;
    color: #8b7355;
    margin-bottom: 30px;
    font-weight: 400;
  }
  
  .girl-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
    
    @media (max-width: 768px) {
      grid-template-columns: 1fr;
    }
    
    .girl-photo-section {
      .photo-card {
        background: #ffffff;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(139, 115, 85, 0.15);
        border: 2px solid rgba(212, 175, 55, 0.3);
        
        .girl-photo-large {
          width: 100%;
          max-height: 400px;
          object-fit: contain;
          border-radius: 8px;
        }
      }
    }
    
    .no-photo-placeholder {
      background: linear-gradient(135deg, #f5f0e8 0%, #fdfbf7 100%);
      border: 3px dashed rgba(212, 175, 55, 0.4);
      border-radius: 12px;
      min-height: 300px;
      display: flex;
      align-items: center;
      justify-content: center;
      
      .placeholder-content {
        text-align: center;
        
        .placeholder-icon {
          font-size: 4em;
          margin-bottom: 15px;
          display: block;
        }
        
        p {
          color: #8b7355;
          font-size: 1.1em;
          margin: 0;
        }
      }
    }
    
    .girl-info-card {
      background: #ffffff;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(139, 115, 85, 0.1);
      border: 1px solid rgba(212, 175, 55, 0.2);
      
      .info-row {
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
        
        &:last-child {
          margin-bottom: 0;
          padding-bottom: 0;
          border-bottom: none;
        }
        
        .info-label {
          display: block;
          font-size: 0.85em;
          color: #8b7355;
          font-weight: 600;
          text-transform: uppercase;
          letter-spacing: 1px;
          margin-bottom: 5px;
        }
        
        .info-value {
          font-size: 1.1em;
          color: #2c2c2c;
          word-break: break-word;
        }
        
        &.note-row, &.internal-note-row {
          .note-text, .internal-note-text {
            font-style: italic;
            color: #5d4e3a;
            line-height: 1.5;
          }
        }
        
        &.internal-note-row {
          background: rgba(212, 175, 55, 0.08);
          padding: 15px;
          border-radius: 6px;
          margin-left: -15px;
          margin-right: -15px;
          padding-left: 15px;
          padding-right: 15px;
        }
        
        &.timestamp-row {
          .info-value {
            font-size: 0.95em;
            color: #8b7355;
          }
        }
      }
    }
  }
}

.show-actions {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  
  .action-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    
    &:hover {
      color: #8b7355;
      background: rgba(212, 175, 55, 0.1);
      text-decoration: none;
    }
    
    &.edit-link {
      color: #5d4e3a;
      
      &:hover {
        background: rgba(93, 78, 58, 0.1);
      }
    }
  }
}
