/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    /* Using imported font */
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    color: #000000;
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    background: #1e1e1e;
    color: #e0e0e0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header with top-right navigation and dark mode toggle */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    z-index: 10;
    background: linear-gradient(90deg, rgba(232, 154, 193, 0.8), rgba(252, 0, 84, 0.8));
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    font-family: 'Spirax', cursive;
}

.nav-container {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    margin-right: 20px;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #FFFFFF;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.2s ease;
    font-family: 'Inter', sans-serif;
}

nav ul li a:hover,
nav ul li a.active {
    color: #C71585;
    transform: translateY(-2px);
}

/* Dark mode toggle button */
#darkModeToggle {
    background: transparent;
    border: 1px solid #fff;
    border-radius: 4px;
    padding: 5px 10px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    font-family: 'Inter', sans-serif;
}

#darkModeToggle:hover,
#darkModeToggle:active {
    background: #C71585;
    transform: scale(1.05);
}

/* Hero Section with Slider and Parallax Effect */
.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #FFB6C1;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: slideShow 15s infinite;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) brightness(1.05);
    transform: scale(1);
    animation: zoomIn 5s ease-in-out infinite;
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 5s;
}

.slide:nth-child(3) {
    animation-delay: 10s;
}

@keyframes slideShow {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    33.33% {
        opacity: 1;
    }

    43.33% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Hero Section with Slider and Parallax Effect */
.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #FFB6C1;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: slideShow 15s infinite;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) brightness(1.05);
    transform: scale(1);
    animation: zoomIn 5s ease-in-out infinite;
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 5s;
}

.slide:nth-child(3) {
    animation-delay: 10s;
}

@keyframes slideShow {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    33.33% {
        opacity: 1;
    }

    43.33% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Enhanced Hero Overlay with Gradient Mask */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Use a linear gradient to darken the center or bottom */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
    /* Optional: Add a radial gradient for a softer effect */
    /* background: radial-gradient(circle at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.5) 100%); */
    z-index: 2;
}

/* Hero Content Adjustments */
.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 8rem;
    margin-bottom: 1rem;
    color: #FF69B4;
    /* Hot Pink for the brand name */
    font-family: 'Spirax', cursive;
    /* Add text shadow for extra contrast */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 4rem;
    color: #fefefe;
    font-family: 'Inter', sans-serif;
    /* Add text shadow for readability */
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

.hero-content .btn {
    display: inline-block;
    background-color: #C71585;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'Inter', sans-serif;
    /* Add shadow for button visibility */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-content .btn:hover,
.hero-content .btn:active {
    background-color: #BA55D3;
    transform: scale(1.03);
}

/* Main Sections with enhanced whitespace */
section {
    padding: 80px 20px;
    background-color: #FFFFFF;
}

/* About Section */
#about {
    background-color: #E6E6FA;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Store Section - Example Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
    perspective: 1000px;
}

.product-item {
    background: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.product-item img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.product-slider {
    position: relative;
    width: 100%;
    height: 250px; /* adjust height as needed */
    overflow: hidden;
  }
  .product-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }
  .product-slider img.active {
    opacity: 1;
    position: relative;
  }

.product-item h3 {
    margin-bottom: 10px;
    color: #000000;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
}

.product-item .price {
    margin-bottom: 15px;
    color: #000000;
    font-size: 1.3rem;
    font-weight: bold;
}

.product-item .buy-btn {
    display: inline-block;
    background-color: #FFFFFF;
    color: #000000;
    padding: 10px 25px;
    border: 1px solid #D3D3D3;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.product-item .buy-btn:hover,
.product-item .buy-btn:active {
    background-color: #C71585;
    color: #FFFFFF;
    transform: scale(1.03);
}

.message-box {
  margin-top: 20px;
  padding: 15px;
  border: 2px dashed #ff69b4;
  border-radius: 10px;
  background-color: #fff0f5;
  font-family: 'Lora', serif;
  font-size: 16px;
  color: #333;
  white-space: pre-wrap;
}

/* About Section with Full-Width Layout */
.about-full-width {
    width: 100%;
    padding: 80px 0;
    background-color: #FFB6C1;
    position: relative;
    overflow: hidden;
}

/* Store Section Heading */
.store-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #C71585;
    /* Matches your brand's magenta/pink tone */
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Montserrat', sans-serif;
    /* Bold and modern font */
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 4px rgba(255, 105, 180, 0.3);
    /* Subtle glow effect */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .store-heading {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .store-heading {
        font-size: 1.8rem;
    }
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 105, 180, 0.2) 0%, rgba(255, 182, 193, 0) 70%);
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-illustration {
    flex: 0 0 40%;
}

.illustration-image {
    width: 100%;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.illustration-image:hover {
    opacity: 1;
}

.about-text {
    flex: 0 0 50%;
    text-align: left;
    color: #C71585;
    font-family: 'Inter', sans-serif;
}

.about-text h3 {
    font-size: 1.2rem;
    color: #FF69B4;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Lora', serif;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #C71585;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
}

.about-text p {
    font-size: 1.1rem;
    color: #C71585;
    margin-bottom: 30px;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.about-btn {
    display: inline-block;
    background-color: transparent;
    color: #C71585;
    padding: 10px 20px;
    border: 2px solid #C71585;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.about-btn:hover {
    background-color: #FF69B4;
    color: #FFFFFF;
    border-color: #FF69B4;
}

/* Testimonial Section */
.testimonial-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #fff, #f7f7f7);
    text-align: center;
}

.testimonial-section h2 {
    font-size: 2.5rem;
    color: #C71585;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 20px;
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
    border-left: 4px solid #FF69B4;
    font-family: 'Lora', serif;
}

.testimonial span {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    color: #C71585;
    font-weight: bold;
}

/* Connect Section */
.connect-section {
    width: 100%;
    padding: 60px 20px;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.connect-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    overflow: hidden;
    z-index: 1;
}

.connect-overlay svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    animation: waveAnimation 5s linear infinite;
}

