/* Base Styles */
:root {
    --primary-pink: #f8b7cd;
    --secondary-pink: #f4a7c0;
    --primary-blue: #a8d1e7;
    --secondary-blue: #86bbdb;
    --accent-color: #f1e4f3;
    --accent-yellow: #FFD700;
    --accent-purple: #9370DB;
    --accent-teal: #40E0D0;
    --text-dark: #4a4a4a;
    --text-light: #ffffff;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    --gradient-1: linear-gradient(135deg, var(--primary-pink), var(--accent-purple));
    --gradient-2: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    --gradient-3: linear-gradient(135deg, var(--accent-purple), var(--primary-pink));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fefefe;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(248, 183, 205, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 50%, rgba(168, 209, 231, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 40% 80%, rgba(147, 112, 219, 0.05) 0%, transparent 20%);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 90px 0;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 20px;
    top: 0;
    left: 0;
    background-image: var(--gradient-1);
    opacity: 0.2;
}

h1,
h2,
h3,
h4 {
    color: var(--text-dark);
}

p {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background: var(--gradient-1);
    color: var(--text-light);
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-2);
    transition: all 0.5s ease;
    z-index: -1;
    border-radius: 30px;
}

.btn:hover:before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.d-flex {
    display: flex;
    align-items: center;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 20px;
    color: var(--text-dark);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--gradient-1);
    border-radius: 10px;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    /* padding: 10px 0; */
}

header.sticky {
    /* padding: 5px 0; */
    background-color: rgba(255, 255, 255, 0.98);
}

/* Navbar Flexbox */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px 0;
}

/* Flex container for nav-links */
.nav-links {
    display: flex;
    list-style: none;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
}

/* Ensure all links are spaced evenly */
.nav-links li {
    flex: 1;
    text-align: center;
}

.logo-container {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation links */
.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    /* padding: 10px 15px; */
    position: relative;
    display: inline-block;
    /* Ensures the hover effect is contained */
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-pink);
}

/* Fix hover effect only underlining each link */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Ensure logo stays centered */
.logo-item {
    flex: 1;
    text-align: center;
}

.logo-item img {
    height: 100px;
    /* Adjust size */
    max-width: 100%;
    object-fit: contain;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-pink);
    position: absolute;
    right: 20px;
}

.mobile-logo {
    width: 50px;
}

.mobile-logo-container {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(124, 124, 124, 0.7), rgba(53, 53, 53, 0.7)), url('images/cake5.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 183, 205, 0.3), rgba(168, 209, 231, 0.3));
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--gradient-1);
    opacity: 0.1;
    transform: skewY(-2deg);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 6rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.hero-desc {
    font-size: 2rem;
    margin-bottom: 40px;
    animation: fadeIn 1.2s ease-in-out;
    color: var(--text-dark);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Products Section */
.products {
    background-color: var(--accent-color);
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(168, 209, 231, 0.2);
    border-radius: 50%;
    transform: translate(50%, -50%);
    z-index: 1;
}

.products::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background-color: rgba(248, 183, 205, 0.3);
    border-radius: 50%;
    transform: translate(-50%, 50%);
    z-index: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    border: 3px solid transparent;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-3);
    z-index: -1;
    border-radius: 17px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card:hover::before {
    opacity: 1;
}

.product-img {
    height: 350px;
    max-height: 350px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 25px;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* style 2 starts */
.product2-card {
    background: var(--gradient-2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    padding: 15px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product2-card::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: var(--accent-yellow);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    z-index: 2;
}

.product2-img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.product2-card:hover .product2-img {
    transform: scale(1.05);
}

.product2-info {
    padding: 10px;
    background: var(--accent-color);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-top: -30px;
    position: relative;
    z-index: 1;
    width: 80%;
    opacity: 0.9;
}

.product2-title {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* style 2 ends */

.product-price {
    font-weight: 700;
    color: var(--primary-pink);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.product-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.more-container {
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

/* About Section */
.about {
    background: linear-gradient(to right, #fff, var(--accent-color), #fff);
    position: relative;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: var(--primary-blue);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 1;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.about-img {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    border: 5px solid white;
    transform: rotate(-2deg);
    transition: all 0.3s ease;
}

.about-img:hover {
    transform: rotate(0deg);
}

.about-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.about-img:hover::after {
    opacity: 0;
}

.about-text {
    flex: 1;
}

.about-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 70%;
    height: 3px;
    background: var(--gradient-1);
}

.about-subtitle {
    color: var(--accent-purple);
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    background-image: var(--gradient-2);
    color: var(--text-dark);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: var(--accent-yellow);
    opacity: 0.3;
}

.contact .section-title {
    color: white;
}

.contact .section-title::after {
    background: white;
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
}

.contact-info {
    flex: 1;
    color: white;
    padding: 30px;
    border-radius: 15px;
    background: var(--gradient-3);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.contact-info h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 15px;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transform: translateY(-10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(248, 183, 205, 0.3);
    background-color: white;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 8px;
    display: none;
}

.success-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

#captchaCanvas {
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.loader {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #09f;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background: var(--gradient-1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-title {
    color: var(--primary-pink);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--gradient-1);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 3px 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-pink);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:hover {
    color: var(--primary-pink);
}

.footer-logo {
    height: 100px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-5px);
}

.copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: all 0.3s ease;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #128C7E, #25D366);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

.whatsapp-btn:hover::before {
    opacity: 1;
}

.whatsapp-btn i {
    position: relative;
}

/* Product page */
.products-section {
    padding: 160px 0 90px;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(168, 209, 231, 0.2);
    border-radius: 50%;
    transform: translate(50%, -50%);
    z-index: 1;
}

.products-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background-color: rgba(248, 183, 205, 0.3);
    border-radius: 50%;
    transform: translate(-50%, 50%);
    z-index: 1;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

/* Decorative elements */
.cake-icon {
    position: absolute;
    opacity: 0.1;
    z-index: 0;
}

.cake-icon-1 {
    top: 20%;
    left: 5%;
    font-size: 5rem;
    color: var(--primary-pink);
    animation: float 5s ease-in-out infinite;
}

.cake-icon-2 {
    bottom: 10%;
    right: 5%;
    font-size: 8rem;
    color: var(--primary-blue);
    animation: float 6s ease-in-out infinite;
}

.cake-icon-3 {
    top: 60%;
    left: 10%;
    font-size: 6rem;
    color: var(--accent-purple);
    animation: float 4s ease-in-out infinite;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .about-img {
        transform: rotate(0);
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    .logo-item {
        order: -1;
        flex: none;
        margin: 20px 0;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-header {
        display: flex;
        justify-content: space-between;
    }

    .nav-links {
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        align-items: center;
        padding: 40px 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }

    .logo-item {
        order: -1;
        flex: none;
        margin: 20px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-desc {
        font-size: 1.1rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .contact-info {
        padding: 20px;
    }

    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    header {
        padding: 5px 0;
    }

    .mobile-logo-container {
        display: block;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .product-card {
        margin-bottom: 15px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        margin-top: 15px;
    }

    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 1.7rem;
        bottom: 20px;
        right: 20px;
    }

    .contact-form {
        transform: translateY(0);
    }
}