/* Core CSS for ceramica-elite.ru */
/* Framework: Bulma with custom styles */
/* Primary: lavender | Accent: platinum */

/* ==================== CSS Reset & Base ==================== */
* {
    box-sizing: border-box !important;
}

html {
    scroll-behavior: smooth !important;
}

body {
    font-family: 'Onest', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #2c2c54 !important;
    background-color: #fafafa !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==================== Typography ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Onest', sans-serif !important;
    font-weight: 700 !important;
    color: #2c2c54 !important;
    margin-bottom: 1rem !important;
    line-height: 1.3 !important;
}

h1 {
    font-size: 2.5rem !important;
}

h2 {
    font-size: 2rem !important;
    margin-top: 2.5rem !important;
}

h3 {
    font-size: 1.5rem !important;
    margin-top: 2rem !important;
}

p {
    font-size: 18px !important;
    line-height: 1.8 !important;
    margin-bottom: 1.5rem !important;
    color: #333 !important;
}

/* ==================== Navbar ==================== */
.navbar {
    background-color: #e6e6fa !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    padding: 0.5rem 1rem !important;
}

.navbar-brand {
    display: flex !important;
    align-items: center !important;
}

.navbar-brand .brand-name {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #2c2c54 !important;
    margin-left: 0.5rem !important;
}

.navbar-brand img {
    max-height: 40px !important;
    box-shadow: none !important;
}

.navbar-menu {
    background-color: #e6e6fa !important;
}

.navbar-item {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #2c2c54 !important;
    transition: color 0.3s ease !important;
    list-style: none !important;
}

.navbar-item::before,
.navbar-item::after {
    display: none !important;
    content: none !important;
}

.navbar-item:hover {
    color: #e5e4e2 !important;
    background-color: rgba(229, 228, 226, 0.2) !important;
}

.navbar-burger {
    color: #2c2c54 !important;
}

.navbar-burger span {
    background-color: #2c2c54 !important;
}

/* ==================== Hero Section ==================== */
.hero {
    position: relative !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 70vh !important;
    display: flex !important;
    align-items: center !important;
}

.hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(230, 230, 250, 0.95) 0%, rgba(229, 228, 226, 0.85) 100%) !important;
    z-index: 1 !important;
}

.hero .hero-body {
    position: relative !important;
    z-index: 2 !important;
    padding: 3rem 1.5rem !important;
}

.hero .title {
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    color: #2c2c54 !important;
    margin-bottom: 1.5rem !important;
    text-shadow: none !important;
}

.hero .subtitle {
    font-size: 1.25rem !important;
    color: #444 !important;
    max-width: 700px !important;
    line-height: 1.8 !important;
}

/* ==================== Buttons ==================== */
.button.is-primary {
    background-color: transparent !important;
    border: 2px solid #2c2c54 !important;
    color: #2c2c54 !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
}

.button.is-primary:hover {
    background-color: #2c2c54 !important;
    color: #fff !important;
}

.button.is-accent {
    background-color: transparent !important;
    border: 2px solid #e5e4e2 !important;
    color: #2c2c54 !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
}

.button.is-accent:hover {
    background-color: #e5e4e2 !important;
    color: #2c2c54 !important;
}

/* ==================== Sections ==================== */
.section {
    padding: 4rem 1.5rem !important;
}

.section:nth-child(even) {
    background-color: #f5f5f5 !important;
}

.section:nth-child(odd) {
    background-color: #fff !important;
}

.section-title {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #2c2c54 !important;
    margin-bottom: 2rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 3px solid #e5e4e2 !important;
}

/* ==================== Cards ==================== */
.card {
    background-color: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    overflow: hidden !important;
    margin-bottom: 1.5rem !important;
}

.card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.card-content {
    padding: 1.5rem !important;
}

.card-image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* ==================== Lists ==================== */
ul, ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.content ul,
.content ol {
    padding-left: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.content ul li,
.content ol li {
    position: relative !important;
    padding-left: 2rem !important;
    margin-bottom: 0.75rem !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
}

.content ul li::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0.5em !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 8px solid #e5e4e2 !important;
    border-top: 5px solid transparent !important;
    border-bottom: 5px solid transparent !important;
}

