/* ========================================
   OR-KON KONVEYÖR - Professional Website
   Pastel Color Theme with Modern Design
   ======================================== */

/* CSS Variables - Pastel Orange Theme matching OR-KON logo */
:root {
    --primary: #E8956A;
    --primary-light: #F2B89C;
    --primary-dark: #C97A52;
    --secondary: #6B8E9B;
    --secondary-light: #A3C4D1;
    --accent: #F5D5C8;
    --bg-light: #FFF8F5;
    --bg-white: #FFFFFF;
    --bg-section: #FDF5F0;
    --text-dark: #2C3E50;
    --text-medium: #5A6B7D;
    --text-light: #8E9EAF;
    --border: #E8DDD6;
    --shadow: rgba(200, 122, 82, 0.12);
    --shadow-lg: rgba(200, 122, 82, 0.2);
    --gradient-1: linear-gradient(135deg, #E8956A 0%, #F2B89C 100%);
    --gradient-2: linear-gradient(135deg, #6B8E9B 0%, #A3C4D1 100%);
    --gradient-hero: linear-gradient(135deg, rgba(232,149,106,0.9) 0%, rgba(107,142,155,0.85) 100%);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius: 12px;
    --radius-lg: 20px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid var(--accent);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== HEADER / NAVBAR ========== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px var(--shadow);
    transition: var(--transition);
}

#navbar.scrolled {
    box-shadow: 0 4px 40px var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.nav-logo img {
    height: 55px;
    transition: var(--transition);
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a {
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-medium);
    border-radius: 8px;
    position: relative;
    letter-spacing: 0.3px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: var(--accent);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========== HERO / BANNER SLIDER ========== */
#hero {
    margin-top: 75px;
    position: relative;
    height: 70vh;
    min-height: 450px;
    max-height: 650px;
    overflow: hidden;
    background: var(--text-dark);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    max-width: 700px;
    padding: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-btn {
    display: inline-block;
    padding: 14px 36px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.6);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.hero-btn:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.6);
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* ========== SECTIONS ========== */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-section);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 4px;
    margin: 0 auto 15px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== ABOUT SECTION ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.about-image img {
    width: 100%;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-medium);
    margin-bottom: 15px;
    font-size: 0.98rem;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--accent);
    border-radius: 50px;
    color: var(--primary-dark);
    font-weight: 600;
    margin-top: 10px;
}

.about-badge .badge-icon {
    font-size: 1.5rem;
}

/* ========== PRODUCTS SECTION ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 25px var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px var(--shadow-lg);
}

.product-card-img {
    height: 200px;
    overflow: hidden;
    background: var(--bg-section);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-card-img img {
    transform: scale(1.08);
}

.product-card-body {
    padding: 20px;
}

.product-card-body h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-card-body p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.product-card-body .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
}

.product-card-body .card-link:hover {
    gap: 10px;
}

/* ========== GALLERY SECTION ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: 0 5px 20px var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(232, 149, 106, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    background: rgba(232, 149, 106, 0.6);
}

.gallery-overlay span {
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay span {
    opacity: 1;
    transform: scale(1);
}

/* ========== LIGHTBOX (Gallery & Products) ========== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 20000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

.lightbox.active {
    display: flex;
}

.lightbox-inner {
    position: relative;
    max-width: 900px;
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    z-index: 1;
}

.lightbox img#lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    object-fit: contain;
    margin: auto;
    display: block;
    background: #222;
}

.lightbox-close {
    position: fixed;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(0,0,0,0.5);
    border: none;
    font-family: inherit;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20001;
    line-height: 1;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    background: var(--primary);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255,255,255,0.12);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 20001;
    backdrop-filter: blur(4px);
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox-prev { left: 15px; }
.lightbox-next { right: 15px; }

.lightbox-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    z-index: 20001;
    background: rgba(0,0,0,0.5);
    padding: 6px 16px;
    border-radius: 20px;
}

/* ========== PRODUCT MODAL ========== */
.product-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.product-modal-overlay.active {
    display: block;
}

.product-modal {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    max-width: 750px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0,0,0,0.4);
    animation: modalFadeIn 0.35s ease;
    margin: 40px auto;
    position: relative;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.product-modal-header {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 400px;
    background: var(--bg-section);
}

.product-modal-header img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    background: var(--bg-section);
    padding: 10px;
}

.product-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
    line-height: 1;
}

.product-modal-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.product-modal-body {
    padding: 30px;
}

.product-modal-body h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.product-modal-body p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-modal-body .sub-products {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-modal-body .sub-products li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.product-modal-body .sub-products li:hover {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--primary-light);
    transform: translateX(4px);
}

