/* Global Styles */
:root {
    --primary-color: #27ae60;
    /* Agricultural Green */
    --secondary-color: #2c3e50;
    /* Dark Blue-Grey */
    --accent-color: #e67e22;
    /* Orange Accent */
    --text-light: #f5f6fa;
    --text-dark: #2f3640;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: #dcdde1;
    /* Light concrete grey */
    color: var(--text-dark);
    line-height: 1.6;
}

html[dir="ltr"] .nav a {
    margin-left: 0;
    margin-right: 20px;
}

html[dir="ltr"] .lang-switcher {
    margin-right: 0;
    margin-left: 20px;
}

html[dir="ltr"] .contact-info i {
    margin-left: 0;
    margin-right: 10px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 20px 0;
    border-bottom: 5px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav a {
    color: var(--text-light);
    margin-left: 20px;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary-color);
}

.lang-switcher {
    margin-right: 20px;
}

.lang-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.lang-btn:hover {
    background-color: var(--accent-color);
    color: var(--text-light);
    transform: scale(1.05);
}

.lang-btn i {
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(47, 54, 64, 0.7), rgba(47, 54, 64, 0.7)), url('hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px #000;
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* GUI Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border: 2px solid var(--primary-color);
    text-transform: uppercase;
    transition: all 0.3s;
    display: inline-block;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 0 20%);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--text-light);
    font-weight: bold;
    border: none;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    transition: background 0.3s;
}

.btn-secondary:hover {
    background-color: var(--accent-color);
}

/* Stats Section */
.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 50px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stat-box {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 30px 50px;
    text-align: center;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.stat-box h3 {
    font-size: 2.5rem;
}

/* Section Common */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin: 0 auto 60px auto;
    position: relative;
    display: block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 5px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

.section-title.light-text {
    color: var(--text-light);
}

/* Products Grid */
.grid-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
    border-bottom: 5px solid var(--secondary-color);
}

.product-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
}

.product-img {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Services */
.services {
    background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.85)), url('service.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-light);
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 90%);
    padding: 120px 0;
    position: relative;
}

.services-list {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
}

.service-item {
    padding: 20px;
    max-width: 300px;
}

.service-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-item h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background-color: #ececec;
    padding: 40px;
    border-left: 10px solid var(--primary-color);
}

.contact-info-section {
    display: flex;
    align-items: center;
}

.contact-info {
    width: 100%;
}

.contact-info i {
    color: var(--accent-color);
    margin-left: 10px;
    font-size: 1.2rem;
    width: 25px;
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.contact-info a {
    color: var(--secondary-color);
    transition: color 0.3s;
    display: inline-block;
}

.contact-info a[dir="ltr"] {
    direction: ltr;
    text-align: left;
    font-family: 'Courier New', monospace;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.map-section {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
}

.footer {
    background-color: #1e272e;
    color: #808e9b;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .lang-switcher {
        margin-right: 0;
        margin-top: 10px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .stats {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
        clip-path: none;
    }

    .stat-box {
        width: 80%;
        clip-path: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .contact-info p {
        font-size: 1.1rem;
    }
    
    .map-section {
        min-height: 250px;
    }
    
    .map-section iframe {
        min-height: 250px;
    }

    .services {
        clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 95%);
    }
    
    .services-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .service-box {
        max-width: 100%;
        width: 100%;
    }
}

/* New Sections CSS */
.light-bg {
    background-color: #f5f6fa;
}

.services-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.service-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 400px;
}

.service-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.gallery-section {
    background-color: #2f3640;
    color: #fff;
}

.video-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.video-item {
    position: relative;
    width: 45%;
    max-width: 500px;
    cursor: pointer;
    border: 3px solid var(--primary-color);
}

.video-item img {
    width: 100%;
    display: block;
    opacity: 0.8;
    transition: 0.3s;
}

.video-item:hover img {
    opacity: 1;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #fff;
    text-shadow: 2px 2px 5px #000;
    z-index: 2;
}