/* LOLIK Enterprises LLC - Le Labo Inspired Minimalist Design */

:root {
    --primary-color: #000000;
    --primary-light: #333333;
    --secondary-color: #666666;
    --accent-color: #999999;
    --success-color: #000000;
    --warning-color: #666666;
    --danger-color: #000000;
    --light-gray: #f8f8f8;
    --medium-gray: #e8e8e8;
    --dark-gray: #cccccc;
    --text-primary: #000000;
    --text-secondary: #666666;
    --text-light: #999999;
    --background: #ffffff;
    --surface: #fcfcfc;
    --border-color: #e8e8e8;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 2px 8px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--background);
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* Typography - Le Labo Inspired */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

h1 {
    font-size: 3rem;
    font-weight: 200;
    letter-spacing: 0.05em;
}
h2 {
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 0.03em;
}
h3 {
    font-size: 1.8rem;
    font-weight: 300;
}
h4 {
    font-size: 1.4rem;
    font-weight: 400;
}
h5 {
    font-size: 1.2rem;
    font-weight: 400;
}
h6 {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Layout - Minimalist Grid */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-fluid {
    padding: 0 40px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }

.col-12, .col-6, .col-4, .col-3,
.col-md-4, .col-md-6, .col-md-12,
.col-lg-3, .col-lg-4, .col-lg-6, .col-lg-12 {
    padding: 0 20px;
}

/* Responsive columns for medium screens (tablets) */
@media (min-width: 768px) {
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

/* Responsive columns for large screens (desktops) */
@media (min-width: 992px) {
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

/* Header - Minimalist Navigation */
.navbar {
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--primary-color) !important;
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    display: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.nav-item {
    margin: 0 30px;
}

.nav-link {
    color: var(--text-primary) !important;
    text-decoration: none;
    padding: 12px 0;
    font-weight: 300;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.nav-link:hover {
    color: var(--text-secondary) !important;
    border-bottom-color: var(--text-secondary);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 180px;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    background-color: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1.5rem;
    clear: both;
    font-weight: 300;
    color: var(--text-primary);
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--light-gray);
    color: var(--text-primary);
}

/* Hero Section - Minimalist */
.hero {
    background: var(--background);
    color: var(--text-primary);
    padding: 180px 0 120px;
    text-align: left;
    margin-top: 80px;
    border-bottom: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 200;
    margin-bottom: 3rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 800px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
}

.hero .btn {
    margin-right: 2rem;
}

/* Buttons - Minimalist */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--primary-color);
    text-decoration: none;
    font-weight: 300;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--background);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--background);
    color: var(--primary-color);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--background);
}

