
/* Base Styles and Variables */
:root {
  --primary: #8B5E34;
  --primary-dark: #6A4826;
  --accent: #D68C45;
  --accent-light: #F7BE81;
  --secondary: #F5F2EE;
  --background: #FAF9F7;
  --foreground: #2A2118;
  --white: #FFFFFF;
  --gray-100: #F8F5F2;
  --gray-200: #E9E5E0;
  --gray-300: #D3CEC8;
  --gray-400: #BCB6AD;
  --gray-500: #958D80;
  --gray-600: #756D60;
  --gray-700: #5A5347;
  --gray-800: #38342D;
  --barn-50: #F9F7F5;
  --barn-100: #F1EDE9;
  --barn-200: #E3DBD4;
  --barn-600: #7D6D5D;
  --barn-700: #5A4E42;
  --barn-800: #3C332C;
  --radius: 0.5rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  color: var(--foreground);
  background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin: 0.5rem 0;
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

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

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: 'Inter', sans-serif;
}

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

.section {
  padding: 4rem 0;
}

.bg-white {
  background-color: var(--white);
}

.bg-secondary {
  background-color: var(--secondary);
  position: relative;
}

.bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a28a7c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Button Styles */
.btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  font-size: 1rem;
}

.btn-primary:hover {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  text-align: center;
  font-size: 1rem;
}

.btn-secondary:hover {
  background-color: var(--gray-200);
  color: var(--primary-dark);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-700);
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

.section-footer {
  text-align: center;
  margin-top: 2rem;
}

.section-footer p {
  font-size: 1.125rem;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

/* Badge */
.badge {
  display: inline-block;
  background-color: rgba(214, 140, 69, 0.1);
  color: var(--accent);
  padding: 0.25rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.navbar.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.navbar .logo span {
  color: var(--accent);
}

.navbar .nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.navbar .nav-links a {
  color: var(--primary);
  font-weight: 500;
}

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

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

.mobile-nav {
  display: none;
  background-color: var(--white);
  padding: 1rem 0;
  box-shadow: var(--shadow);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
}

.mobile-nav .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--primary);
}

.mobile-nav a:hover {
  background-color: var(--gray-100);
}

.hidden {
  display: none !important;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background-image: url('https://winforfarms.com/wp-content/uploads/2022/11/Hero-Image-Barndominiums-min-1-1024x546.jpeg');
  background-size: cover;
  background-position: center;
  padding-top: 5rem;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(42, 33, 24, 0.6), rgba(42, 33, 24, 0.8));
  z-index: 1;
}

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

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}

.hero h1 {
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  font-size: 2.5rem;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
}

.scroll-indicator p {
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  font-size: 1rem;
}

.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.hero-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5rem;
  background: linear-gradient(to top, var(--background), transparent);
  z-index: 2;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-align: center;
  animation: fadeIn 0.5s ease-out forwards;
  opacity: 0;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--gray-700);
  font-size: 1rem;
}

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

/* Video Tutorial Section */
.video-container {
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius);
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--gray-200);
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumbnail .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button {
  width: 5rem;
  height: 5rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.play-button i {
  color: var(--accent);
  font-size: 1.5rem;
  margin-left: 5px;
}

.play-button:hover {
  background-color: var(--white);
  transform: scale(1.1);
}

.video-player {
  width: 100%;
  aspect-ratio: 16/9;
}

.video-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery Section */
.slider-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.gallery-slides .slick-list {
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-slide {
  position: relative;
  aspect-ratio: 16/9;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 1.5rem;
  color: var(--white);
}

.slide-caption p {
  font-size: 1.125rem;
  margin: 0;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background-color: rgb(214 140 69);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: var(--transition);
  z-index: 10;
}

.slider-arrow:hover {
  background-color: rgb(214 140 69);
}

.slider-arrow.prev-arrow {
  left: 1rem;
}

.slider-arrow.next-arrow {
  right: 1rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.slider-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: var(--gray-300);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--accent);
  width: 1.5rem;
  border-radius: 999px;
}

/* Slick Slider Overrides */
.slick-dots {
  bottom: -30px;
}

.slick-dots li button:before {
  font-size: 10px;
  color: var(--gray-300);
}

.slick-dots li.slick-active button:before {
  color: var(--accent);
}

/* Designer Tool Section */
.designer-container {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.loading-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10rem 0;
}

.spinner {
  width: 4rem;
  height: 4rem;
  border: 4px solid rgba(214, 140, 69, 0.1);
  border-radius: 50%;
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-indicator p {
  font-size: 1rem;
  color: var(--gray-700);
}

.iframe-container {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

/* Testimonials Section */
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.testimonial-stars {
  margin-bottom: 1.5rem;
  color: #FBBF24;
}

.testimonial-stars i {
  margin: 0 0.2rem;
}

.testimonial-card blockquote {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--gray-700);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
}

.author-location {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 10;
}

.testimonial-arrow {
  width: 3rem;
  height: 3rem;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  margin: 0 -1.5rem;
}

.testimonial-arrow:hover {
  background-color: var(--accent);
  color: var(--white);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonial-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: var(--gray-300);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background-color: var(--accent);
}

/* FAQ Section */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.faq-item.border-accent {
  border-color: var(--accent);
}

.faq-item.border-barn-200 {
  border-color: var(--barn-200);
}

.faq-question {
  width: 100%;
  padding: 1.25rem;
  background-color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.faq-question:hover {
  background-color: var(--gray-100);
}

.faq-question h3 {
  font-size: 1.125rem;
  margin: 0;
}

.faq-question i.text-accent {
  color: var(--accent);
}

.faq-question i.text-primary {
  color: var(--primary);
}

.faq-answer {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: var(--gray-50);
  opacity: 0;
}

.faq-answer.max-h-96 {
  max-height: 500px;
  padding: 1.25rem;
}

.faq-answer.opacity-100 {
  opacity: 1;
}

.faq-answer p {
  font-size: 1rem;
  color: var(--gray-700);
  margin: 0;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--gray-200);
  padding: 3rem 0 1.5rem;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

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

.footer-column p {
  margin-bottom: 1.5rem;
  opacity: 0.8;
  font-size: 1rem;
}

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

.social-links a {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

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

.footer-links a {
  color: var(--gray-300);
  transition: var(--transition);
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 0.5rem;
}

.contact-info li {
  display: flex;
  margin-bottom: 1rem;
}

.contact-info i {
  color: var(--accent);
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.contact-info a {
  color: var(--gray-300);
  font-size: 1rem;
}

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

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 1rem;
  color: var(--gray-400);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--gray-400);
  font-size: 0.875rem;
}

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

/* Animation Classes */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
  animation-delay: var(--delay, 0s);
}
        #myiFrame {
    display: none;
}
.policy-content {
margin-top: 100px;
    padding-left: 80px;
    padding-right: 80px;
}
/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .testimonial-arrow {
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .testimonial-nav {
    display: none;
  }
  
  .testimonial-dots {
    display: flex;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.75rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .slider-arrow {
    width: 2.5rem;
    height: 2.5rem;
  }
}
