/* Font Face Definitions */
@font-face {
    font-family: 'Sofia Pro';
    src: url('./assets/fonts/SofiaProRegular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Burford';
    src: url('./assets/fonts/Burford.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
  font-family: 'Madley Medium';
  src: url('../assets/fonts/MadleyMedium-Italic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
    font-family: 'Madley';
    src: url('../assets/fonts/MadleyRegular-Italic.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

@font-face {
    font-family: 'Jimmy';
    src: url('../assets/fonts/JimmyScript-Rg.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Jimmy';
    src: url('../assets/fonts/JimmyScript-Bld.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }

h1{font-weight: 400;
}

/* Base styles for the page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sofia Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main content styles */
.main-content {
    flex: 1;
    background-image: linear-gradient(to bottom, rgba(256, 256, 256, .4), rgba(256, 256, 256, .4)), 
    url(../assets/images/white-wood.png);
}
.hero-logo {
    width: 50%;
    max-width: 500px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
    object-fit: cover;
}

.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 20px;
    text-align: center;
}
#homepage-hero {
    background-image: url(assets/images/homepage/truck-hero.jpg); 
    background-position: center;
    background-size: cover;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.4);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}
.festival-section{
    text-align: left;
    align-items: left;
}
.festival-image{
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}
.festival-title{
    font-size: 2rem;
    color: #2c3e50;
    margin: 0;
    font-family: Madley, serif;
}

.festival-description{
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}
.homepage-image{
    width: 100%; /* Set the desired width */
    aspect-ratio: 1 / 1; /* Ensures perfect square for circular shape */
    border-radius: 50%; /* Makes the element circular */
    overflow: hidden;
    object-fit: cover;
}
.homepage-top-things{
    width: 100%;
    padding-bottom: 5%;
}
.image-grid {
    margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 1000px; /* Adjust this as needed */
  aspect-ratio: 3 / 2; /* Ensures 3x2 shape as a group */
}

.image-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 5%;
}
#homepage-socials{
    justify-content: center;
    padding-bottom: 20px;
}
#homepage-socials .social-link{
    background-color: #D93E36;
}
#email{
    width: 60%;
    height: 30px;
    border-radius: 5px;
    border: none;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    padding: 0px 12px;
}


.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 60px;
}

.section-title {
    font-size: 2.5rem;
    font-family: 'Madley', serif;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
}
.subsection-title {
    font-size: 2.5rem;
    font-family: 'Madley', serif;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

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

.card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.card-text {
    color: #7f8c8d;
    line-height: 1.6;
}
.card-image{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}
#history-card{
    padding: 0px;
}
#history-card-title {
    padding: 0px 30px;
}

#history-card-text {
    padding: 0px 30px 30px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-farm-primary {
    background-color: #D93E36;
    color: white;
}

.btn-farm-primary:hover {
    background-color: #6B3410;
    transform: translateY(-2px);
}

.btn-farm-secondary {
    background-color: transparent;
    color: #D93E36;
    border: 2px solid #D93E36;
}

.btn-farm-secondary:hover {
    background-color: #D93E36;
    color: white;
}

/* Image Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 50px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    display: flex;
    gap: 20px;
    padding: 20px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.carousel-slide {
    flex: 0 0 auto;
    width: 300px;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.carousel-slide:hover {
    transform: scale(1.02);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 24px;
    padding: 7px 18px 11px 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.summer-header {
    font-family: 'Burford', serif;
    font-size: 3.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
}

.summer-description {
    font-size: 1.2rem;
    color: #6c757d;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}
.hours-description{
    font-size: 1.2rem;
    color: #6c757d;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 0px auto;
    line-height: 1.6; 
}
.dates-description{
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 10px auto;
    line-height: 1.6;
}

/* Generic page header styles */
.page-header {
    font-family: 'Burford', serif;
    font-size: 3.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    padding: 60px 20px 40px;
}

.page-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    
}

.page-icon {
    margin: 0 auto;
    display: block;
    text-align: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.page-title {
    font-size: 3.5rem;
    line-height: .9;
    font-weight: 400;
    color: #2c3e50;
    margin: 0;
    letter-spacing: 2px;
}

/* Keep specific classes for backwards compatibility */
.attractions-header {
    text-align: center;
    padding: 60px 20px 40px;
    font-family: 'Burford', serif;
    font-size: 3.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
}

.attractions-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.attraction-icon {
    width: 60px;
    height: 60px;
    background: #D93E36;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.attractions-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    letter-spacing: 2px;
}

.season-toggle {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    background: #D93E36;
    border-radius: 50px;
    padding: 6px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.season-btn {
    flex: 1;
    padding: 15px 30px;
    border: none;
    background: transparent;
    color: white;
    font-family: 'Madley', serif;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.season-btn.active {
    background: white;
    color: #D93E36;
    padding: 0px 30px;
    font-family: 'Jimmy', serif;
    font-size: 2.3rem;
    font-weight: 400;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.season-btn:hover:not(.active) {
    background: rgba(255,255,255,0.1);
}

.attraction-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.attraction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.attraction-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.attraction-content {
    padding: 5px 20px 20px;
}

.attraction-caption {
    font-size: 1rem;
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

.attractions-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.section-header {
    text-align: center;
    margin: 60px 0 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-family: 'Madley', serif;
    color: #2c3e50;
    margin: 0;
}

/* Food & Treats specific styles */

.food-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.food-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.food-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.food-content {
    padding: 20px;
}

.food-caption {
    font-size: 1.2rem;
    color: #2c3e50;
    line-height: 1.6;
    margin: 0;
    font-weight: 600;
    text-align: center;
}

.food-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}
.food-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.food-caption {
    font-weight: bold;
    font-size: 1rem;
    margin: 0;
}

.season-chip-container {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.season-chip {
    display: inline-flex;
    align-items: center;
    color: white;
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.season-chip span {
    text-transform: capitalize;
}

.season-icon {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    object-fit: contain;
}
.season-chip[data-season="spring"] { background-color: #e63662; }
.season-chip[data-season="summer"] { background-color: #a07e27; }
.season-chip[data-season="fall"]   { background-color: #dd6605; }
.season-chip[data-season="winter"] { background-color: #e0f0ff; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-logo{
        width: 70%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    .subsection-title{
        font-size: 1.75rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .image-grid{
          grid-template-columns: repeat(2, 1fr);

    }

    .summer-header {
        line-height: .9;
        font-size: 2.5rem;
    }
    
    .carousel {
        height: 250px;
        padding: 10px;
        gap: 15px;
    }
    
    .carousel-slide {
        width: 200px;
    }
    
    .carousel-nav {
        display: none; /* Hide arrows on mobile, rely on touch scrolling */
    }
    .season-btn.active{
    font-size: 1.5rem;
    font-weight: 600;
    }
}

@media (min-width: 769px) {
    .carousel-slide {
        width: 350px;
    }
} 

.ctct-form-button {
    width: fit-content !important;
    align-self: center !important;
}

/* Animal Page Layout - Responsive */
.animal-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .animal-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}