.btn-light {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

.btn-light:hover {
    background-color: var(--text-primary);
    color: var(--background);
}

/* Cards - Minimalist */
.card {
    background: var(--background);
    border: 1px solid var(--border-color);
    box-shadow: none;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.card:hover {
    border-color: var(--text-secondary);
}

.card-header {
    background: #e8d7ce;
    border-bottom: 1px solid rgba(212, 181, 160, 0.3);
    padding: 30px 40px;
    font-weight: 300;
}

.card-body {
    padding: 40px;
}

.card-title {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Services Section - Light Brown */
.services {
    padding: 120px 0;
    background: #d4b5a0;
    position: relative;
}

.service-item {
    text-align: left;
    padding: 30px 25px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(212, 181, 160, 0.3);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    border-color: rgba(212, 181, 160, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.service-icon {
    font-size: 2rem;
    color: #9b7e6a;
    margin-bottom: 1.5rem;
}

/* Portfolio Section - Light Brown */
.portfolio {
    padding: 120px 0;
    background: #d4b5a0;
    position: relative;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    margin-bottom: 40px;
    background: var(--background);
}

.portfolio-item:hover {
    border-color: var(--text-secondary);
}

.portfolio-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--background);
    color: var(--text-primary);
    padding: 40px;
    transform: translateY(100%);
    transition: all 0.3s ease;
    border-top: 1px solid var(--border-color);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

/* Forms - Minimalist */
.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 300;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: transparent;
    font-weight: 300;
}

.form-control:focus {
    outline: none;
    border-bottom-color: var(--text-primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    padding-top: 15px;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table th,
.table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background-color: var(--light-gray);
    font-weight: 600;
    color: var(--text-primary);
}

.table tr:hover {
    background-color: var(--light-gray);
}

/* Footer - Light Brown */
.footer {
    background: #d4b5a0;
    color: var(--text-primary);
    padding: 80px 0 40px;
    margin-top: 120px;
    border-top: 1px solid rgba(212, 181, 160, 0.5);
}

.footer h5 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 300;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer p,
.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 300;
    line-height: 1.8;
}

.footer a:hover {
    color: var(--text-primary);
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.py-5 { padding: 3rem 0; }
.py-4 { padding: 1.5rem 0; }
.py-3 { padding: 1rem 0; }

/* Status badges */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background-color: var(--success-color);
    color: white;
}

.badge-warning {
    background-color: var(--warning-color);
    color: white;
}

.badge-danger {
    background-color: var(--danger-color);
    color: white;
}

.badge-primary {
    background-color: var(--primary-color);
    color: white;
}

/* Alert messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: none;
}

.alert-success {
    background-color: rgba(48, 209, 88, 0.1);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background-color: rgba(255, 59, 48, 0.1);
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

/* Portfolio Mobile Fix */
@media (max-width: 768px) {
    .portfolio-overlay {
        position: static;
        transform: none;
        padding: 20px;
        background: var(--background);
    }

    .portfolio-item:hover .portfolio-overlay {
        transform: none;
    }

    .portfolio-item {
        margin-bottom: 20px;
    }

    .portfolio-img {
        height: 200px;
    }
}

/* Responsive Design - Mobile First */
@media (max-width: 480px) {
    /* Extra small phones */
    .container, .container-fluid {
        padding: 0 15px;
    }

    body {
        font-size: 14px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }

    .hero {
        padding: 140px 0 60px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .card-body {
        padding: 20px;
    }

    .card-header {
        padding: 20px;
    }

    .nav-item {
        margin: 0 10px;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 8px 0;
    }

    .services, .portfolio {
        padding: 60px 0;
    }

    .footer {
        padding: 60px 0 30px;
        margin-top: 60px;
    }

    .table-responsive {
        border: none;
    }

    .table th, .table td {
        padding: 8px;
        font-size: 0.85rem;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-value {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Tablets and small screens */
    .container, .container-fluid {
        padding: 0 20px;
    }

    .hero {
        padding: 160px 0 80px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .col-6, .col-4, .col-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    /* Mobile Navigation */
    .navbar {
        padding: 15px 0;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .navbar-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--background);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        padding: 20px 0;
        display: none;
    }

    .navbar-nav.show {
        display: flex;
    }

    .nav-item {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        position: relative;
        display: block;
        min-width: 100%;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        margin: 0;
    }

    .dropdown-item {
        padding: 5px 0;
        font-size: 0.85rem;
    }

    .service-item {
        margin-bottom: 30px;
        padding: 25px 20px;
    }

    .card-body {
        padding: 30px;
    }

    .btn {
        display: inline-block;
        width: auto;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    /* Form improvements */
    .form-control {
        padding: 12px 0;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Table responsiveness */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table {
        min-width: 500px;
    }

    /* Dashboard responsive */
    .dashboard-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 992px) {
    /* Medium screens */
    .container {
        padding: 0 30px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .services, .portfolio {
        padding: 100px 0;
    }

    .col-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 1200px) {
    /* Large screens */
    .container {
        max-width: 1140px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

/* Touch-friendly improvements */
@media (pointer: coarse) {
    .btn {
        min-height: 44px;
        padding: 12px 30px;
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .table td, .table th {
        padding: 12px;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-icon,
    .portfolio-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dashboard specific styles */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Loading spinner */
.spinner {
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}