/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DM Serif Text", serif;
  line-height: 1.6;
  color: #2c2c2c;
  font-weight: 400;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d4b896, #c4a886);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  height: 120px;
  width: auto;
  margin-bottom: 30px;
  animation: pulse 2s ease-in-out infinite;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(44, 44, 44, 0.1);
  border-left: 4px solid #2c2c2c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

/* Animation Keyframes */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.slide-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.slide-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

.slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.slide-up.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Ripple Effect */
.ripple-btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Enhanced Form Animations */
.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group.focused label {
  color: #d4b896;
  transform: translateY(-5px);
  font-size: 14px;
}

.animated-input {
  transition: all 0.3s ease;
  border: 2px solid #e0e0e0;
}

.animated-input:focus {
  border-color: #d4b896;
  box-shadow: 0 0 0 3px rgba(212, 184, 150, 0.1);
  transform: translateY(-2px);
}

.form-group label {
  transition: all 0.3s ease;
  transform-origin: left top;
}

/* Header */
.header {
  background-color: #d4b896;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 100px;
  transition: all 0.3s ease;
}

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

.logo {
  height: 100%;
  display: flex;
  align-items: center;
}

.logo img {
  height: 90px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  gap: 35px;
}

.nav-link {
  text-decoration: none;
  color: #2c2c2c;
  font-weight: 400;
  font-size: 18px;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 4px;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #8b4513;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link:hover,
.nav-link.active {
  color: #8b4513;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("images/1.jpg");
  background-size: cover;
  background-position: center;
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  transition: transform 0.1s ease-out;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(139, 69, 19, 0.3));
}

.about-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("images/2.jpg");
  background-size: cover;
  background-position: center;
  height: 70vh;
}

.contact-hero {
  background: linear-gradient(rgba(139, 69, 19, 0.4), rgba(139, 69, 19, 0.4)), url("images/8.jpg");
  background-size: cover;
  background-position: center;
  height: 70vh;
}

