/* ABI Vending Website Styles */
:root {
    --primary: #0A2540;
    --accent: #FF6B00;
    --accent-light: #FF8C33;
    --blue-glow: #00B4D8;
    --text: #1A1A2E;
    --text-light: #555;
    --bg: #FFFFFF;
    --bg-alt: #F8F9FB;
    --card-shadow: 0 10px 40px rgba(10, 37, 64, 0.08);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(10, 37, 64, 0.08);
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 800;
    font-size: 1.6rem;
    display: flex;
    gap: 4px;
}

.logo-abi {
    color: var(--primary);
}

.logo-vending {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    gap: 16px;
    z-index: 999;
}

.nav-cta {
    margin-left: 16px;
}

@media (max-width: 900px) {
    .nav-cta {
        display: none;
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: #E55A00;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Hero */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #F8F9FB 0%, #FFFFFF 100%);
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 16px;
}

.hero h1 .accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.section-header p.one-line {
    white-space: nowrap;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.about-features {
    list-style: none;
    margin-top: 20px;
}

.about-features li {
    padding: 6px 0;
}

.about-features li::before {
    content: "✓ ";
    color: var(--accent);
    font-weight: bold;
}

.about-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.icon-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-alt);
    border-radius: 12px;
}

.icon-img-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
}

.icon-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icon-item h4 {
    color: var(--primary);
    margin-bottom: 4px;
}

.icon-item p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Products */
.products {
    background: var(--bg-alt);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    color: var(--primary);
    margin: 16px 16px 8px;
}

.product-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0 16px 16px;
}

/* Machines */
.machines {
    background: white;
    padding: 80px 0;
}

.machines-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.machine-card {
    background: var(--bg-alt);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.machine-img {
    width: 100%;
    height: 420px;
    display: block;
    object-fit: cover;
    object-position: center;
    background: #f8f9fb;
}

.machine-card h3 {
    color: var(--primary);
    margin: 20px 24px 12px;
}

.machine-card p {
    color: var(--text-light);
    margin: 0 24px 16px;
    font-size: 0.95rem;
}

.machine-card ul {
    list-style: none;
    margin: 0 24px 24px;
    padding: 0;
}

.machine-card li {
    padding: 4px 0;
    font-size: 0.9rem;
}

.machine-card li::before {
    content: "✓ ";
    color: var(--accent);
    font-weight: bold;
}

/* Host */
.host {
    background: var(--bg-alt);
}

.host-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.host-benefits h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--primary);
}

.benefit {
    margin-bottom: 24px;
}

.benefit h4 {
    color: var(--accent);
    margin-bottom: 6px;
}

.benefit p {
    color: var(--text-light);
}

.host-form-card {
    background: white;
    padding: 36px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.host-form-card h3 {
    margin-bottom: 24px;
    color: var(--primary);
}

/* Contact */
.contact {
    background: linear-gradient(135deg, var(--primary) 0%, #1A3A5C 100%);
    color: white;
    padding: 80px 0;
}

.contact .section-header h2,
.contact .section-header p {
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info .info-item {
    margin-bottom: 24px;
}

.contact-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact .contact-form input,
.contact .contact-form textarea,
.contact .contact-form select {
    background: rgba(255,255,255,0.95);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 12px;
    text-align: center;
}

/* Footer */
footer {
    background: #061525;
    color: #ccc;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand .logo-abi {
    color: #FFFFFF;
}

.footer-brand .logo-vending {
    color: var(--accent);
}

.footer-brand p {
    color: #e0e0e0;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 2.6rem;
    }

    .about-grid,
    .host-grid,
    .contact-grid,
    .machines-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p.one-line {
        white-space: normal;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 110px 0 50px;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        text-align: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .about-icons {
        grid-template-columns: 1fr;
    }

    .machine-img {
        height: 300px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .container {
        padding: 0 20px;
    }
}