.content ol {
    counter-reset: list-counter !important;
}

.content ol li {
    counter-increment: list-counter !important;
}

.content ol li::before {
    content: counter(list-counter) !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 28px !important;
    height: 28px !important;
    background-color: #e5e4e2 !important;
    color: #2c2c54 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

/* Navbar & Footer lists - NO markers */
.navbar ul,
.navbar ol,
.navbar-menu ul,
.navbar-menu ol,
.footer ul,
.footer ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.navbar li,
.navbar-menu li,
.footer li {
    list-style: none !important;
    padding-left: 0 !important;
}

.navbar li::before,
.navbar li::after,
.navbar-menu li::before,
.navbar-menu li::after,
.footer li::before,
.footer li::after {
    display: none !important;
    content: none !important;
}

/* ==================== Tables ==================== */
.table-container {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin-bottom: 2rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

.table {
    width: 100% !important;
    border-collapse: collapse !important;
    background-color: #fff !important;
    font-size: 16px !important;
    min-width: 600px !important;
}

.table thead {
    background-color: #e6e6fa !important;
}

.table thead th {
    padding: 1rem !important;
    font-weight: 700 !important;
    color: #2c2c54 !important;
    text-align: left !important;
    border-bottom: 2px solid #e5e4e2 !important;
    white-space: nowrap !important;
}

.table tbody td {
    padding: 1rem !important;
    border-bottom: 1px solid #eee !important;
    color: #333 !important;
}

.table tbody tr:hover {
    background-color: rgba(230, 230, 250, 0.3) !important;
}

/* ==================== Images ==================== */
.content img {
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 2rem auto !important;
}

/* ==================== Footer ==================== */
.footer {
    background-color: #2c2c54 !important;
    color: #e6e6fa !important;
    padding: 3rem 1.5rem !important;
}

.footer .title {
    color: #e6e6fa !important;
    font-size: 1.25rem !important;
    margin-bottom: 1rem !important;
}

.footer p {
    color: #e6e6fa !important;
    font-size: 16px !important;
    opacity: 0.9 !important;
}

.footer a {
    color: #e5e4e2 !important;
    transition: color 0.3s ease !important;
}

.footer a:hover {
    color: #fff !important;
}

.footer ul {
    list-style: none !important;
    padding-left: 0 !important;
}

.footer li {
    margin-bottom: 0.5rem !important;
    list-style: none !important;
}

.footer li::before,
.footer li::after {
    display: none !important;
    content: none !important;
}

.footer .footer-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
}

.footer .footer-column {
    flex: 1 !important;
    min-width: 200px !important;
}

.footer-bottom {
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid rgba(230, 230, 250, 0.2) !important;
    text-align: center !important;
}

/* ==================== Icons (Material Icons) ==================== */
.material-icons {
    font-size: 24px !important;
    color: #e5e4e2 !important;
    vertical-align: middle !important;
    margin-right: 0.5rem !important;
}

.icon-primary {
    color: #e6e6fa !important;
}

.icon-accent {
    color: #e5e4e2 !important;
}

/* ==================== Utility Classes ==================== */
.has-text-primary {
    color: #e6e6fa !important;
}

.has-text-accent {
    color: #e5e4e2 !important;
}

.has-background-primary {
    background-color: #e6e6fa !important;
}

.has-background-accent {
    background-color: #e5e4e2 !important;
}

.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }

/* ==================== Responsive ==================== */
@media screen and (max-width: 768px) {
    h1, .hero .title {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }

    .hero {
        min-height: 60vh !important;
    }

    .hero .subtitle {
        font-size: 1.1rem !important;
    }

    .section {
        padding: 2.5rem 1rem !important;
    }

    .footer .footer-links {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .footer .footer-column {
        min-width: 100% !important;
    }

    .table {
        font-size: 14px !important;
    }

    .navbar-brand .brand-name {
        font-size: 1.25rem !important;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 16px !important;
    }

    p, .content ul li, .content ol li {
        font-size: 16px !important;
    }

    h1, .hero .title {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.35rem !important;
    }

    .hero {
        min-height: 50vh !important;
    }
}
