/* Albion Saddle Makers - Main Stylesheet */
/* Color Scheme:
 - Primary: #5D4037 (rich brown)
*/

/* CSS Variables */
:root {
  --primary-color: #8B4513; /* Saddle Brown */
  --secondary-color: #D2B48C; /* Tan */
  --accent-color: #B8860B; /* Dark Goldenrod */
  --dark-color: #1E1E1E;
  --light-color: #F5F5F5;
  --cream-color: #F8F0E3;
  --text-color: #333333;
  --serif-font: 'Crimson Text', Georgia, serif;
  --display-font: 'Playfair Display', serif;
  --sans-font: 'Lato', sans-serif;
  --transition-slow: all 0.5s ease;
  --transition-medium: all 0.3s ease;
  --transition-fast: all 0.2s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--dark);
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

/* Header */
header {
  background-color: var(--neutral);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo a {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: var(--dark);
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

nav ul li a:hover {
  color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-color: var(--neutral);
  overflow: hidden;
  padding-top: 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 3rem 0;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--secondary);
}

/* Sections Common */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title p {
  color: var(--secondary);
  font-size: 1.2rem;
}

/* Craftsmanship Section */
.craftsmanship-section {
  background-color: var(--cream-color);
  padding: 5rem 0;
}

.craftsmanship-content {
  max-width: 900px;
  margin: 0 auto;
}

.craftsmanship-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.step-number {
  font-family: var(--display-font);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(139, 69, 19, 0.1);
  position: absolute;
  top: 10px;
  right: 15px;
}

.process-step h3 {
  position: relative;
  z-index: 2;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.process-step p {
  position: relative;
  z-index: 2;
  color: var(--text-color);
  margin-bottom: 0;
}

/* News Section */
.news-section {
  background-color: white;
  padding: 5rem 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.news-card {
  background-color: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition-medium);
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.news-content {
  padding: 1.5rem;
}

.news-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.news-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #777;
}

.news-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  font-family: var(--sans-font);
  color: var(--accent-color);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.read-more:hover {
  color: var(--primary-color);
}

.news-links {
  background-color: var(--cream-color);
  padding: 2rem;
  border-radius: 8px;
}

.news-links h4 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--dark-color);
}

.news-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-links-grid p {
  margin-bottom: 0;
  line-height: 1.5;
}

.news-links-grid a {
  font-weight: 600;
  color: var(--accent-color);
  transition: var(--transition-fast);
}

.news-links-grid a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--light-color);
  padding: 5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition-medium);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.quote-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  opacity: 0.5;
}

.client-info {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.client-info h4 {
  margin-bottom: 0.25rem;
  color: var(--primary-color);
}

.client-info span {
  font-size: 0.9rem;
  color: #777;
}

/* Contact Section */
.contact-section {
  background-color: white;
  padding: 5rem 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info i {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

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

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--sans-font);
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.2);
}

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

.form-message {
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.form-message.success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.form-message.error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.newsletter-form {
  display: flex;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 4px 0 0 4px;
  font-family: var(--sans-font);
}

.newsletter-form button {
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 0 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background-color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
}

.footer-logo img {
  width: 80px;
  margin-bottom: 1rem;
}

.footer-links h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--light);
}

.footer-links a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--accent);
  color: var(--dark);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* Media Queries */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .news-links-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  
  .mobile-menu-btn {
    display: block;
  }
  
  nav {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--cream-color);
    padding: 1rem;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  
  nav.active {
    transform: translateY(0);
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin: 0.5rem 0;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .news-links-grid {
    grid-template-columns: 1fr;
  }
  
  .craftsmanship-process {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
}
