/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #f8f6f1;
    background-color: #304438;
    font-size: 16px; /* Base font size for mobile */
}

/* Mobile-first responsive typography */
h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
p { font-size: 1rem; }

/* Mobile-first responsive spacing */
.main-content {
    margin-top: 0;
    min-height: calc(100vh - 80px);
    padding: 1rem 1rem 0 1rem; /* Removed bottom padding */
}

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

/* Mobile-optimized header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #f8f6f1;
    color: #304438;
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    color: #304438;
    flex-shrink: 0;
}

/* Mobile navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-menu a {
    color: #304438;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: #2a3a2e;
    background-color: rgba(48, 68, 56, 0.1);
}

/* Mobile-optimized company banner */
.company-banner {
    background-image: url('images/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 200px;
    position: relative;
    margin: 60px -1rem 3rem -1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    width: calc(100% + 2rem);
    gap: 0.5rem;
    /* Ensure content is visible on mobile */
    min-height: 200px;
}

.company-name-box {
    background: rgba(248, 246, 241, 0.9);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.company-name {
    color: #304438;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
}

.call-box {
    background: #FFD700;
    color: #000;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 2px solid #000;
    text-align: center;
}

/* Mobile-optimized sections */
.hero-section {
    text-align: center;
    padding: 3rem 1rem; /* Increased from 2rem 1rem */
    background: linear-gradient(135deg, #304438 0%, #2a3a2e 100%);
    color: #f8f6f1;
    border-radius: 15px;
    margin-bottom: 3rem; /* Increased from 2rem */
}

.hero-section h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.content-section {
    background: #f8f6f1;
    padding: 2rem; /* Increased from 1.5rem */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 3rem; /* Increased from 1.5rem */
    border: 1px solid #e8e6e1;
}

.content-section h2 {
    color: #304438;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content-section p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Extra large spacing for home page sections */
.main-message {
    font-style: italic;
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 4rem; /* Increased from 2rem */
}

.about-text {
    text-align: center;
    margin-bottom: 4rem; /* Increased from 2rem */
    font-size: 1.1rem;
}

.kentucky-section {
    margin-bottom: 4rem; /* Added large bottom margin */
}

.kentucky-section h2 {
    text-align: center;
    margin-bottom: 2rem; /* Increased from 1rem */
    font-size: 2rem;
}

.kentucky-section ul {
    margin: 0 auto 4rem auto; /* Increased bottom margin from 2rem */
    max-width: 600px;
    text-align: left;
    font-size: 1.1rem;
}

.cta-box {
    background: white;
    padding: 2rem; /* Increased from 1.5rem */
    text-align: center;
    margin: 4rem auto; /* Increased from 1.5rem */
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cta-box h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: bold;
    color: #304438;
}

.cta-box p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: #304438;
}

.pickup-section {
    margin-top: 4rem; /* Increased from 2rem */
    margin-bottom: 4rem; /* Added bottom margin */
}

.pickup-section h2 {
    text-align: center;
    margin-bottom: 2rem; /* Increased from 1.5rem */
    font-size: 1.8rem;
    color: #f8f6f1;
}

.pickup-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem; /* Increased from 1.5rem */
    margin-top: 2rem; /* Increased from 1.5rem */
}

.pickup-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 2rem; /* Increased from 1.5rem */
    border-radius: 10px;
}

.pickup-item h3 {
    color: #f8f6f1;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.pickup-item ul {
    text-align: left;
    margin: 0 auto;
    max-width: 100%;
    color: #f8f6f1;
    font-size: 0.95rem;
    padding-left: 1.5rem;
}

.pickup-item li {
    margin-bottom: 0.5rem;
}

/* Mobile-optimized about section */
.about-section {
    margin: 6rem 0; /* Increased from 2rem */
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem; /* Increased from 1.5rem */
    align-items: start;
}

.about-section img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin: 0 auto;
    display: block;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 2rem; /* Increased from 1rem */
    font-size: 1.8rem;
    color: #f8f6f1;
}

.about-section p {
    color: #f8f6f1;
    font-size: 1rem;
    margin-bottom: 2rem; /* Increased from 1rem */
    line-height: 1.6;
    text-align: center;
}

.about-section .italic-text {
    font-style: italic;
}

.fresh-quality-note {
    font-style: italic;
    text-align: center;
    margin: 3rem 0; /* Increased from 4rem */
    color: #f8f6f1;
    font-size: 1.1rem;
}

