/* 
Theme Name: Green Farm
Arion Group S.A. Custom Styles
*/

:root {
    --arion-primary: #8cb926; /* Green from the farm theme */
    --arion-secondary: #2c4225; /* Dark foliage green */
    --arion-dark: #1b2612; /* Very dark green almost black */
    --arion-light: #f7f9f3;
    --arion-text: #455240;
    --arion-white: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Base resets for the template */
body.template-arion {
    font-family: var(--font-body);
    color: var(--arion-text);
    background-color: var(--arion-light);
    margin: 0;
    padding: 0;
}

.template-arion h1, .template-arion h2, .template-arion h3 {
    font-family: var(--font-heading);
    color: var(--arion-dark);
}

/* Hero Section */
.arion-hero {
    position: relative;
    padding: 150px 20px;
    background-image: url('https://images.unsplash.com/photo-1628102491629-77858ab5721d?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80'); /* Provisional biological agriculture image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--arion-white);
}

.arion-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(27, 38, 18, 0.6); /* Dark overlay */
    z-index: 1;
}

.arion-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.arion-hero h1 {
    color: var(--arion-white);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.arion-hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Buttons */
.arion-btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--arion-primary);
    color: var(--arion-white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--arion-primary);
}

.arion-btn:hover {
    background-color: transparent;
    color: var(--arion-primary);
}

/* Features / Services Section */
.arion-features {
    padding: 80px 20px;
    background-color: var(--arion-white);
    text-align: center;
}

.arion-features-header {
    margin-bottom: 60px;
}

.arion-features-header h4 {
    color: var(--arion-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.arion-features-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.arion-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.arion-card {
    flex: 1 1 300px;
    background: var(--arion-light);
    padding: 40px 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.arion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-bottom-color: var(--arion-primary);
}

.arion-card-icon {
    font-size: 3rem;
    color: var(--arion-primary);
    margin-bottom: 20px;
}

.arion-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Video Player Section (Like Green Farm) */
.arion-video-section {
    position: relative;
    padding: 120px 20px;
    background-image: url('https://images.unsplash.com/photo-1592982537447-6f2a6a0ba318?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.arion-video-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 66, 37, 0.7); /* Deep secondary green overlay */
    z-index: 1;
}

.arion-video-content {
    position: relative;
    z-index: 2;
    color: var(--arion-white);
    max-width: 700px;
}

.arion-video-content h2 {
    color: var(--arion-white);
    font-size: 2.8rem;
    margin-bottom: 30px;
}

.arion-play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background-color: var(--arion-primary);
    color: var(--arion-white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    animation: arion-pulse 2s infinite;
}

.arion-play-btn:hover {
    background-color: var(--arion-white);
    color: var(--arion-primary);
    animation: none;
}

.arion-play-btn i {
    margin-left: 5px; /* Offset the triangle slightly to look centered */
}

@keyframes arion-pulse {
    0% { box-shadow: 0 0 0 0 rgba(140, 185, 38, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(140, 185, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(140, 185, 38, 0); }
}

/* Modals for Video */
.arion-video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.arion-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 900px;
}

.arion-close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .arion-hero h1 { font-size: 2.5rem; }
    .arion-video-content h2 { font-size: 2rem; }
}
