:root {
    primary: #2c3e50;
    accent: #d4af37;
    bg: #f4f7f6;
    text: #333;
}

/* 1. Core Layout */
body {
    font-family: 'Abel', sans-serif;
    margin: 0;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    display: block; 
}

header {
    background: white;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo { height: 50px; }

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--primary);
    font-weight: bold;
}

/* 2. Content & Typography */
.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
}

.hero h2 {
    min-height: 1.0em;
    margin-bottom: 8px;
    font-size: 28px;
}

.container p {
    font-size: 18px;
    margin-bottom: 10px;
}

/* 3. Grid & Cards */
.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.company-card, .keywords-card {
    flex: 1 1 48%;
    min-width: 300px;
}

.keywords-card {
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 8px;
}

.keywords-card ul { list-style: none; padding: 0; }
.keywords-card li { margin-bottom: 8px; border-left: 3px solid var(--accent); padding-left: 10px; }

/* 4. Table Mobile Fix */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

#customers {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

#customers th, #customers td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    font-size: 14px;
}

#customers th {
    background-color: var(--primary);
    color: white;
}

/* 5. Carousel Box & Labels */
.carousel-container {
    width: 90%;
    max-width: 1000px; 
    height: 520px;    
    position: relative;
    margin: 40px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    background-color: #000;
}

.slide-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slide-wrapper.active {
    opacity: 1;
}

.slide-wrapper img {
    width: 100%;
    height: 82%;
    object-fit: contain;
}

.slide-label-below {
    margin-top: 6px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    background: rgba(0, 0, 0, 0.65);
    padding: 4px 12px;
    border-radius: 4px;
    z-index: 5;
}

.dots-container {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active { background-color: var(--accent); }

/* 6. Video Section */
.video-section {
    margin: 40px auto;
    text-align: center;
}

.video-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

video {
    width: 100%;
    height: auto;
    display: block;
}

.farm-section-container {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
}

.farm-box {
    flex: 1;
    padding: 20px;
    width: 500px;
}

/* 7. Footer */
footer {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer a {
    line-height: 1.2;
    font-size: 14px;
}

/* 8. Mobile Adjustments */
@media (max-width: 768px) {
    header { flex-direction: column; text-align: center; }
    nav { margin-top: 15px; }
    .carousel-container { 
        width: 100%; 
        height: 260px; 
    }
    .slide-wrapper img {
        height: 75%;
    }
    .slide-label-below {
        font-size: 0.85rem;
        padding: 2px 8px;
    }
    .info-grid { flex-direction: column; }
    .company-card, .keywords-card { flex: 1 1 100%; }
}