/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    color: #d32f2f;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    line-height: 1;
}

.logo span {
    color: #f44336;
    font-size: 0.9rem;
    font-weight: 400;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #2d5a27;
}

.login-link {
    background: #2d5a27;
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.login-link:hover {
    background: #1a3d1a;
    color: white !important;
}

.language-switcher {
    margin-left: 1rem;
}

.language-switcher select {
    padding: 6px 12px;
    border: 2px solid #2d5a27;
    border-radius: 20px;
    background: white;
    color: #2d5a27;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-switcher select:hover {
    background: #f0f8f0;
}

.language-switcher select:focus {
    outline: none;
    border-color: #1a3d1a;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.contact-item i {
    color: #2d5a27;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2d5a27 0%, #6b8e23 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #fff;
    color: #2d5a27;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2d5a27;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Section Styles */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2d5a27;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

.about-features {
    display: grid;
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature i {
    font-size: 2.5rem;
    color: #2d5a27;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    color: #2d5a27;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Order Section */
.order {
    background: #f8f9fa;
}

.order-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.order-form {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.customer-info, .vegetables-selection, .order-summary, .terms-section {
    margin-bottom: 3rem;
}

.customer-info h3, .vegetables-selection h3, .order-summary h3, .terms-section h3 {
    color: #2d5a27;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #2d5a27;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

/* Vegetables Grid */
.vegetables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.vegetable-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.vegetable-card:hover {
    border-color: #2d5a27;
    transform: translateY(-2px);
}

.vegetable-card.selected {
    border-color: #2d5a27;
    background: #f0f8f0;
}

.vegetable-image {
    width: 80px;
    height: 80px;
    background: #e9ecef;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #2d5a27;
}

.vegetable-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.vegetable-options {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    align-items: center;
}

.unit-select {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    background: white;
}

.quantity-input {
    width: 60px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Order Summary */
.summary-items {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    min-height: 100px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
    border-bottom: none;
}

/* Terms Section */
.terms-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.terms-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.terms-content p:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    background: #2d5a27;
    color: white;
}

.contact h2 {
    color: white;
}

.contact-info-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item-detailed {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item-detailed i {
    font-size: 2rem;
    color: #6b8e23;
    margin-top: 0.5rem;
}

.contact-item-detailed h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-item-detailed p {
    line-height: 1.6;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1a3d1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: #6b8e23;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d5a27;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        align-items: center;
    }
    
    .logo {
        flex: 1;
        min-width: 120px;
    }
    
    .nav {
        flex: 2;
        min-width: 200px;
    }
    
    .nav ul {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav ul li {
        margin: 0.25rem;
    }
    
    .nav ul a {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
    
    .language-switcher {
        margin-left: 0.5rem;
    }
    
    .language-switcher select {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
    
    .contact-info {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .vegetables-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .order-form {
        padding: 2rem;
    }
    
    .contact-info-detailed {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .vegetables-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    /* Phone-specific header improvements */
    .header-content {
        padding: 0.5rem 0;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo {
        flex: none;
        text-align: center;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .nav {
        flex: none;
        width: 100%;
    }
    
    .nav ul {
        justify-content: center;
        gap: 0.25rem;
    }
    
    .nav ul a {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .contact-info {
        display: none; /* Hide contact info on very small screens */
    }
    
    .language-switcher {
        margin-left: 0.5rem;
    }
    
    .language-switcher select {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
    
    /* Mobile-specific order form improvements */
    .order-form {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .vegetable-card {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
        min-height: 80px;
        border-radius: 6px;
    }
    
    .vegetable-card h4 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
        line-height: 1.1;
    }
    
    .vegetable-card p {
        font-size: 0.7rem;
        margin-bottom: 0.2rem;
        line-height: 1.2;
    }
    
    .vegetable-image {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }
    
    .vegetable-options {
        flex-direction: column;
        gap: 0.3rem;
        align-items: stretch;
    }
    
    .unit-select, .quantity-input {
        width: 100%;
        padding: 4px;
        font-size: 0.8rem;
    }
    
    .form-group input, .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
    }
    
    .form-group label {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .summary-items {
        max-height: 200px;
        overflow-y: auto;
    }
    
    .summary-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Better touch targets for mobile */
    .vegetable-card {
        min-height: 90px;
    }
    
    /* Improve button sizing for mobile */
    .btn-primary, .btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
        min-height: 44px; /* Better touch target */
    }
    
    /* Better spacing for mobile */
    .customer-info, .vegetables-selection, .order-summary, .terms-section {
        margin-bottom: 2rem;
    }
    
    .terms-content {
        font-size: 0.9rem;
        line-height: 1.4;
    }
} 

.autocomplete {
  position: relative;
  width: 180px;
  display: inline-block;
}
.autocomplete-input {
  width: 100%;
  padding: 6px 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 180px;
  overflow-y: auto;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.autocomplete-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1rem;
}
.autocomplete-item:hover, .autocomplete-item.active {
  background: #f0f8f0;
  color: #2d5a27;
}
.autocomplete-empty {
  padding: 8px 12px;
  color: #888;
  font-size: 0.95rem;
} 