/* AIM Kosmotech - Light Orange Theme */

:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-light: #fed7aa;
    --secondary: #fb923c;
    --accent: #22c55e;
    --white: #ffffff;
    --light: #f8fafc;
    --light-surface: #f1f5f9;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    height: 45px;
}

.navbar-brand span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.navbar-nav a {
    color: var(--text-dark);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav a:hover {
    color: var(--primary);
    background: var(--light);
}

.navbar-nav .dropdown {
    position: relative;
}

.navbar-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.navbar-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-nav .dropdown-menu a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

.lang-switch {
    background: var(--light);
    border-radius: 8px;
    padding: 8px 16px !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Menu */
@media (max-width: 992px) {
    .navbar-toggler {
        display: block;
        z-index: 1002;
    }

    .navbar-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 30px;
        gap: 5px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .navbar-nav.active {
        transform: translateX(0);
    }

    .navbar-nav .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 20px;
    }
}

/* Mobile Menu Overlay - blurs page content */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 20px 80px;
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(251, 146, 60, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-background-image {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: url('../images/hero-background.png') center bottom / cover no-repeat;
    filter: blur(3px);
    opacity: 0.2;
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,1) 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,1) 100%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-light);
    border: 1px solid var(--primary);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    color: var(--gray-900);
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

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

/* Sections */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.1rem;
}

/* Cards */
.card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.4s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #fff;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.card-link:hover {
    gap: 12px;
}

/* Grid */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Features List */
.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.features-list li::before {
    content: '\2713';
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 24px;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    padding: 60px 0;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Product/Shop Items */
.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card-body {
    padding: 30px;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent);
}

.badge-secondary {
    background: var(--light);
    color: var(--gray-500);
}

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

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

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-control::placeholder {
    color: var(--gray-500);
}

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

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--light);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.contact-item h4 {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

/* Footer */
.footer {
    background: var(--gray-900);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    color: var(--gray-300);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand p {
    margin-top: 20px;
    max-width: 300px;
    color: var(--gray-500);
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #fff;
}

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

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

.footer-links a {
    color: var(--gray-500);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--gray-500);
    margin: 0;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Breadcrumb */
.breadcrumb {
    padding: 120px 0 40px;
    background: var(--light);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.breadcrumb-list li {
    color: var(--text-muted);
}

.breadcrumb-list li a {
    color: var(--text-muted);
}

.breadcrumb-list li a:hover {
    color: var(--primary);
}

.breadcrumb-list li::after {
    content: '/';
    margin-left: 10px;
    color: var(--gray-300);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list li:last-child {
    color: var(--primary);
}

/* Page Header */
.page-header {
    padding: 140px 0 60px;
    background: var(--light);
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    position: relative;
    margin-bottom: 20px;
}

.page-header p {
    position: relative;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Alerts */
.alert {
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--accent);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }
.py-5 { padding: 3rem 0; }

/* Map */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    display: block;
}

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

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

/* Shop Cards */
.shop-card {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.shop-card:hover {
    transform: translateY(-10px);
}

.shop-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
}

.shop-badge.available {
    background: rgba(34, 197, 94, 0.2);
    color: var(--accent);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.shop-badge.unavailable {
    background: var(--light);
    color: var(--gray-500);
    border: 1px solid var(--border-color);
}

.shop-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--light);
}

.shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.shop-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.shop-content {
    padding: 25px;
}

.shop-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.shop-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.shop-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.shop-category-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Product Gallery - Dynamic Height */
.product-gallery {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
}

.product-gallery .gallery-main {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    display: block;
    background: var(--light);
}

.product-gallery.no-image {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: var(--light);
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: var(--light);
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-thumb:hover {
    opacity: 0.9;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary);
}

/* Product Description */
.product-description {
    color: var(--text-muted);
    line-height: 1.8;
}

.product-description p {
    margin-bottom: 15px;
}

.product-description ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.product-description li {
    margin-bottom: 8px;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.breadcrumb-nav a {
    color: var(--text-muted);
}

.breadcrumb-nav a:hover {
    color: var(--primary);
}

.breadcrumb-nav span {
    color: var(--text-muted);
}

/* Shop Item Detail Page */
.shop-item-detail {
    background: var(--white);
}

.shop-item-info {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
}

.shop-item-info .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0;
}

.shop-item-info .availability {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.shop-item-info .availability.in-stock {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.shop-item-info .availability.out-of-stock {
    background: var(--light);
    color: var(--gray-500);
    border: 1px solid var(--border-color);
}

/* Inquiry Form Card */
.inquiry-card {
    background: var(--light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
}

.inquiry-card h3 {
    margin-bottom: 10px;
}

.inquiry-card p {
    margin-bottom: 20px;
}
