/* Modern Design System */
:root {
  /* Color Palette */
  --primary-color: #1e3a8a;
  --secondary-color: #3b82f6;
  --accent-color: #f59e0b;
  --text-color: #1f2937;
  --light-text: #6b7280;
  --background: #ffffff;
  --light-bg: #f3f4f6;
  --dark-bg: #111827;
  
  /* Typography */
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Montserrat', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

h2 {
  font-size: 2.5rem;
  color: var(--text-color);
}

h3 {
  font-size: 1.75rem;
  color: var(--text-color);
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--light-text);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* Header */
.header-container {
  background: var(--background);
  box-shadow: var(--shadow-sm);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo a {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
}

nav ul {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

nav a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: white;
  position: relative;
}

.hero-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: var(--spacing-lg);
  position: relative;
}

.hero-buttons {
  margin-bottom: 3rem;
  margin-left: 3rem;
}

.hero-buttons .buy-button {
  font-size: 1.1rem;
  padding: 0.85rem 1.75rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* Cards */
.card {
  background: var(--background);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: var(--spacing-md);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-buttons {
    margin-bottom: 2rem;
    margin-left: 1.5rem;
  }
  
  .hero-buttons .buy-button {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
  
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  nav ul {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

/* Loading States */
.loading {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Error States */
.error-message {
  color: #dc2626;
  background: #fee2e2;
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  margin: var(--spacing-sm) 0;
}

/* Success States */
.success-message {
  color: #059669;
  background: #d1fae5;
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  margin: var(--spacing-sm) 0;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus States */
:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .no-print {
    display: none;
  }
  
  body {
    color: black;
  }
  
  a {
    text-decoration: underline;
  }
}

/* Footer Styles */
.site-footer {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-section p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.links-grid h3 {
  margin-bottom: 1.5rem;
}

.footer-links-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.footer-links-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-column li {
  margin-bottom: 0.75rem;
}

.footer-links-column a {
  color: var(--light-text);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  padding-left: 1rem;
  opacity: 0.8;
}

.footer-links-column a::before {
  content: "›";
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  color: var(--primary-color);
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.footer-links-column a:hover {
  color: white;
  opacity: 1;
  padding-left: 1.25rem;
}

.footer-links-column a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal a {
  color: var(--light-text);
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-legal a:hover {
  opacity: 1;
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* Mobile Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .links-grid h3 {
    margin-top: 0;
  }
  
  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}

/* Contact Button */
.contact-btn {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
}

.contact-btn:hover {
  background-color: var(--primary-dark);
}

/* Contact Form Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal-content {
  position: relative;
  background-color: #ffffff;
  margin: 5% auto;
  padding: 2rem;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close-modal {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.close-modal:hover {
  color: #000;
}

.contact-form {
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.submit-btn {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--primary-dark);
}

/* Contact Page Styles */
.contact-section {
  padding: 6rem 0 4rem;
  background-color: var(--light-bg);
  min-height: calc(100vh - 400px);
}

.contact-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.contact-header h1 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.contact-header p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
}

.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .submit-btn {
  width: 100%;
  padding: 1rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form .submit-btn:hover {
  background-color: var(--secondary-color);
}

/* Responsive Contact Page */
@media (max-width: 768px) {
  .contact-section {
    padding: 4rem 0 2rem;
  }
  
  .contact-form-container {
    padding: 2rem;
  }
} 