@keyframes waveAnimation {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.connect-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    color: #000000;
    font-family: 'Inter', sans-serif;
}

.connect-welcome {
    margin-bottom: 40px;
}

.connect-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #C71585;
    font-family: 'Montserrat', sans-serif;
    animation: fadeIn 2s ease-in-out;
}

.connect-subtitle {
    font-size: 1.2rem;
    color: #C71585;
    font-family: 'Lora', serif;
    font-style: italic;
}

.connect-info {
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
}

.connect-info .location,
.connect-info .social,
.connect-info .contact-details {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #333333;
}

.connect-info a {
    color: #BA55D3;
    transition: color 0.3s ease;
}

.connect-info a:hover {
    color: #C71585;
}

.connect-invite {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 182, 193, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.invite-text {
    font-size: 1rem;
    color: #2F4F2F;
    margin-bottom: 20px;
    font-family: 'Lora', serif;
}

.connect-btn {
    display: inline-block;
    background-color: #C71585;
    color: #FFFFFF;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.connect-btn:hover,
.connect-btn:active {
    background-color: #BA55D3;
    transform: scale(1.03);
}

/* Updated Chat Section with Bubble Animation */
.beauty-contact-section {
    width: 100%;
    padding: 60px 20px;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.beauty-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    /* Ensures bubbles don’t interfere with form interaction */
}

.bubble {
    position: absolute;
    bottom: -20px;
    width: 20px;
    height: 20px;
    background: rgba(255, 105, 180, 0.5);
    /* Semi-transparent Hot Pink */
    border-radius: 50%;
    animation: bubbleRise 6s infinite ease-in-out;
    z-index: 1;
}

/* Multiple bubbles with different positions and delays */
.bubble:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    width: 15px;
    height: 15px;
}

.bubble:nth-child(2) {
    left: 30%;
    animation-delay: 1.5s;
    width: 25px;
    height: 25px;
}

.bubble:nth-child(3) {
    left: 50%;
    animation-delay: 3s;
    width: 20px;
    height: 20px;
}

.bubble:nth-child(4) {
    left: 70%;
    animation-delay: 4.5s;
    width: 18px;
    height: 18px;
}

.bubble:nth-child(5) {
    left: 90%;
    animation-delay: 2s;
    width: 22px;
    height: 22px;
}

@keyframes bubbleRise {
    0% {
        transform: translateY(0);
        opacity: 0.8;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-100vh);
        /* Rise to top of viewport */
        opacity: 0;
    }
}

.beauty-contact-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

.beauty-contact-heading {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #C71585;
    font-family: 'Montserrat', sans-serif;
    animation: fadeIn 2s ease-in-out;
}

.beauty-contact-text {
    font-size: 1.2rem;
    color: #C71585;
    margin-bottom: 30px;
    font-family: 'Lora', serif;
    font-style: italic;
}

.beauty-enquiry-form {
    max-width: 1000px;
    margin: 0 auto;
}

.enquiry-fields {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.enquiry-item {
    flex: 1;
}

.enquiry-item label {
    display: block;
    margin-bottom: 8px;
    color: #C71585;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
}

.enquiry-item input {
    width: 100%;
    padding: 12px;
    border: 2px solid #FFB6C1;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.enquiry-item input:focus {
    border-color: #FF69B4;
    box-shadow: 0 0 8px rgba(255, 105, 180, 0.5);
    outline: none;
}

.enquiry-submit {
    display: inline-block;
    background-color: #C71585;
    color: #FFFFFF;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.enquiry-submit:hover,
.enquiry-submit:active {
    background-color: #BA55D3;
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #000000;
    padding: 60px 20px 20px;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.footer-address {
    color: #FFFFFF;
    font-size: 1rem;
    margin-top: 10px;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 182, 193, 0.5);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #CCCCCC;
}

.footer-bottom .beautyking-logo {
    font-family: 'Spirax', cursive;
    color: #FF69B4;
    font-size: 2rem;
}

.footer-bottom a {
    color: #FF69B4;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #C71585;
}

.footer-brand h1 {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Spirax', cursive;
}

.footer-brand p {
    color: #FFFFFF;
    font-size: 1.1rem;
}

.footer-links h4,
.footer-legal h4,
.footer-social h4 {
    color: #FFFFFF;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-legal ul li a {
    color: #FFFFFF;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
    color: #FF69B4;
}

.footer-social .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.2);
}

.footer-social svg {
    width: 100%;
    height: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 182, 193, 0.5);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #CCCCCC;
}

footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 105, 180, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    animation: pulse 15s infinite ease-in-out;
    z-index: 0;
}

footer>* {
    position: relative;
    z-index: 1;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        justify-content: center;
        position: static;
    }

    .logo {
        margin: 10px 0;
    }

    nav ul {
        margin: 10px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .about-full-width {
        padding: 40px 0;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-illustration {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }

    .about-text {
        flex: 0 0 100%;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social .social-icons {
        justify-content: center;
    }

    .beauty-contact-heading {
        font-size: 2rem;
    }

    .beauty-contact-text {
        font-size: 1rem;
    }

    .enquiry-fields {
        flex-direction: column;
        gap: 15px;
    }

    .enquiry-submit {
        width: 100%;
    }

    .bubble {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 480px) {
    .beauty-contact-section {
        padding: 40px 15px;
    }

    .beauty-contact-heading {
        font-size: 1.8rem;
    }

    .enquiry-item input {
        padding: 10px;
    }

    .bubble {
        width: 10px;
        height: 10px;
    }
}