/* Reset basics */
* {
    box-sizing: border-box;
}

/* Base body and fonts */
body {
    font-family: 'Nunito', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInPage 1s ease forwards;
}

/* Fade-in page animation */
@keyframes fadeInPage {
    to {
        opacity: 1;
    }
}

/* Navbar styles */
.navbar {
    background-color: #ffffffcc !important;
    /* translucent */
    backdrop-filter: saturate(180%) blur(20px);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    z-index: 9999;
}

.navbar.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Navbar brand logo */
.navbar-brand img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.navbar-brand:hover img {
    transform: rotate(-10deg) scale(1.1);
}

/* Hero Section */
.hero-bg {
    background: linear-gradient(80deg, #fec260 60%, #f8a5c2 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-bg::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, #fff4c3 0%, transparent 60%);
    opacity: 0.3;
    z-index: 0;
    animation: pulseGlow 6s ease-in-out infinite;
    border-radius: 50%;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.hero-bg .container {
    position: relative;
    z-index: 2;
}

.hero-bg h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideUp 1.2s ease forwards;
    opacity: 0;
}

.hero-bg p {
    animation: slideUp 1.5s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-bg a.btn {
    margin-top: 15px;
    padding: 1rem 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(252, 196, 0, 0.65);
    transition: all 0.3s ease;
}

.hero-bg a.btn-warning:hover,
.hero-bg a.btn-outline-light:hover {
    box-shadow: 0 6px 20px rgba(248, 138, 177, 0.9);
    transform: translateY(-5px) scale(1.05);
    color: #fff !important;
}

/* About Section */
#about img {
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(248, 138, 177, 0.35);
    transition: transform 0.4s ease;
}

#about img:hover {
    transform: scale(1.05) rotate(1.5deg);
}

#about ul {
    list-style: none;
    margin-top: 20px;
    padding-left: 0;
}

#about ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #444;
}

#about ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #feb700;
    font-weight: 900;
    font-size: 1.2em;
    top: 0;
}

#about a.btn-warning {
    background-color: #feb700;
    border-color: #feb700;
    box-shadow: 0 6px 12px rgba(254, 183, 41, 0.6);
    transition: background-color 0.3s ease;
}

#about a.btn-warning:hover {
    background-color: #d49400;
    border-color: #d49400;
    box-shadow: 0 8px 18px rgba(212, 148, 0, 0.8);
}

/* Collections Section */
.collection-card {
    border-radius: 12px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: white;
}

.collection-card img {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    object-fit: cover;
    height: 220px;
}

.collection-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 14px 28px rgba(252, 196, 0, 0.35);
}

.collection-card h5 {
    font-weight: 700;
    margin-bottom: 12px;
}

.collection-card a.btn-outline-warning {
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.collection-card a.btn-outline-warning:hover {
    color: #fff !important;
    background-color: #feb700;
    border-color: #feb700;
}

/* Features Section */
.feature-box {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 2px 15px #fffbe7;
    border-radius: 20px;
    background-color: white;
    cursor: default;
}

.feature-box:hover {
    box-shadow: 0 16px 30px rgba(254, 183, 41, 0.45);
    transform: translateY(-7px);
}

.feature-icon {
    font-size: 2.8rem;
    color: #feb700;
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonial-card {
    background: #fffde7;
    border-radius: 20px;
    padding: 2rem 2.5rem;
    box-shadow: 0 8px 25px rgba(252, 196, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(252, 196, 0, 0.4);
}

.testimonial-card img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #feb700;
    margin-bottom: 1rem;
    box-shadow: 0 0 12px #feb700aa;
}

.testimonial-card blockquote {
    font-size: 1.125rem;
    color: #444;
    font-style: italic;
    line-height: 1.5;
    position: relative;
    padding-left: 2rem;
}

.testimonial-card blockquote::before {
    content: "“";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 3rem;
    color: #feb700;
    opacity: 0.3;
}

.testimonial-card small {
    font-weight: 700;
    color: #765400;
    margin-top: 10px;
    display: block;
}

/* Star Rating */
.testimonial-card i.bi-star-fill,
.testimonial-card i.bi-star-half {
    color: #feb700;
    font-size: 1.25rem;
    margin-right: 2px;
    text-shadow: 0 0 4px rgba(254, 183, 41, 0.7);
}

/* Contact Section */
#contact h2 {
    font-weight: 900;
    margin-bottom: 15px;
    color: #444;
}

#contact .lead {
    font-weight: 600;
    margin-bottom: 25px;
    color: #666;
}

#contact a.btn-outline-dark {
    border-radius: 50px;
    font-weight: 700;
    padding: 12px 32px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#contact a.btn-outline-dark:hover {
    background-color: #feb700;
    border-color: #feb700;
    color: #fff !important;
    box-shadow: 0 8px 30px rgba(254, 183, 41, 0.55);
}

/* Footer */
footer {
    background-color: #212121;
    color: #f5f5f5;
    font-size: 0.95rem;
    padding-top: 3rem;
    padding-bottom: 2rem;
}

footer h5,
footer h6 {
    color: #feb700;
}

footer ul {
    padding-left: 0;
    list-style: none;
}

footer ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #feb700;
}

footer p,
footer small {
    color: #ccc;
}

footer .d-flex a {
    transition: color 0.3s ease;
    margin-right: 15px;
}

footer .d-flex a:hover {
    color: #feb700;
    text-shadow: 0 0 8px #feb700aa;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-bg h1 {
        font-size: 2.5rem !important;
    }

    .hero-bg p {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 576px) {
    .feature-box {
        padding: 20px 10px;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Scroll reveal animations */
section,
.feature-box,
.testimonial-card,
.collection-card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}