/* Global Styles */
:root {
    --primary-color: #1E8449;
    --primary-dark: #196F3D;
    --primary-light: #D4EFDF;
    --accent-color: #F39C12;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --text-white: #FFFFFF;
    --bg-light: #F9F9F9;
    --bg-white: #FFFFFF;
    --bg-dark: #1C2833;
    --border-color: #E0E0E0;
    --success-color: #27AE60;
    --error-color: #E74C3C;
    --warning-color: #F1C40F;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

section {
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 16px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

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

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    border: 1px solid var(--primary-color);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
}

/* Header Styles */
header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary-color);
}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    background-color: var(--bg-white);
    padding: 100px 0;
    position: relative;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Services Section */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

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

/* How It Works Section */
.how-it-works {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.how-it-works .section-title,
.how-it-works .section-subtitle {
    color: var(--text-white);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.2);
}

.step-icon {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-white);
}

.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.step p {
    opacity: 0.9;
}

/* Gallery Section */
.gallery {
    background-color: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Hidden by default on mobile */
.hidden-mobile {
    display: none;
}

/* Only show on mobile */
.mobile-only {
    display: block;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.3s;
    background-color: var(--bg-white);
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background-color: #f5f5f5;
    padding: 10px;
    transition: transform 0.5s;
}

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

.gallery-item-info {
    padding: 15px;
    border-top: 1px solid var(--border-color);
}

.gallery-item-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.gallery-item-info p {
    font-size: 14px;
    color: var(--text-light);
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1010;
    overflow: auto;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: var(--bg-white);
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--text-white);
    font-size: 28px;
    cursor: pointer;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.5);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-content img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-content h3 {
    padding: 20px 20px 10px;
    font-size: 22px;
    color: var(--primary-color);
}

.modal-content p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* Quote Calculator Section */
.quote-calculator {
    background-color: var(--bg-light);
}

.quote-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.file-upload-container {
    padding: 20px;
}

.file-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 20px;
    transition: border-color 0.3s;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--primary-color);
}

.file-upload-area i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.file-upload-area h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.file-upload-area p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.file-input {
    display: none;
}

.stl-preview {
    height: 300px;
    background-color: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.quote-options {
    padding: 30px;
    background-color: var(--primary-dark);
    color: var(--text-white);
    background-image: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.option-group {
    margin-bottom: 20px;
}

.option-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.radio-buttons {
    display: flex;
    gap: 15px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-label input {
    margin-right: 8px;
}

.option-group select,
.option-group input[type="number"] {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

/* Fix for dropdown options (white text on white background) */
.option-group select option {
    background-color: white;
    color: black;
}

/* Style dropdown hover/focus state */
.option-group select option:hover,
.option-group select option:focus,
.option-group select option:active,
.option-group select option:checked {
    background-color: var(--primary-color) !important;
    color: white !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Special styles for color select to show active color */
#color-select {
    font-weight: bold;
}

.price-display {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.price-display h3 {
    margin-bottom: 5px;
    font-size: 16px;
}

.price-display p {
    font-size: 28px;
    font-weight: bold;
}

.quote-options .btn-primary {
    width: 100%;
    background-color: var(--accent-color);
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.quote-options .btn-primary:hover {
    background-color: #E67E22;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.faq {
    background-color: var(--bg-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 20px;
    background-color: var(--bg-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 15px 20px;
    max-height: 200px;
}

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

/* Contact Section */
.contact {
    background-color: var(--bg-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.contact-info {
    background-color: var(--primary-dark);
    padding: 30px;
    border-radius: 8px;
    color: var(--text-white);
    background-image: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 20px;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item .fa-whatsapp {
    color: white; /* Changed from green to white to match theme */
}

.whatsapp-link {
    color: inherit; /* Inherit white color from parent */
    text-decoration: none;
    transition: color 0.3s;
}

.whatsapp-link:hover {
    opacity: 0.8; /* Subtle hover effect that matches the theme better */
    text-decoration: underline;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.contact-form {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 60px 0 20px;
}

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

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-white);
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-newsletter h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-newsletter p {
    margin-bottom: 20px;
    opacity: 0.7;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: inherit;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    padding: 0 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .quote-form {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* On desktop, show all gallery items and hide the button */
@media (min-width: 768px) {
    .hidden-mobile {
        display: block;
    }
    
    .mobile-only {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

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

    .section-title {
        font-size: 28px;
    }

    nav ul {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav.mobile-active ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    nav.mobile-active ul li {
        margin: 10px 0;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

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