/* Southlands Heritage Farm - Complete Custom CSS */

/* ================================
   NAVIGATION STYLES
   ================================ */
#navigation {
    text-align: center;
}

#navigation ul {
    display: inline-block;
    list-style: none;
    padding: 0;
    margin: 0;
}

#navigation li {
    display: inline-block;
    margin: 0 10px; /* Adjust spacing between items as needed */
}

/* ================================
   SERVICE CARDS SECTION
   ================================ */

/* Service Cards Grid Container */
.southlands-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

/* Individual Service Card */
.southlands-service-card {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: #2d3748;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-height: 250px;
    width: 100%;
    max-width: 320px;
}

/* Hover effects */
.southlands-service-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #68d391;
    text-decoration: none;
}

.southlands-service-card:active {
    transform: translateY(-5px) scale(1.02);
}

/* Card icon (using img tag) */
.southlands-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem auto;
    display: block;
    transition: transform 0.3s ease;
    filter: hue-rotate(90deg) saturate(1.2) brightness(0.8);
}

.southlands-service-card:hover .southlands-card-icon {
    transform: scale(1.15) rotate(8deg);
}

/* Card title (using strong tag) */
.southlands-card-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #2d5016;
    font-family: Georgia, serif;
    display: block;
    line-height: 1.3;
}

/* Card description (using p tag) */
.southlands-card-description {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: normal;
}

/* Card call-to-action info (using p tag) */
.southlands-card-info {
    font-size: 1rem;
    color: #38a169;
    font-weight: bold;
    background: rgba(56, 161, 105, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    display: inline-block;
    margin: 0;
    transition: all 0.3s ease;
}

.southlands-service-card:hover .southlands-card-info {
    background: rgba(56, 161, 105, 0.2);
    transform: scale(1.05);
}

/* Top accent line */
.southlands-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #38a169, #68d391, #48bb78);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    border-radius: 20px 20px 0 0;
}

.southlands-service-card:hover::before {
    transform: scaleX(1);
}

/* Subtle background pattern */
.southlands-service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="1" fill="rgba(56,161,105,0.05)"/><circle cx="20" cy="80" r="1.5" fill="rgba(56,161,105,0.05)"/><circle cx="70" cy="70" r="0.5" fill="rgba(56,161,105,0.05)"/></svg>');
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.southlands-service-card:hover::after {
    opacity: 1;
}

/* ================================
   INFORMATION SECTION
   ================================ */

/* Main container */
.southlands-info-section {
    max-width: 1200px;
    margin: 3rem auto 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Individual info cards */
.southlands-info-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.southlands-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Card titles with icons */
.southlands-info-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem !important;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1.5rem;
    font-family: Georgia, serif;
}

.southlands-title-icon {
    width: 40px;
    height: 40px;
    filter: hue-rotate(120deg) saturate(1.3) brightness(0.7);
}