.hero-content {
  max-width: 900px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: "DM Serif Text", serif;
  font-size: 4rem;
  font-weight: 400;
  margin-bottom: 25px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 35px;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
  background: linear-gradient(135deg, #d4b896, #c4a886);
  color: #2c2c2c;
  padding: 18px 35px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 400;
  font-family: "DM Serif Text", serif;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background: linear-gradient(135deg, #c4a886, #b49876);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* About Preview Section */
.about-preview {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.about-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.about-image img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.about-text h2 {
  font-family: "DM Serif Text", serif;
  font-size: 2.8rem;
  margin-bottom: 25px;
  color: #2c2c2c;
  line-height: 1.2;
}

.about-text p {
  margin-bottom: 22px;
  font-size: 17px;
  line-height: 1.8;
  color: #444;
}

.learn-more-btn {
  background: linear-gradient(135deg, #d4b896, #c4a886);
  color: #2c2c2c;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 400;
  font-family: "DM Serif Text", serif;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.learn-more-btn:hover {
  background: linear-gradient(135deg, #c4a886, #b49876);
  transform: translateY(-2px);
}

/* Purebred Section */
.purebred-section {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("images/8.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  position: relative;
}

.purebred-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(139, 69, 19, 0.4));
}

.purebred-section .container {
  position: relative;
  z-index: 2;
}

.purebred-section .section-title {
  color: white;
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin-bottom: 30px;
}

.purebred-content {
  max-width: 700px;
  margin: 0 auto;
}

.purebred-box {
  background: linear-gradient(135deg, rgba(212, 184, 150, 0.95), rgba(196, 168, 134, 0.95));
  color: #2c2c2c;
  padding: 40px;
  border-radius: 15px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.purebred-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.purebred-box h3 {
  font-family: "DM Serif Text", serif;
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #2c2c2c;
}

.purebred-box p {
  font-size: 17px;
  line-height: 1.7;
}

/* Section Titles */
.section-title {
  font-family: "DM Serif Text", serif;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 25px;
  color: #2c2c2c;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, #d4b896, #c4a886);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: #555;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Wagyu Section */
.wagyu-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff, #fafafa);
}

.wagyu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.wagyu-item {
  text-align: center;
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.wagyu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.wagyu-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.wagyu-item h3 {
  font-family: "DM Serif Text", serif;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #2c2c2c;
}

.wagyu-item .price {
  color: #8b4513;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
}

.wagyu-item .custom-order {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.wagyu-item .custom-order a {
  color: #8b4513;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.wagyu-item .custom-order a:hover {
  color: #d4b896;
  text-decoration: underline;
}

/* Ranch Section */
.ranch-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
}

.ranch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 25px;
  margin-top: 50px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.ranch-image {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background: white;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ranch-image:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.ranch-image img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

/* Story Section */
.story-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2c2c2c, #3a3a3a);
  color: white;
}

.story-section .section-title {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.story-section .section-title::after {
  background: linear-gradient(135deg, #d4b896, #c4a886);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

.story-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.story-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.story-image img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 10px;
}

.story-text h3 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  color: #d4b896;
  line-height: 1.5;
}

.story-text p {
  margin-bottom: 22px;
  line-height: 1.8;
  color: #e0e0e0;
  font-size: 17px;
}

/* Values Section */
.values-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.value-item {
  text-align: center;
  padding: 35px 25px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  border: 1px solid rgba(212, 184, 150, 0.2);
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.value-item h3 {
  font-family: "DM Serif Text", serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2c2c2c;
}

.value-item p {
  line-height: 1.8;
  color: #444;
  font-size: 16px;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff, #fafafa);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info h2 {
  font-family: "DM Serif Text", serif;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #2c2c2c;
}

.contact-item {
  margin-bottom: 30px;
}

.contact-item h3 {
  font-weight: 400;
  margin-bottom: 10px;
  color: #2c2c2c;
  font-size: 18px;
}

.contact-item p {
  color: #555;
  font-size: 16px;
}

/* Forms */
.contact-form,
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-container {
  background: white;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-form-container:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 400;
  color: #2c2c2c;
  font-size: 16px;
}

.form-group input,
.form-group textarea {
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.submit-btn {
  background: linear-gradient(135deg, #d4b896, #c4a886);
  color: #2c2c2c;
  padding: 18px 35px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 400;
  font-family: "DM Serif Text", serif;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #c4a886, #b49876);
  transform: translateY(-2px);
}

/* Newsletter Section */
.newsletter-section {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("images/7.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  position: relative;
}

.newsletter-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(139, 69, 19, 0.4));
}

.newsletter-section .container {
  position: relative;
  z-index: 2;
}

.newsletter-title {
  font-family: "DM Serif Text", serif;
  font-size: 3rem;
  margin-bottom: 25px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.newsletter-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.newsletter-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  background: rgba(255, 255, 255, 0.1);
  padding: 35px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.newsletter-form:hover {
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form .form-group label {
  color: white;
}

.newsletter-form .form-group input,
.newsletter-form .form-group textarea {
  background: rgba(255, 255, 255, 0.9);
  border: none;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #d4b896, #c4a886);
  color: #2c2c2c;
  padding: 20px 0;
  height: 100px;
}

.footer .container {
  height: 100%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.footer-logo {
  height: 100%;
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 60px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: all 0.3s ease;
}

.footer-links {
  text-align: center;
}

.footer-links h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #2c2c2c;
}

.footer-links a {
  display: inline-block;
  color: #2c2c2c;
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s ease;
  font-size: 16px;
}

.footer-links a:hover {
  color: #8b4513;
}

.footer-bottom {
  border-top: 1px solid rgba(44, 44, 44, 0.2);
  padding-top: 10px;
  text-align: center;
  color: #2c2c2c;
  font-size: 14px;
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .container {
    padding: 0 30px;
  }

  .about-content,
  .story-content {
    gap: 40px;
  }

  .contact-content {
    gap: 50px;
  }

  .about-preview,
  .wagyu-section,
  .ranch-section,
  .story-section,
  .values-section,
  .contact-section,
  .newsletter-section,
  .purebred-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .header {
    height: 80px;
    padding: 10px 0;
  }

  .logo img {
    height: 60px;
    max-width: 150px;
  }

  .footer {
    height: auto;
    padding: 25px 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
    height: auto;
  }

  .footer-logo img {
    height: 50px;
  }

  .hero {
    height: 60vh;
  }

  .about-hero {
    height: 50vh;
  }

  .contact-hero {
    height: 60vh;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .about-content,
  .story-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .nav {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .header .container {
    flex-direction: column;
    gap: 15px;
  }

  .wagyu-grid,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .ranch-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }

  .wagyu-item img {
    height: 280px;
  }

  .ranch-image img {
    max-height: 250px;
  }

  .purebred-box,
  .newsletter-form,
  .contact-form-container {
    padding: 25px;
  }

  .about-preview,
  .wagyu-section,
  .ranch-section,
  .story-section,
  .values-section,
  .contact-section,
  .newsletter-section,
  .purebred-section {
    padding: 50px 0;
  }

  .newsletter-form {
    max-width: 100%;
  }

  .loading-logo {
    height: 80px;
  }
}

@media (max-width: 480px) {
  .header {
    height: 70px;
  }

  .logo img {
    height: 50px;
    max-width: 120px;
  }

  .footer-logo img {
    height: 40px;
  }

  .hero {
    height: 50vh;
  }

  .about-hero {
    height: 40vh;
  }

  .contact-hero {
    height: 50vh;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .container {
    padding: 0 15px;
  }

  .wagyu-item img {
    height: 250px;
  }

  .ranch-image img {
    max-height: 220px;
  }

  .about-text h2 {
    font-size: 2.2rem;
  }

  .contact-info h2 {
    font-size: 2rem;
  }

  .newsletter-title {
    font-size: 2.2rem;
  }

  .purebred-section .section-title {
    font-size: 2.2rem;
  }

  .nav-link {
    font-size: 16px;
    padding: 8px 12px;
  }

  .cta-button,
  .learn-more-btn,
  .submit-btn {
    padding: 15px 25px;
    font-size: 16px;
  }

  .purebred-box,
  .newsletter-form,
  .contact-form-container {
    padding: 20px;
  }

  .about-preview,
  .wagyu-section,
  .ranch-section,
  .story-section,
  .values-section,
  .contact-section,
  .newsletter-section,
  .purebred-section {
    padding: 40px 0;
  }

  .value-item {
    padding: 25px 20px;
  }

  .loading-logo {
    height: 60px;
  }
}

@media (max-width: 320px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 10px;
  }

  .nav {
    gap: 8px;
  }

  .nav-link {
    font-size: 14px;
    padding: 6px 10px;
  }

  .about-preview,
  .wagyu-section,
  .ranch-section,
  .story-section,
  .values-section,
  .contact-section,
  .newsletter-section,
  .purebred-section {
    padding: 30px 0;
  }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
  .header .container {
    padding: 0 15px;
  }

  .nav-link {
    padding: 10px 15px;
    margin: 2px 0;
    border-radius: 6px;
  }

  .hero-content {
    padding: 0 15px;
  }

  .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
  }

  .story-text h3 {
    font-size: 1.2rem;
  }

  .contact-item {
    margin-bottom: 25px;
  }
}

@media (max-width: 480px) {
  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .story-text h3 {
    font-size: 1.1rem;
  }

  .about-text p,
  .story-text p {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .nav-link {
    font-size: 18px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 10px 15px;
    display: inline-block;
  }
}
/* Hamburger Styles */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #2c2c2c;
}

/* Mobile Nav Hidden by Default */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    right: 20px;
    top: 30px;
    z-index: 1001;
  }

  .nav {
    display: none;
    flex-direction: column;
    background-color: #d4b896;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav.open {
    display: flex;
  }

  .nav-link {
    padding: 15px 0;
    font-size: 18px;
  }
}
