/* main.css - Losrom "Commercial Dynamic" UI */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=DM+Sans:wght@400;500;700&display=swap');

:root {
    /* Modern Premium Palette */
    --primary: #FF9500;      /* Vibrant Orange */
    --primary-dark: #E67E00;
    --primary-light: #FFB84D;
    --secondary: #0F172A;    /* Deep Navy */
    --secondary-light: #1E293B;
    --accent-green: #10B981;
    --accent-purple: #8B5CF6;
    --bg-main: #F9FAFB;
    --bg-secondary: #F3F4F6;
    --bg-white: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border: #E2E8F0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.16);
    --radius-lg: 24px;
    --radius-md: 12px;
    
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    h1 { font-size: 1.8rem !important; }
    h2 { font-size: 1.5rem !important; }
    .section { padding: 40px 0 !important; }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

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

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes floatUp {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 149, 0, 0.4), var(--shadow-lg); }
    50% { box-shadow: 0 0 40px rgba(255, 149, 0, 0.6), var(--shadow-lg); }
}

.fade-in { animation: fadeInUp 0.6s ease forwards; }
.slide-in-left { animation: slideInLeft 0.6s ease forwards; }
.slide-in-right { animation: slideInRight 0.6s ease forwards; }
.float { animation: floatUp 3s ease-in-out infinite; }
.glow-animation { animation: glow 2s ease-in-out infinite; }

.section { padding: 80px 0; }
@media (max-width: 768px) { 
    .section { padding: 50px 0; }
    .hero-commercial { padding: 40px 0 !important; min-height: auto !important; }
    .hero-commercial .flex { flex-direction: column !important; text-align: center; }
    .hero-commercial .btn { width: 100% !important; margin-bottom: 10px; }
}

/* Responsive Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.grid-split-left {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
}
.grid-split-right {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .grid-split-left, .grid-split-right {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .container {
        padding: 0 20px;
    }
    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.8rem !important; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    h1 { font-size: 1.8rem !important; }
    h2 { font-size: 1.4rem !important; }
    h3 { font-size: 1.15rem !important; }
    
    .section { padding: 40px 0 !important; }
    
    .info-card-item {
        border-right: none !important;
        border-bottom: 1px solid var(--border);
        padding-bottom: 20px;
        margin-bottom: 5px;
    }
    .info-card-item:last-child {
        border-bottom: none !important;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }
    
    h1 { font-size: 1.5rem !important; }
    h2 { font-size: 1.2rem !important; }
    h3 { font-size: 1rem !important; }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

.realisation-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 576px) {
    .realisation-card {
        height: 250px;
    }
}
