html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

html, body {
    overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hero-section {
    width: 100vw;
    min-height: 90vh;
    margin-left: calc(-50vw + 50%);
    background-image: url('/images/heropage.jpg');
    background-position: right 20% center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 67, 0.55);
}
.hero-section > div {
    max-width: 600px;
    margin-left: 7%;
    margin-right: auto;
    text-align: left;
    position: relative;
    z-index: 2;
}
.hero-section h1 {
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.hero-section p {
    text-shadow : 0 2px 10px rgba(0,0,0,0.3);
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
}

.info-card {
    background-color: #141243;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease;
}

    .info-card:hover {
        transform: translateY(-4px);
    }

.card-title {
    font-weight: 600;
}

.card img {
    transition: transform 0.25s ease;
}

.card:hover img {
    transform: scale(1.03);
}

.admin-card {
    background-color: #141243;
    color: white;
    border-radius: 1.5rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .admin-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    }

    .admin-card h2,
    .admin-card h3,
    .admin-card p {
        color: white;
    }

.admin-card-image {
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 67, 0.60);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    text-align: center;
}

    .admin-card-overlay h2,
    .admin-card-overlay h3,
    .admin-card-overlay p {
        color: white;
        position: relative;
        z-index: 2;
    }

.admin-orders {
    background-image: url('/images/orders.jpg');
}

.admin-analytics {
    background-image: url('/images/analytics.jpg');
}

.admin-products {
    background-image: url('/images/candles.jpg');
}

.admin-categories {
    background-image: url('/images/category.jpg');
}

.admin-colors {
    background-image: url('/images/colors.jpg');
}

.admin-scents {
    background-image: url('/images/smells.jpg');
}

.order-row {
    cursor: pointer;
    transition: background-color o.2s ease;
}

.order-row:hover {
    background-color: rgba(20, 18, 67, 0.05);
}

.gallery-item {
    height: 260px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
    background-color: #f8f8f8;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.3s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.04);
    }

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 18, 67, 0.7);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 5;
    transition: background 0.2s ease;
}

    .gallery-arrow:hover {
        background: rgba(20, 18, 67, 1);
    }

    .gallery-arrow.left {
        left: 20px;
    }

    .gallery-arrow.right {
        right: 20px;
    }