.product-modal-body .sub-products li::before {
    content: '▸';
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ========== PRODUCTION SECTION ========== */
.production-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.production-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: 0 10px 40px var(--shadow);
}

.production-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.production-table {
    width: 100%;
}

.production-table tr td {
    padding: 8px 5px;
    font-size: 0.88rem;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.production-table tr td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    width: 35%;
    white-space: nowrap;
}

.production-images {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.production-images img {
    border-radius: var(--radius);
    box-shadow: 0 5px 20px var(--shadow);
    max-height: 250px;
}

/* ========== REFERENCES SECTION ========== */
.references-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.ref-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ref-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-white);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
    box-shadow: 0 2px 10px var(--shadow);
    transition: var(--transition);
}

.ref-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px var(--shadow-lg);
    color: var(--primary-dark);
}

.ref-item::before {
    content: '✦';
    color: var(--primary);
    font-size: 0.8rem;
}

.ref-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 50px var(--shadow-lg);
}

.ref-image img {
    width: 100%;
    transition: var(--transition);
}

.ref-image:hover img {
    transform: scale(1.03);
}

/* ========== CONTACT SECTION ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px var(--shadow-lg);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-form {
    background: var(--bg-white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px var(--shadow);
}

.contact-form h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-medium);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(232, 149, 106, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--gradient-1);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-lg);
}

.form-success {
    display: none;
    text-align: center;
    padding: 30px;
    color: #27ae60;
    font-weight: 600;
}

/* Map */
.contact-map {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    height: 350px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== FOOTER ========== */
#footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 15px;
    filter: brightness(2);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-links a {
    display: block;
    padding: 5px 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 5px 20px var(--shadow-lg);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* ========== PAGE TRANSITION ========== */
.page-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-content.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 40px var(--shadow-lg);
        transform: translateY(-120%);
        transition: var(--transition);
        gap: 5px;
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .about-grid,
    .production-grid,
    .references-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .ref-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 1.7rem; }
    .hero-content h1 { font-size: 1.7rem; }
    .hero-content p { font-size: 0.95rem; }
    #hero { height: 55vh; min-height: 350px; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .form-row { grid-template-columns: 1fr; }
    .production-images { flex-direction: column; align-items: center; }

    /* Lightbox Mobile */
    .lightbox { padding: 10px; }
    .lightbox img#lightbox-img { max-height: 70vh; border-radius: 8px; }
    .lightbox-nav { width: 40px; height: 40px; font-size: 1.5rem; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-close { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 1.6rem; }

    /* Product Modal Mobile */
    .product-modal-overlay { padding: 10px; }
    .product-modal { max-height: 92vh; border-radius: 14px; }
    .product-modal-header { max-height: 280px; }
    .product-modal-header img { max-height: 280px; }
    .product-modal-body { padding: 20px; }
    .product-modal-body h3 { font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .nav-container { height: 65px; }
    .nav-logo img { height: 42px; }
    #hero { margin-top: 65px; height: 45vh; }
    .hero-content h1 { font-size: 1.4rem; }
    .hero-btn { padding: 10px 24px; font-size: 0.85rem; }
    .section { padding: 40px 0; }
    .contact-form { padding: 20px; }
    .products-grid { grid-template-columns: 1fr; }

    /* Lightbox Small Mobile */
    .lightbox { padding: 5px; }
    .lightbox img#lightbox-img { max-height: 65vh; border-radius: 6px; }
    .lightbox-nav { width: 36px; height: 36px; font-size: 1.2rem; }
    .lightbox-prev { left: 5px; }
    .lightbox-next { right: 5px; }
    .lightbox-close { top: 8px; right: 8px; width: 34px; height: 34px; font-size: 1.4rem; }

    /* Product Modal Small Mobile */
    .product-modal-overlay { padding: 5px; }
    .product-modal { border-radius: 12px; }
    .product-modal-header { max-height: 220px; }
    .product-modal-header img { max-height: 220px; }
    .product-modal-body { padding: 16px; }
    .product-modal-body h3 { font-size: 1.1rem; }
    .product-modal-body .sub-products li { padding: 8px 10px; font-size: 0.85rem; }
}

/* ========== Honeypot (Anti-Spam) ========== */
.form-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

/* ========== Form Messages ========== */
.form-success, .form-error {
    display: none;
    padding: 14px 18px;
    border-radius: 10px;
    margin-top: 16px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    animation: fadeInMsg 0.3s ease;
}

.form-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #b1dfbb;
}

.form-error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 1px solid #f1b0b7;
}

@keyframes fadeInMsg {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

