/* Soaring Eagle Grain Equipment - Canadian Style Website */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #003D5C;
    --secondary-color: #D4A017;
    --accent-color: #E74C3C;
    --light-bg: #F5F5F5;
    --dark-text: #1C1C1C;
    --border-color: #CCCCCC;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #FFFFFF;
}

/* Header and Navigation */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a5f7a 100%);
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
    background-color: var(--primary-color);
    padding: 10px 0;
    border-bottom: 3px solid var(--secondary-color);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), #F39C12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
}

/* Navigation Menu */
nav {
    display: flex;
    gap: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0;
}

nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 20px 18px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
    border-bottom: 3px solid transparent;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: var(--secondary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: var(--primary-color);
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 100%;
    left: 0;
    border-top: 3px solid var(--secondary-color);
}

.dropdown-menu a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(212, 160, 23, 0.2);
    padding-left: 25px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown > a::after {
    content: ' ▼';
    font-size: 10px;
    margin-left: 5px;
}

/* Contact Info */
.contact-info {
    display: flex;
    gap: 25px;
    align-items: center;
    font-size: 14px;
}

.contact-info a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 61, 92, 0.85), rgba(0, 61, 92, 0.85)),
                url('../images/4Sw54pwFE8SH.jpg') center/cover no-repeat;
    color: white;
    padding: 140px 20px;
    text-align: center;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 61, 92, 0.3) 100%);
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
    max-width: 900px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), #F39C12);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.5);
    background: linear-gradient(135deg, #F39C12, var(--secondary-color));
}

.cta-button.secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.cta-button.secondary:hover {
    background: var(--secondary-color);
    color: white;
}

/* Main Content */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styles */
section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

section:last-child {
    border-bottom: none;
}

section h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), #F39C12);
    border-radius: 2px;
}

section h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 20px;
}

section p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-badge {
    text-align: center;
    padding: 20px;
}

.trust-badge svg {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.trust-badge h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.trust-badge p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.about-text h3 {
    color: var(--secondary-color);
    font-size: 28px;
    margin-bottom: 20px;
}

.about-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--light-bg);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    margin-top: 0;
}

.product-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.product-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.product-link:hover {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--light-bg), white);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color), #1a5f7a);
    color: white;
    padding: 80px 20px;
}

.contact-section h2 {
    color: white;
}

.contact-section h2::after {
    background: linear-gradient(90deg, var(--secondary-color), #F39C12);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-item {
    text-align: center;
}

.contact-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #F39C12;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 40px 20px;
    text-align: center;
    border-top: 3px solid var(--secondary-color);
}

footer p {
    margin-bottom: 10px;
    color: #ccc;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #F39C12;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav a {
        padding: 15px 20px;
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.1);
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    section {
        padding: 50px 0;
    }

    section h2 {
        font-size: 28px;
    }

    .features-grid,
    .products-grid,
    .stats-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        width: 100%;
    }

    nav a {
        padding: 12px 15px;
        font-size: 13px;
    }

    .logo {
        font-size: 18px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .hero {
        padding: 60px 20px;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 16px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* Image Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Breadcrumb */
.breadcrumb {
    background-color: var(--light-bg);
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 5px;
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
    margin: 0 5px;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #999;
    margin: 0 5px;
}

