/* 5F Products - Main Stylesheet */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    height: 50px;
    cursor: pointer;
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #5C4220;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #46B548;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(92, 66, 32, 0.05);
    padding: 0.25rem;
    border-radius: 50px;
}

.lang-btn {
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: 0.3s;
    opacity: 0.6;
}

.lang-btn img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.lang-btn.active {
    background: white;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lang-btn:hover {
    opacity: 1;
    transform: scale(1.05);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #5C4220;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu-wrapper {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.1);
        padding: 2rem 0;
        gap: 2rem;
    }

    .nav-menu-wrapper.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
    }

    .nav-menu a {
        padding: 1rem;
        display: block;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #5C4220 0%, #727246 50%, #46B548 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-100px) translateX(100px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    animation: slideDown 0.8s ease-out;
}

.hero-tagline {
    font-size: 1.5em;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-tagline strong {
    color: #fff;
    font-weight: 700;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-subtitle {
    font-size: 1em;
    opacity: 0.9;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #5C4220;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: #f0f0f0;
}

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

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #5C4220;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #46B548, #727246);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Scales Section */
.scales {
    background: white;
    padding: 40px 20px;
    text-align: center;
}

.scales-title {
    color: #5C4220;
    font-size: 2em;
    margin-bottom: 10px;
}

.scale-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.scale-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: transparent;
    color: #5C4220;
    font-weight: 700;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    border-bottom: 3px solid #46B548;
}

/* About Section */
.about-section {
    background: white;
    padding: 80px 20px;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
}

.about-intro {
    font-size: 1.3em;
    color: #5C4220;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #f8f8f8, #fff);
    border-radius: 15px;
    border: 2px solid #46B548;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(70, 181, 72, 0.2);
}

.stat-number {
    font-size: 3em;
    font-weight: bold;
    color: #46B548;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1em;
    color: #5C4220;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .stat-item {
        flex: 1;
    }
}

@media (max-width: 640px) {
    .about-stats {
        flex-direction: column;
    }
}

/* Product Categories */
.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    flex: 1 1 280px;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #46B548;
}

.category-card:focus-visible {
    outline: 3px solid #46B548;
    outline-offset: 3px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #46B548;
}

.category-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.category-card h3 {
    color: #5C4220;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.category-card ul {
    list-style: none;
    color: #666;
}

.category-card li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}

.category-card li:last-child {
    border-bottom: none;
}

.category-card li:hover {
    color: #46B548;
    padding-left: 10px;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 60px 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.feature-item h4 {
    color: #5C4220;
    margin-bottom: 10px;
    font-size: 1.3em;
}

/* Contact Section */
.contact-section {
    background: white;
    padding: 80px 20px;
}

.contact-intro {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 50px;
}

.contact-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    max-width: 800px;
    background: linear-gradient(135deg, #f8f8f8, #fff);
    border-radius: 15px;
    border: 2px solid #46B548;
    padding: 35px;
}

.contact-info {
    background: linear-gradient(135deg, #f8f8f8, #fff);
    border-radius: 15px;
    border: 2px solid #46B548;
    padding: 35px;
}

.contact-info h3 {
    color: #5C4220;
    margin-bottom: 25px;
    font-size: 1.3em;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    font-size: 1.4em;
    line-height: 1.5;
}

.contact-info-item p {
    color: #555;
    line-height: 1.5;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #5C4220;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #B1B1B0;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #46B548;
    box-shadow: 0 0 0 3px rgba(70, 181, 72, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #46B548, #727246);
    color: white;
    border: none;
    padding: 15px 50px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(70, 181, 72, 0.3);
    display: block;
    margin: 30px auto 0;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(70, 181, 72, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Footer */
footer {
    background: #5C4220;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlide 0.3s ease-out;
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2em;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.close-modal:hover {
    color: #5C4220;
}

/* Modal Body Styles */
.modal-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.modal-title {
    color: #5C4220;
    margin-bottom: 30px;
}

.modal-product-list {
    list-style: none;
    text-align: left;
}

.modal-product-list li {
    padding: 12px;
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 1.1em;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }
    
    .hero p {
        font-size: 1em;
    }
    
    .section-title {
        font-size: 1.8em;
    }
}
