/* The Recipe Society - Legal Pages Stylesheet */

:root {
  --primary-color: #EA580C;
  --gold-accent: #D4AF37;
  --dark-gray: #374151;
  --light-gray: #F9FAFB;
  --border-color: #E5E7EB;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: #FCFBF8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: white;
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(212, 175, 55, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary-color);
}

/* Main Content */
main {
  min-height: 60vh;
  padding: 40px 0;
}

.page-title {
  font-size: 36px;
  margin-bottom: 10px;
  color: var(--dark-gray);
}

.page-subtitle {
  color: #6B7280;
  margin-bottom: 30px;
}

.content-box {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(212, 175, 55, 0.1);
  margin-bottom: 30px;
}

/* Policy Embed Container */
.policy-container {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(212, 175, 55, 0.1);
  min-height: 600px;
}

.policy-container iframe {
  width: 100%;
  border: none;
  min-height: 800px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn:hover {
  background: #DC5409;
}

.btn-secondary {
  background: var(--dark-gray);
}

.btn-secondary:hover {
  background: #1F2937;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
footer {
  background: white;
  border-top: 1px solid var(--border-color);
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: var(--dark-gray);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: #6B7280;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #FCF9F8 0%, #FFF5ED 100%);
  padding: 80px 0;
  text-align: center;
  border-bottom: 2px solid var(--gold-accent);
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--dark-gray);
}

.hero p {
  font-size: 20px;
  color: #6B7280;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.download-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--dark-gray);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
}

.download-btn:hover {
  background: #1F2937;
}

.download-btn img {
  width: 24px;
  height: 24px;
}

/* Features Grid */
.features {
  padding: 60px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(212, 175, 55, 0.1);
  text-align: center;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--dark-gray);
}

.feature-card p {
  color: #6B7280;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 20px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Alert/Success Messages */
.alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.alert-success {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #10B981;
}

.alert-error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #EF4444;
}

.alert-info {
  background: #DBEAFE;
  color: #1E40AF;
  border: 1px solid #3B82F6;
}
