﻿/* ================= FUTURA AGRO CHEMICALS - CONTACT PAGE ================= */
/* Professional, Modern, Responsive Design */

/* ----- CSS Variables ----- */
:root {
    --futura-primary: #2d6a2d;
    --futura-primary-dark: #1e4a1e;
    --futura-primary-light: #4a8a4a;
    --futura-primary-bg: #e8f5e8;
    --futura-secondary: #8B5A2B;
    --futura-text-dark: #1a2e1a;
    --futura-text-muted: #5a6b5a;
    --futura-text-light: #8a9a8a;
    --futura-bg-light: #fafcf8;
    --futura-white: #ffffff;
    --futura-border: #e8ede8;
    --futura-success: #4caf50;
    --futura-error: #f44336;
    --futura-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --futura-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --futura-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
    --futura-shadow-hover: 0 12px 28px rgba(45, 106, 45, 0.15);
    --futura-radius-sm: 12px;
    --futura-radius-md: 16px;
    --futura-radius-lg: 20px;
    --futura-radius-xl: 30px;
    --futura-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Reset & Base ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--futura-white);
    color: var(--futura-text-dark);
    line-height: 1.5;
}

/* ----- Hero Section ----- */
.futura-hero {
    height: 380px;
    background: linear-gradient(135deg, #1a3a1a 0%, #2d6a2d 50%, #3a7a3a 100%);
    position: relative;
    overflow: hidden;
}

    .futura-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/Content/Images/cotton1.jpg');
        background-repeat: no-repeat;
        background-position: bottom;
        background-size: cover;
        opacity: 0.4;
    }

    .futura-hero::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 70%);
        pointer-events: none;
    }

.futura-hero-overlay {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.futura-hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--futura-white);
    margin-bottom: 18px;
    letter-spacing: -1.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.futura-hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.92);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ----- Animations ----- */
.fade-up {
    animation: futuraFadeUp 0.7s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes futuraFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----- Container ----- */
.futura-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ----- Contact Cards Section ----- */
.futura-cards {
    padding: 70px 0 40px;
    background: var(--futura-bg-light);
}

.futura-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.futura-card {
    background: var(--futura-white);
    padding: 32px 24px;
    border-radius: var(--futura-radius-lg);
    text-align: center;
    box-shadow: var(--futura-shadow-sm);
    transition: var(--futura-transition);
    border: 1px solid var(--futura-border);
    position: relative;
    overflow: hidden;
}

    .futura-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--futura-primary), var(--futura-primary-light));
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    .futura-card:hover::before {
        transform: scaleX(1);
    }

    .futura-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--futura-shadow-hover);
        border-color: transparent;
    }

.futura-card-icon {
    font-size: 48px;
    margin-bottom: 18px;
    display: inline-block;
}

.futura-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--futura-primary-dark);
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.futura-card p {
    font-size: 14px;
    color: var(--futura-text-muted);
    line-height: 1.6;
}

.futura-card .small-text {
    font-size: 12px;
    color: var(--futura-text-light);
    margin-top: 8px;
}

/* ----- Main Contact Section ----- */
.futura-main-contact {
    padding: 60px 0 90px;
    background: var(--futura-white);
}

.futura-contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

/* Left Side - Info */
.futura-contact-info {
    background: linear-gradient(145deg, var(--futura-bg-light) 0%, #f8faf8 100%);
    border-radius: var(--futura-radius-lg);
    padding: 40px;
    border: 1px solid var(--futura-border);
    transition: var(--futura-transition);
}

    .futura-contact-info:hover {
        box-shadow: var(--futura-shadow-md);
    }

.futura-info-header {
    margin-bottom: 32px;
}

.futura-badge {
    display: inline-block;
    background: var(--futura-primary-bg);
    color: var(--futura-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: var(--futura-radius-xl);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.futura-info-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--futura-text-dark);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.futura-info-header p {
    color: var(--futura-text-muted);
    line-height: 1.6;
    font-size: 15px;
}

/* Hours Section */
.futura-hours {
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--futura-border);
}

    .futura-hours h3 {
        font-size: 18px;
        font-weight: 700;
        color: var(--futura-text-dark);
        margin-bottom: 18px;
    }

.futura-hours-list {
    list-style: none;
    padding: 0;
}

    .futura-hours-list li {
        display: flex;
        justify-content: space-between;
        padding: 12px 0;
        border-bottom: 1px dashed var(--futura-border);
        font-size: 14px;
        color: var(--futura-text-muted);
    }

        .futura-hours-list li:last-child {
            border-bottom: none;
        }

        .futura-hours-list li span {
            font-weight: 600;
            color: var(--futura-text-dark);
        }

/* Social Section */
.futura-social h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--futura-text-dark);
    margin-bottom: 18px;
}

.futura-social-icons {
    display: flex;
    gap: 14px;
}