/* Main descriptive text */
.southlands-info-main {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

/* Hours wrapper for visitors */
.southlands-hours-wrapper {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.southlands-hour-item {
    flex: 1;
    min-width: 140px;
    background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid #38a169;
}

.southlands-hour-item strong {
    display: block;
    color: #2d5016;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.southlands-hour-item p {
    margin: 0;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Sales schedule styling */
.southlands-sales-schedule {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.southlands-season {
    flex: 1;
    min-width: 160px;
    background: linear-gradient(135deg, #fef5e7 0%, #fed7aa 100%);
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid #f6ad55;
}

.southlands-season strong {
    display: block;
    color: #c05621;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.southlands-season p {
    margin: 0;
    color: #744210;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Contact methods */
.southlands-contact-methods {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.southlands-contact-method {
    flex: 1;
    min-width: 180px;
}

.southlands-contact-method strong {
    display: block;
    color: #2d5016;
    margin-bottom: 0.25rem;
}

.southlands-contact-method p {
    margin: 0;
}

.southlands-contact-link {
    color: #0891b2;
    text-decoration: none;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.southlands-contact-link:hover {
    background: rgba(8, 145, 178, 0.1);
    text-decoration: none;
}

.southlands-office-hours {
    color: #4a5568;
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* Notice/disclaimer styling */
.southlands-notice {
    background: rgba(254, 215, 170, 0.3);
    border: 1px solid rgba(246, 173, 85, 0.4);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.southlands-notice p {
    margin: 0;
    color: #744210;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Card-specific accent colors */
.southlands-visitors::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #38a169, #68d391);
    border-radius: 16px 16px 0 0;
}

.southlands-sales::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f6ad55, #fbb042);
    border-radius: 16px 16px 0 0;
}

.southlands-pumpkin::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ed8936, #f6ad55);
    border-radius: 16px 16px 0 0;
}

.southlands-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0891b2, #06b6d4);
    border-radius: 16px 16px 0 0;
}

/* Philosophy section - spans 2 columns on large screens */
.southlands-philosophy-section {
    grid-column: span 2;
}

.southlands-philosophy-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    border-left: 5px solid #4a5568;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.southlands-philosophy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.southlands-philosophy-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 3rem;
    color: #a0aec0;
    line-height: 1;
    font-family: Georgia, serif;
}

.southlands-philosophy-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-family: Georgia, serif;
}

.southlands-philosophy-card p:last-child {
    margin-bottom: 0;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

/* Large screens (3-4 cards per row) */
@media (min-width: 1200px) {
    .southlands-services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* Medium screens (2-3 cards per row) */
@media (min-width: 768px) and (max-width: 1199px) {
    .southlands-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .southlands-service-card {
        max-width: none;
        min-height: 230px;
    }
    
    .southlands-card-icon {
        width: 48px;
        height: 48px;
    }
    
    .southlands-card-title {
        font-size: 1.3rem;
    }
    
    .southlands-info-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .southlands-philosophy-section {
        grid-column: 1 / -1;
    }
}

/* Small tablets (2 cards per row) */
@media (min-width: 576px) and (max-width: 767px) {
    .southlands-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        padding: 1.5rem 0;
    }
    
    .southlands-service-card {
        padding: 1.8rem 1.2rem;
        min-height: 220px;
        max-width: none;
    }
    
    .southlands-card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }
    
    .southlands-card-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .southlands-card-description {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .southlands-card-info {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .southlands-info-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .southlands-philosophy-section {
        grid-column: 1;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .southlands-info-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .southlands-info-card {
        padding: 1.5rem;
    }
    
    .southlands-info-title {
        font-size: 2rem !important;
    }
    
    .southlands-title-icon {
        width: 32px;
        height: 32px;
    }
    
    .southlands-hours-wrapper,
    .southlands-sales-schedule,
    .southlands-contact-methods {
        flex-direction: column;
        gap: 1rem;
    }
    
    .southlands-hour-item,
    .southlands-season,
    .southlands-contact-method {
        min-width: unset;
    }
    
    .southlands-philosophy-section {
        grid-column: 1;
    }
    
    .southlands-philosophy-card {
        padding: 2rem;
    }
    
    .southlands-philosophy-card::before {
        font-size: 3rem;
        top: 1rem;
        left: 1.5rem;
    }
}

/* Mobile (1 card per row) */
@media (max-width: 575px) {
    .southlands-services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .southlands-service-card {
        padding: 2rem 1.5rem;
        min-height: 200px;
        max-width: 100%;
        margin: 0 10px;
    }
    
    .southlands-card-icon {
        width: 55px;
        height: 55px;
    }
    
    .southlands-card-title {
        font-size: 1.4rem;
    }
    
    .southlands-card-description {
        font-size: 1rem;
    }
    
    .southlands-info-section {
        padding: 0 0.5rem;
    }
    
    .southlands-info-card {
        padding: 1.25rem;
    }
    
    .southlands-info-title {
        font-size: 1.8rem !important;
        gap: 0.5rem;
    }
    
    .southlands-title-icon {
        width: 28px;
        height: 28px;
    }
    
    .southlands-philosophy-card {
        padding: 1.5rem;
    }
}

/* ================================
   ACCESSIBILITY & PRINT STYLES
   ================================ */

/* Accessibility improvements */
.southlands-service-card:focus {
    outline: 3px solid #68d391;
    outline-offset: 3px;
    transform: translateY(-5px);
}

.southlands-contact-link:focus {
    outline: 2px solid #0891b2;
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .southlands-service-card {
        transition: none;
    }
    
    .southlands-service-card:hover {
        transform: none;
    }
    
    .southlands-card-icon {
        transition: none;
    }
    
    .southlands-service-card:hover .southlands-card-icon {
        transform: none;
    }
    
    .southlands-service-card::before,
    .southlands-service-card::after {
        transition: none;
    }
    
    .southlands-info-card {
        transition: none;
    }
    
    .southlands-info-card:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .southlands-service-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .southlands-service-card:hover {
        transform: none;
    }
    
    .southlands-info-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .southlands-info-card:hover {
        transform: none;
    }
}