/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.mission-image {
  width: 100px;      /* set desired width */
  height: 50px;      /* keeps aspect ratio */
  max-width: 100%;   /* responsive */
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hidden {
    display: none !important;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo h1 {
    font-size: 1.25rem;
    color: #92400e;
    font-weight: 500;
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: #374151;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    color: #92400e;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #374151;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn:hover {
    color: #92400e;
}

.nav-mobile {
    padding-bottom: 1rem;
}

.nav-mobile-link {
    display: block;
    padding: 0.5rem 0;
    color: #374151;
    transition: color 0.3s;
}

.nav-mobile-link:hover {
    color: #92400e;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}
      .custom-font {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem;
        color: white;
      }
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 1rem;
    max-width: 1500px;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2.5rem;
}

.hero-description {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    max-width: 102rem;
    margin-left: left;
    margin-right: auto;
    line-height: 1.8;
}

.hero-button {
    display: inline-block;
    background-color: #92400e;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s;
    font-weight: 500;
}

.hero-button:hover {
    background-color: #78350f;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-description {
    color: #6b7280;
    max-width: 42rem;
    margin: 1rem auto 0;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 16rem;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    margin-bottom: 0.5rem;
}

.product-content p {
    color: #6b7280;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-text {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    text-align: center;
}

.feature-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.feature-icon svg {
    background-color: #fef3c7;
    color: #92400e;
    padding: 0.75rem;
    border-radius: 50%;
}

.feature-card h4 {
    margin-bottom: 0.25rem;
}

.feature-card p {
    color: #6b7280;
}

.about-image {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
    aspect-ratio: 1;
}

.gallery-item:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: white;
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-icon {
    background-color: #fef3c7;
    color: #92400e;
    padding: 0.75rem;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 0.25rem;
}

.info-item p {
    color: #6b7280;
}

.business-hours {
    margin-top: 2rem;
}

.business-hours h4 {
    margin-bottom: 1rem;
}

.business-hours p {
    color: #6b7280;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #92400e;
    box-shadow: 0 0 0 3px rgba(146, 64, 14, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    background-color: #92400e;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #78350f;
}

/* Footer */
.footer {
    background-color: #111827;
    color: white;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-text {
    color: #9ca3af;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
    color: #9ca3af;
}

.footer-links a {
    color: #9ca3af;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fbbf24;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    background-color: #1f2937;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: #92400e;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
}

/* Responsive Typography */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
}

.partners-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.partners-section .section-header {
    text-align: center;
    margin-bottom: 30px;
}

.partners-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.partners-track {
    display: flex;
    gap: 40px;
    animation: scroll-left 20s linear infinite;
    animation-play-state: running; /* default animation state */
}

.partners-track img {
    height: 80px; /* adjust logo size */
    object-fit: contain;
}

/* Pause animation on hover */
.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .partners-track img {
        height: 60px;
    }
}

.fixed-text {
    position: fixed;       /* Fixes it to the viewport */
    bottom: 20px;          /* Distance from bottom */
    right: 20px;           /* Distance from right */
   background-color: #A0522D; /* Wooden color (Sienna) */
    color: #ffffff;        /* White text */
    padding: 10px 15px;    /* Spacing inside box */
    font-size: 16px;       /* Font size */
    font-weight: bold;     /* Bold text */
    border-radius: 5px;    /* Rounded corners */
    z-index: 1000;         /* Make sure it's on top */
    box-shadow: 0 2px 6px rgba(0,0,0,0.3); /* Optional shadow */
    font-family: 'Inter', sans-serif; /* Optional font */
}.

.justified-text {
    text-align: justify;      /* Justifies the text */
    text-justify: inter-word; /* Ensures proper spacing between words */
}

.partners-track img {
    height: 80px;   /* Change this number to go even bigger */
    margin: 0 40px; /* Space between logos */
    width: auto;
}