.futura-social-icon {
    width: 44px;
    height: 44px;
    background: var(--futura-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 22px;
    transition: var(--futura-transition);
    box-shadow: var(--futura-shadow-sm);
    border: 1px solid var(--futura-border);
}

    .futura-social-icon:hover {
        background: var(--futura-primary);
        transform: translateY(-4px);
        box-shadow: var(--futura-shadow-md);
    }

/* Right Side - Form */
.futura-contact-form {
    background: var(--futura-white);
    border-radius: var(--futura-radius-lg);
    padding: 40px;
    box-shadow: var(--futura-shadow-md);
    border: 1px solid var(--futura-border);
}

    .futura-contact-form h2 {
        font-size: 28px;
        font-weight: 700;
        color: var(--futura-text-dark);
        margin-bottom: 28px;
        letter-spacing: -0.3px;
    }

.futura-success-message {
    background: linear-gradient(135deg, #d4edda, #c8e6c9);
    color: #155724;
    padding: 14px 20px;
    border-radius: var(--futura-radius-sm);
    margin-bottom: 28px;
    font-size: 14px;
    border-left: 4px solid var(--futura-success);
}

.futura-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.futura-form-group {
    margin-bottom: 22px;
}

    .futura-form-group label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: var(--futura-text-dark);
        margin-bottom: 8px;
    }

    .futura-form-group input,
    .futura-form-group select,
    .futura-form-group textarea {
        width: 100%;
        padding: 13px 16px;
        border: 1.5px solid var(--futura-border);
        border-radius: var(--futura-radius-sm);
        font-size: 14px;
        font-family: inherit;
        transition: var(--futura-transition);
        background: var(--futura-white);
    }

        .futura-form-group input:focus,
        .futura-form-group select:focus,
        .futura-form-group textarea:focus {
            outline: none;
            border-color: var(--futura-primary);
            box-shadow: 0 0 0 3px rgba(45, 106, 45, 0.12);
        }

        .futura-form-group input.error,
        .futura-form-group select.error,
        .futura-form-group textarea.error {
            border-color: var(--futura-error);
        }

.error-message {
    display: block;
    font-size: 11px;
    color: var(--futura-error);
    margin-top: 6px;
}

.futura-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--futura-primary) 0%, var(--futura-primary-dark) 100%);
    color: var(--futura-white);
    border: none;
    padding: 15px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--futura-radius-xl);
    cursor: pointer;
    transition: var(--futura-transition);
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

    .futura-submit-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .futura-submit-btn:hover::before {
        width: 300px;
        height: 300px;
    }

    .futura-submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(45, 106, 45, 0.35);
    }

    .futura-submit-btn:active {
        transform: translateY(0);
    }

    .futura-submit-btn:disabled {
        opacity: 0.7;
        cursor: wait;
        transform: none;
    }

/* ----- Map Section ----- */
.futura-map {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.futura-map-container {
    width: 100%;
    height: 100%;
}

    .futura-map-container iframe {
        width: 100%;
        height: 100%;
        border: none;
        filter: grayscale(0.15) contrast(1.05);
        transition: filter 0.5s ease;
    }

.futura-map:hover .futura-map-container iframe {
    filter: grayscale(0) contrast(1);
}

.futura-map-text {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

    .futura-map-text p {
        display: inline-block;
        background: rgba(0, 0, 0, 0.75);
        color: white;
        padding: 10px 24px;
        border-radius: 40px;
        font-size: 13px;
        font-weight: 500;
        backdrop-filter: blur(8px);
        letter-spacing: 0.5px;
    }

/* ================= RESPONSIVE DESIGN ================= */

/* Desktop Medium (max 1200px) */
@media (max-width: 1200px) {
    .futura-cards-grid {
        gap: 20px;
    }

    .futura-contact-wrapper {
        gap: 40px;
    }
}

/* Tablet Landscape (max 1024px) */
@media (max-width: 1024px) {
    .futura-hero {
        height: 320px;
    }

    .futura-hero-content h1 {
        font-size: 46px;
    }

    .futura-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .futura-contact-wrapper {
        gap: 32px;
    }

    .futura-info-header h2 {
        font-size: 28px;
    }
}

/* Tablet Portrait (max 768px) */
@media (max-width: 768px) {
    .futura-hero {
        height: 280px;
    }

    .futura-hero-content h1 {
        font-size: 36px;
    }

    .futura-hero-content p {
        font-size: 15px;
        padding: 0 24px;
    }

    .futura-cards {
        padding: 50px 0 30px;
    }

    .futura-contact-wrapper {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .futura-contact-info {
        order: 2;
        padding: 32px;
    }

    .futura-contact-form {
        order: 1;
        padding: 32px;
    }

    .futura-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .futura-contact-form h2 {
        font-size: 24px;
    }

    .futura-info-header h2 {
        font-size: 26px;
    }

    .futura-map {
        height: 350px;
    }
}

/* Mobile (max 576px) */
@media (max-width: 576px) {
    .futura-hero {
        height: 240px;
    }

    .futura-hero-content h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .futura-hero-content p {
        font-size: 13px;
    }

    .futura-cards {
        padding: 40px 0 20px;
    }

    .futura-container {
        padding: 0 16px;
    }

    .futura-cards-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .futura-card {
        padding: 24px 20px;
    }

    .futura-main-contact {
        padding: 40px 0 60px;
    }

    .futura-contact-wrapper {
        padding: 0 16px;
        gap: 28px;
    }

    .futura-contact-info,
    .futura-contact-form {
        padding: 24px 20px;
    }

    .futura-hours-list li {
        flex-direction: column;
        gap: 5px;
    }

    .futura-submit-btn {
        padding: 13px 24px;
        font-size: 15px;
    }

    .futura-map {
        height: 280px;
    }

    .futura-map-text p {
        padding: 7px 18px;
        font-size: 11px;
    }
}

/* Small Mobile (max 375px) */
@media (max-width: 375px) {
    .futura-hero-content h1 {
        font-size: 24px;
    }

    .futura-info-header h2 {
        font-size: 22px;
    }

    .futura-contact-form h2 {
        font-size: 20px;
    }

    .futura-card-icon {
        font-size: 40px;
    }
}
