/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #1e3a8a;
    --secondary-color: #f97316;
    --accent-color: #f8fafc;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --success-color: #059669;
    --white: #ffffff;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(59, 130, 246, 0.6) 100%);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Font Sizes */
    --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --fs-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --fs-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --fs-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --fs-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --fs-3xl: clamp(2rem, 1.7rem + 1.5vw, 3rem);
    --fs-4xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-subtitle {
    display: inline-block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-xs);
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: var(--fs-lg);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--fs-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-height: 48px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-loading .btn-text {
    opacity: 0;
}

.btn-loading .btn-loading {
    opacity: 1;
}

.btn .btn-loading {
    position: absolute;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid var(--accent-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--spacing-md);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: var(--z-fixed);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) var(--spacing-sm);
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-title {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    transition: left var(--transition-normal);
    z-index: var(--z-dropdown);
}

.nav-menu.show {
    left: 0;
}

.nav-list {
    display: flex;
    flex-direction: column;
    padding: var(--spacing-lg);
    gap: var(--spacing-md);
}

.nav-link {
    font-size: var(--fs-lg);
    font-weight: 500;
    color: var(--text-color);
    padding: var(--spacing-sm) 0;
    transition: color var(--transition-normal);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.nav-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    font-size: var(--fs-2xl);
    color: var(--text-color);
    cursor: pointer;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav-toggle-line {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all var(--transition-normal);
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: -1;
}

.hero-container {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: var(--fs-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-title-main {
    display: block;
    color: var(--white);
}

.hero-title-accent {
    display: block;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: var(--fs-xl);
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--secondary-color);
}

.hero-stat-text {
    font-size: var(--fs-sm);
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.hero-scroll-link {
    color: var(--white);
    opacity: 0.8;
    transition: opacity var(--transition-normal);
}

.hero-scroll-link:hover {
    opacity: 1;
}

.hero-scroll-text {
    display: block;
    font-size: var(--fs-sm);
    margin-bottom: var(--spacing-xs);
}

.hero-scroll-arrow {
    font-size: var(--fs-lg);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--accent-color);
}

.about-content {
    display: grid;
    gap: var(--spacing-2xl);
    align-items: center;
}

.about-description {
    font-size: var(--fs-lg);
    margin-bottom: var(--spacing-xl);
    color: var(--text-light);
}

.about-features {
    display: grid;
    gap: var(--spacing-lg);
}

.about-feature {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.about-feature-icon {
    font-size: var(--fs-2xl);
    flex-shrink: 0;
}

.about-feature-title {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.about-feature-text {
    color: var(--text-light);
}

.about-image {
    position: relative;
    text-align: center;
}

.about-img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.about-image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

/* ===== PRODUCTS SECTION ===== */
.products-grid {
    display: grid;
    gap: var(--spacing-xl);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-view-btn {
    background: var(--white);
    color: var(--primary-color);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.product-view-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.product-content {
    padding: var(--spacing-lg);
}

.product-title {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
}

.product-description {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.product-features {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.product-feature {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    font-weight: 500;
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose {
    background: var(--accent-color);
}

.why-choose-grid {
    display: grid;
    gap: var(--spacing-xl);
}

.why-choose-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.why-choose-icon {
    margin-bottom: var(--spacing-lg);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon {
    font-size: var(--fs-2xl);
}

.why-choose-title {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
}

.why-choose-description {
    color: var(--text-light);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-stars {
    margin-bottom: var(--spacing-lg);
}

.star {
    color: #fbbf24;
    font-size: var(--fs-lg);
    margin: 0 2px;
}

.testimonial-text {
    font-size: var(--fs-lg);
    font-style: italic;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: var(--fs-lg);
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.testimonial-role {
    color: var(--text-light);
    font-size: var(--fs-sm);
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.testimonial-nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    transition: background var(--transition-normal);
}

.testimonial-nav-btn.active {
    background: var(--primary-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== GALLERY SECTION ===== */
.gallery {
    background: var(--accent-color);
}

.gallery-grid {
    display: grid;
    gap: var(--spacing-md);
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-view-btn {
    background: var(--white);
    color: var(--primary-color);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.gallery-view-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    gap: var(--spacing-2xl);
    align-items: start;
}

.contact-info-title {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
}

.contact-info-description {
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
}

.contact-details {
    display: grid;
    gap: var(--spacing-lg);
}

.contact-detail {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.contact-detail-icon {
    font-size: var(--fs-xl);
    flex-shrink: 0;
}

.contact-detail-title {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.contact-detail-text {
    color: var(--text-light);
}

.contact-form {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    display: grid;
    gap: var(--spacing-md);
}

.form-field {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    font-size: var(--fs-base);
    transition: all var(--transition-normal);
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-label {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    color: var(--text-light);
    transition: all var(--transition-normal);
    pointer-events: none;
    background: var(--white);
    padding: 0 var(--spacing-xs);
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label,
.form-textarea:focus + .form-label,
.form-textarea:not(:placeholder-shown) + .form-label {
    top: -8px;
    left: var(--spacing-sm);
    font-size: var(--fs-sm);
    color: var(--primary-color);
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--spacing-md);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.footer-description {
    color: #9ca3af;
    max-width: 300px;
    margin: 0 auto;
}

.footer-links-title,
.footer-contact-title {
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.footer-links-list {
    display: grid;
    gap: var(--spacing-sm);
}

.footer-link {
    color: #9ca3af;
    transition: color var(--transition-normal);
}

.footer-link:hover {
    color: var(--secondary-color);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.footer-contact-icon {
    font-size: var(--fs-lg);
}

.footer-contact-text {
    color: #9ca3af;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid #374151;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-copyright {
    color: #9ca3af;
    font-size: var(--fs-sm);
}

.back-to-top {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--fs-lg);
    transition: all var(--transition-normal);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== PRODUCT MODAL ===== */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: var(--spacing-md);
}

.product-modal.show {
    opacity: 1;
    visibility: visible;
}

.product-modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

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

.product-modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--accent-color);
    color: var(--text-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: var(--fs-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal-close:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.product-modal-body {
    display: grid;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl);
}

.product-modal-image {
    text-align: center;
}

.product-modal-img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.product-modal-title {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
}

.product-modal-description {
    font-size: var(--fs-lg);
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.product-modal-specs,
.product-modal-features {
    margin-bottom: var(--spacing-xl);
}

.product-modal-specs-title,
.product-modal-features-title {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.product-modal-specs-title::before {
    content: "📋";
    font-size: var(--fs-lg);
}

.product-modal-features-title::before {
    content: "⭐";
    font-size: var(--fs-lg);
}

.product-modal-specs-list,
.product-modal-features-list {
    list-style: none;
    display: grid;
    gap: var(--spacing-sm);
}

.product-modal-specs-list li,
.product-modal-features-list li {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--accent-color);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition-normal);
}

.product-modal-specs-list li:hover,
.product-modal-features-list li:hover {
    background: #e0f2fe;
    transform: translateX(5px);
}

.product-modal-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.product-modal-actions .btn {
    flex: 1;
    min-width: 150px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    color: var(--white);
    font-size: var(--fs-3xl);
    cursor: pointer;
    transition: color var(--transition-normal);
}

.lightbox-close:hover {
    color: var(--secondary-color);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    padding: var(--spacing-md);
    font-size: var(--fs-2xl);
    cursor: pointer;
    border-radius: 50%;
    transition: all var(--transition-normal);
    pointer-events: all;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        left: 0;
    }
    
    .nav-list {
        flex-direction: row;
        padding: 0;
        gap: var(--spacing-lg);
    }
    
    .nav-close,
    .nav-toggle {
        display: none;
    }
    
    .hero-stats {
        gap: var(--spacing-2xl);
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-group {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        text-align: left;
    }
    
    .footer-brand {
        text-align: left;
    }
    
    .footer-logo {
        margin: 0 0 var(--spacing-md) 0;
    }
    
    /* Product Modal Responsive */
    .product-modal-body {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    
    .product-modal-actions .btn {
        flex: none;
        min-width: 140px;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: var(--spacing-3xl) 0 var(--spacing-3xl);
    }
    
    .hero-buttons {
        gap: var(--spacing-lg);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-link:focus,
.form-input:focus,
.form-textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --secondary-color: #ff4500;
        --text-color: #000000;
        --text-light: #333333;
    }
}

