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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #0a0c10;
    color: #eef2f5;
    overflow-x: hidden;
}

/* custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1e24;
}
::-webkit-scrollbar-thumb {
    background: #ff6a4b;
    border-radius: 20px;
}

/* preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050608;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 106, 75, 0.2);
    border-top: 5px solid #ff6a4b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* sticky navbar premium */
.navbar-premium {
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
    padding: 1rem 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-premium.scrolled {
    background: rgba(5, 7, 10, 0.98);
    padding: 0.6rem 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.9rem;
    background: linear-gradient(135deg, #ffb347, #ff6a4b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

/* underline effect */
.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #ffb347, #ff6a4b);
    transition: 0.3s ease;
}

/* hover animation */
.navbar-brand:hover::after {
    width: 100%;
}

.navbar-brand:hover {
    transform: translateY(-1px);
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
}

.nav-link {
    font-weight: 600;
    color: #f0f3f8 !important;
    margin: 0 0.6rem;
    transition: 0.25s;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #ff6a4b !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #ffb347, #ff6a4b);
    transition: 0.3s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* hero swiper */
.hero-swiper {
    width: 100%;
    height: 100vh;
    min-height: 700px;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 20%;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
    color: white;
    text-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #ffcba4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-glow {
    background: linear-gradient(45deg, #ff6a4b, #ff8c42);
    border: none;
    padding: 12px 38px;
    border-radius: 50px;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 106, 75, 0.4);
}

.btn-glow:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(255, 106, 75, 0.6);
    background: linear-gradient(45deg, #ff7a55, #ffa055);
}

/* section titles */
.section-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(120deg, #fff, #ffa56e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.glass-card {
    background: rgba(20, 25, 35, 0.65);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

/* service cards */
.service-card {
    background: rgba(20, 28, 38, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 28px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(255, 106, 75, 0.2);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px) rotateX(3deg);
    box-shadow: 0 25px 40px -12px rgba(255, 106, 75, 0.3);
    border-color: #ff6a4b;
}

.service-icon {
    font-size: 3.5rem;
    background: linear-gradient(145deg, #ffb347, #ff6a4b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Flip cards */
/* ONLY affects honey card */
.flip-card {
    perspective: 1000px;
    height: 100%;
    min-height: 220px;
    padding: 0; /* remove inner spacing for flip */
}

.flip-card .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 220px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

/* Flip on hover */
.flip-card:hover .card-inner {
    transform: rotateY(180deg);
}

/* FRONT + BACK */
.flip-card .card-front,
.flip-card .card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    border-radius: 28px;
}

/* FRONT (default view) */
.flip-card .card-front {
    background: rgba(20, 28, 38, 0.7);
}

/* BACK (after flip) */
.flip-card .card-back {
    background: rgba(20, 28, 38, 0.9);
    transform: rotateY(180deg);
}

/* image styling */
.flip-card .card-back img {
    max-height: 120px;
    object-fit: contain;
    max-width: 100%;
}

@media (max-width: 768px) {
    .flip-card {
        min-height: 180px;
    }
    .flip-card .card-back img {
        max-height: 90px;
    }
}

/* Product Details Section */
.product-details-section {
    width: 100%;
    border: 1px solid #ff6a4b;
    background: #0a0c10;
    margin-top: 20px;
    display: none;
    border-radius: 20px;
    padding: 20px;
    animation: feadeInUp 0.5s ease;
}

.product-details-section.show {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* product cards */
.product-item {
    background: #11161f;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
}

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

.product-item:hover {
    transform: translateY(-15px) rotateX(3deg);
    box-shadow: 0 25px 40px -12px rgba(255, 106, 75, 0.3);
    border-bottom: 2px solid #ff6a4b;
}

.product-item h6 {
    color: #ffffff;
    transition: color 0.3s ease;
}

.product-item:hover h6 {
    color: #ff6a4b; /* same theme orange */
}

/* Image Modal Section */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.image-modal.show {
    display: flex;
}

.btn-glow-sm {
    background: linear-gradient(45deg, #ff6a4b, #ff8c42);
    border: none;
    padding: 6px 20px !important;   /* smaller height */
    border-radius: 30px;
    font-size: 0.8rem !important;  /* smaller font */
    font-weight: 400;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 106, 75, 0.35);
    display: inline-block;
    text-decoration-line: none !important;
}

.btn-glow-sm:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(255, 106, 75, 0.5);
}

.btn-glow-danger-sm {
    background: linear-gradient(45deg, #ff4b4b, #ff4242);
    border: none;
    padding: 6px 20px !important;   /* smaller height */
    border-radius: 30px;
    font-size: 0.8rem !important;  /* smaller font */
    font-weight: 400;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 75, 75, 0.35);
    display: inline-block;
    text-decoration-line: none !important;
}

.btn-glow-danger-sm:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(255, 75, 75, 0.5);
}

/* make swiper slides proper width */
.category-swiper .swiper-slide {
    width: auto;
    max-width: 280px;
}

/* spacing */
.category-swiper {
    padding: 20px 10px;
}

/* arrows style */
.category-next,
.category-prev {
    color: #ff6a4b;
}

.category-next::after,
.category-prev::after {
    font-size: 20px;
}

/* ACTIVE CENTER CARD EFFECT 🔥 */
.category-swiper .swiper-slide {
    opacity: 0.5;
    transform: scale(0.9);
    transition: 0.4s;
}

.category-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1.05);
}

.category-swiper .swiper-slide-active .service-card {
    box-shadow: 0 25px 40px -12px rgba(255, 106, 75, 0.4);
}

/* responsive fix */
@media (max-width: 768px) {
    .category-swiper .swiper-slide {
        max-width: 220px;
    }
}

/* product cards */
.product-card {
    border-radius: 28px;
    overflow: hidden;
    background: #11161f;
    transition: all 0.5s;
    box-shadow: 0 15px 25px -10px rgba(0,0,0,0.4);
}

.product-card img {
    transition: transform 0.7s ease;
    height: 260px;
    object-fit: cover;
    width: 100%;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 40px -12px #ff6a4b40;
}

/* parallax layers */
.parallax-bg {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay-dark {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: brightness(0.8);
    padding: 5rem 0;
}

/* counter */
.counter-box {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 1.5rem;
    border: 1px solid rgba(255,106,75,0.3);
}

.counter-num {
    font-size: 3rem;
    font-weight: 800;
    color: #ff8c42;
}

/* testimonials */
.testi-card {
    background: rgba(25, 30, 40, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 2rem;
    margin: 1rem;
    border: 1px solid rgba(255,106,75,0.3);
    transition: 0.3s;
}

/* contact form */
.contact-form {
    background: rgba(18, 24, 32, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 36px;
    padding: 2rem;
}

.form-control-custom {
    background: #1e2630;
    border: 1px solid #2f3a46;
    color: #ffffff !important;
    border-radius: 60px;
    padding: 12px 40px;
}

.form-control-custom:focus {
    background: #252f3a;
    border-color: #ff6a4b;
    box-shadow: 0 0 0 0.2rem rgba(255,106,75,0.25);
}

.form-control-custom::placeholder {
    color: #cfceceb5;
    opacity: 1;
}

.form-control-custom::-webkit-input-placeholder {
    color: #cfceceb5;
}

.form-control-custom:-ms-input-placeholder {
    color: #cfceceb5;
}

.form-control-custom::-ms-input-placeholder {
    color: #cfceceb5;
}

footer {
    background: #030507;
}

.footer-link {
    color: #bbb;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    transition: 0.3s;
}

.footer-link:hover {
    color: #ffc107;
    padding-left: 5px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #ff6a4b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.dark-mode-toggle {
    background: #2a2f36;
    border-radius: 40px;
    padding: 6px 14px;
    cursor: pointer;
    font-weight: 500;
}

.custom-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ff4d4d;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 9999;
}

.custom-toast.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.8rem; }
    .section-title { font-size: 2.2rem; }
}