.fertilizer-section {
    margin: 6rem 0; /* Increased from 4rem */
}

.fertilizer-section h2 {
    text-align: center;
    margin-bottom: 2rem; /* Increased from 1.5rem */
    font-size: 2rem;
    color: #f8f6f1;
}

.fertilizer-section p {
    text-align: center;
    color: #f8f6f1;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Mobile-optimized contact form */
.contact-form {
    background: #f8f6f1;
    padding: 2rem; /* Increased from 1.5rem */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #e8e6e1;
    margin-bottom: 3rem; /* Added bottom margin */
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #304438;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    min-height: 44px; /* Touch-friendly minimum height */
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.btn {
    background: linear-gradient(135deg, #304438 0%, #2a3a2e 100%);
    color: #f8f6f1;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 1px solid #304438;
    min-height: 44px; /* Touch-friendly minimum height */
    width: 100%; /* Full width on mobile */
}

.btn:hover {
    transform: translateY(-2px);
}

/* Mobile-optimized grid layouts */
.mobile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.mobile-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.mobile-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Mobile-optimized white banner */
.white-banner {
    background: white;
    padding: 2rem;
    text-align: center;
    margin: 0 0 3rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%;
}

.white-banner h1 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    color: #304438;
}

/* Mobile-optimized info page sections */
.info-section {
    background: #303030;
    padding: 2rem; /* Increased from 1.5rem */
    border-radius: 15px;
    margin-bottom: 3rem; /* Increased from 1.5rem */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.info-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: bold;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.info-item {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.info-item .icon {
    width: 100%;
    height: 200px;
    background: #90EE90;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.info-item .icon:has(.info-icon) {
    background: transparent;
}

.info-item .icon:not(:has(.info-icon)) {
    background: #90EE90;
    font-size: 3rem;
    color: #304438;
}

.info-item .icon .info-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.info-item:hover .icon .info-icon {
    transform: scale(1.05);
}

.info-item .content {
    padding: 2rem;
    text-align: center;
}

.info-item h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.info-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
    
    .info-item .icon {
        height: 180px;
    }
}

@media (min-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}



/* Contact info section mobile optimization */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-info-item h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-info-item p {
    font-size: 0.95rem;
}

/* Mobile-optimized footer */
.footer {
    background: #303030;
    color: white;
    padding: 4rem 0; /* Increased from 2rem */
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Increased from 1.5rem */
    align-items: center;
}

.footer-box {
    background: white;
    color: #303030;
    padding: 2rem; /* Increased from 1.5rem */
    border-radius: 10px;
    max-width: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin: 0 1rem;
}

.footer-box h2 {
    margin: 0 0 0.2rem 0;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.footer-box h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.footer-contact {
    background: white;
    color: #303030;
    padding: 2rem; /* Increased from 1.5rem */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin: 0 1rem;
}

.footer-contact p {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Mobile hamburger menu for very small screens */
@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: space-around;
        gap: 0.25rem;
    }
    
    .nav-menu a {
        padding: 0.5rem 0.5rem;
        font-size: 0.85rem;
        text-align: center;
        flex: 1;
        min-width: 0;
    }
    
    .company-banner {
        height: 170px;
        padding: 1.5rem 0.5rem 0.5rem 0.5rem;
        margin: 100px -1rem 3rem -1rem;
        width: calc(100% + 2rem);
    }
    
    .company-name {
        font-size: 1.2rem;
    }
    
    .call-box {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }
    
    /* Ensure banner content is properly spaced on mobile */
    .company-name-box {
        margin-bottom: 0.5rem;
    }
    
    /* Additional mobile banner positioning */
    .company-banner {
        justify-content: flex-start;
        padding-top: 2rem;
    }
    
    .white-banner h1 {
        font-size: 1.5rem;
    }
    
    .main-message {
        font-size: 1.1rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .kentucky-section h2 {
        font-size: 1.6rem;
    }
    
    .kentucky-section ul {
        font-size: 1rem;
        padding-left: 1.5rem;
    }
    
    .fertilizer-section h2 {
        font-size: 1.6rem;
    }
    
    .fertilizer-section p {
        font-size: 1rem;
    }
    
    .pickup-section h2 {
        font-size: 1.6rem;
    }
    
    .about-section h2 {
        font-size: 1.6rem;
    }
    
    .footer-box h2,
    .footer-box h3 {
        font-size: 1.3rem;
    }
    
    .footer-contact p {
        font-size: 1.1rem;
    }
}

/* Responsive breakpoints */
@media (min-width: 480px) {
    .mobile-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pickup-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    body {
        font-size: 18px;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    p { font-size: 1.1rem; }
    
    .main-content {
        padding: 2rem 2rem 0 2rem; /* Removed bottom padding */
    }
    
    .container {
        padding: 0 2rem;
    }
    
    .header-content {
        flex-direction: row;
        gap: 0;
        padding: 0 2rem;
    }
    
    .nav-menu {
        gap: 2rem;
    }
    
    .nav-menu a {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .company-banner {
        height: 250px;
        flex-direction: column;
        justify-content: center;
        padding: 0 2rem;
        margin: 60px -2rem 3rem -2rem;
        width: calc(100% + 4rem);
        gap: 0.5rem;
    }
    
    .company-name {
        font-size: 1.8rem;
    }
    
    .call-box {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .mobile-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pickup-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-section {
        grid-template-columns: 300px 1fr;
        text-align: left;
    }
    
    .about-section h2,
    .about-section p {
        text-align: left;
    }
    
    .about-section img {
        margin: 0;
    }
    
    .white-banner {
        margin: 0 -2rem 3rem -2rem;
        padding: 1rem 2rem;
    }
    
    .white-banner h1 {
        font-size: 2.5rem;
    }
    
    .cta-box {
        max-width: 400px;
    }
    
    .btn {
        width: auto;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .kentucky-section h2 {
        font-size: 2.5rem;
    }
    
    .fertilizer-section h2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0;
    }
    
    .main-content {
        padding: 3rem 3rem 0 3rem; /* Removed bottom padding */
    }
    
    .company-banner {
        margin: 60px -3rem 3rem -3rem;
        padding: 0 3rem;
        width: calc(100% + 6rem);
    }
    
    .white-banner {
        margin: 0 0 3rem 0;
        padding: 1.5rem 3rem;
    }
    
    .pickup-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .nav-menu a {
        padding: 0.6rem 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .btn {
        padding: 1rem 2rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-menu a:hover {
        background-color: rgba(255,255,255,0.2);
        border: 2px solid white;
    }
    
    .btn {
        border: 2px solid #f8f6f1;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .btn:hover {
        transform: none;
    }
    
    .nav-menu a {
        transition: none;
    }
}

/* Contact Page Styles */
.contact-page {
    background: #304438;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-title {
    font-size: 2.5rem;
    color: #f8f6f1;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: bold;
}

.contact-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(248, 246, 241, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(248, 246, 241, 0.2);
}

.contact-section h2 {
    color: #f8f6f1;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: bold;
}

.phone-number {
    font-size: 2rem;
    color: #FFD700;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.services {
    color: #f8f6f1;
    font-size: 1rem;
    opacity: 0.9;
}

.hours {
    color: #f8f6f1;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.appointment {
    color: #f8f6f1;
    font-size: 1rem;
    opacity: 0.8;
}

.address {
    color: #f8f6f1;
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.4;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.contact-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background: #5a6268;
}

.image-map-container {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    align-items: flex-start;
}

.entrance-image-placeholder {
    flex: 1;
    background: rgba(248, 246, 241, 0.1);
    border: 2px dashed rgba(248, 246, 241, 0.3);
    border-radius: 10px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease;
}

.entrance-image-placeholder:hover {
    border-color: rgba(248, 246, 241, 0.5);
}

.placeholder-content {
    text-align: center;
    color: #f8f6f1;
}

.placeholder-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.placeholder-content p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin: 0;
}

.map-section {
    flex: 1;
    text-align: center;
}

.map-section iframe {
    max-width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.review-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(248, 246, 241, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(248, 246, 241, 0.2);
}

.stars {
    margin-bottom: 1rem;
}

.star {
    color: #FFD700;
    font-size: 2rem;
    margin: 0 0.2rem;
}

.review-text {
    color: #f8f6f1;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Mobile responsive adjustments for contact page */
@media (max-width: 768px) {
    .contact-page {
        padding: 1rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .phone-number {
        font-size: 1.5rem;
    }
    
    .hours {
        font-size: 1.2rem;
    }
    
    .address {
        font-size: 1.1rem;
    }
    
    .contact-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .image-map-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .entrance-image-placeholder {
        height: 250px;
    }
    
    .map-section iframe {
        height: 300px;
    }
} 