/* style.css - Complete CSS for CAKE WAYS Ug */

:root {
    --primary-pink: #FF6B8B;
    --light-pink: #FFE5EC;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray: #6D6D6D;
    --purple: #9D65C9;
    --peach: #FFB6A0;
    --lemon-green: #C5E1A5;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--light-pink);
    overflow-x: hidden;
}

h1, h2, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h3 {
    color: var(--black);
    font-weight: 800;
}
/* Loading Overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-pink);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-logo {
    width: 120px;
    height: 120px;
    background-color: var(--primary-pink);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.loading-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--white);
}

.loading-bar-container {
    width: 300px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 10px;
}

.loading-bar {
    height: 100%;
    background-color: var(--primary-pink);
    width: 0%;
    transition: width 0.3s ease;
}

.loading-text {
    margin-top: 15px;
    color: var(--gray);
    font-size: 14px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 5%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-pink);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    background: linear-gradient(45deg, var(--primary-pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-pink);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-pink);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary-pink);
    cursor: pointer;
    background: none;
    border: none;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 107, 139, 0.363) 0%, rgba(158, 101, 201, 0.253) 50%, rgba(255, 182, 160, 0.151) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10%;
    z-index: 2;
    max-width: 600px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, var(--white), var(--lemon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
    min-width: 180px;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-transparent {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-transparent:hover {
    background-color: var(--white);
    color: var(--primary-pink);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-filled {
    background-color: var(--white);
    color: var(--primary-pink);
    border: 2px solid var(--white);
}

.btn-filled:hover {
    background-color: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Social Icons */
.social-icons {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 2;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 20px;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon.whatsapp { background-color: rgb(0, 255, 13); }
.social-icon.instagram { background-color: rgba(255, 0, 0, 0.884); }
.social-icon.facebook { background-color: rgba(12, 28, 255, 0.973); }
.social-icon.tiktok { background-color: rgba(0, 0, 0, 0.973); }
.social-icon.phone { background-color: rgb(0, 0, 0); }

.social-icon:hover {
    background-color: var(--white);
    color: var(--primary-pink);
    transform: translateY(-5px) scale(1.1);
}













/* Section Common Styles */
.section {
    padding: 100px 5%;
    position: relative;
}

.section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--black);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-pink), var(--purple));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    max-width: 700px;
    margin: 30px auto 60px;
    font-size: 18px;
    line-height: 1.8;
}

/* Cake Types Grid */
.cake-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.cake-type-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 5px solid var(--peach);
}

.cake-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-top-color: var(--primary-pink);
}

.cake-type-img {
    height: 250px;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.cake-type-card:hover .cake-type-img {
    transform: scale(1.05);
}

.cake-type-content {
    padding: 25px;
}

.cake-type-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--black);
}

.cake-type-description {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.lightbox-img {
    width: 100%;
    height: auto;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.lightbox-prev, .lightbox-next {
    color: white;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

/* Flavors Section */
.flavors-section {
    background-color: var(--white);
}

.flavors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.flavor-card {
    text-align: center;
    background-color: var(--lemon-green);
    border-radius: 50px;
    padding: 30px 20px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.flavor-card:hover {
    transform: translateY(-10px);
    background-color: var(--peach);
}

.flavor-img {
    width: 300px;
    height: 350px;
    border-radius: 20%;
    margin: 0 auto 20px;
    background-size: cover;
    background-position: center;
    border: 5px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.flavor-title {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--black);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
    line-height: 1.8;
}

.about-image {
    flex: 1;
    min-width: 600px;
    height: 1000px;
    border-radius: 20px;
    background-image: url('../images/about.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(45deg, var(--purple), var(--primary-pink));
    color: var(--white);
}

.contact-section .section-title {
    color: var(--white);
}

.contact-section .section-title::after {
    background: linear-gradient(45deg, var(--white), var(--lemon-green));
}

.contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.contact-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 20px;
    transition: var(--transition);
}

.contact-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--white);
}

/* Cake Page Specific Styles */
.cake-page-header {
    background: linear-gradient(45deg, var(--primary-pink), var(--purple));
    color: white;
    padding: 150px 5% 80px;
    text-align: center;
    margin-top: 70px;
}

.cake-page-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.cake-page-description {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 18px;
    line-height: 1.8;
}

.cake-specifications-section {
    padding: 80px 5%;
    background-color: var(--white);
}

.cake-specifications {
    background-color: var(--light-pink);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.spec-item {
    padding: 25px;
    background-color: var(--white);
    border-radius: 15px;
    border-left: 5px solid var(--primary-pink);
    box-shadow: var(--shadow);
}

.spec-title {
    font-weight: 600;
    color: var(--primary-pink);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.spec-icon {
    font-size: 20px;
}

.spec-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 10px 20px;
    background-color: var(--white);
    border: 2px solid var(--primary-pink);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    min-width: 45px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.page-btn:hover, .page-btn.active {
    background-color: var(--primary-pink);
    color: white;
}

/* Footer */
.footer {
    background-color: var(--light-pink);
    padding: 60px 5% 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-pink);
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--gray);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--primary-pink);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--gray);
    font-size: 14px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.scroll-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--white);
    border-radius: 50%;
    margin-top: 15px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(20px); opacity: 0.5; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 70px;
    }
    
    .section-title {
        font-size: 42px;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 60px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
        height: 350px;
    }
    
    .nav-links li {
        margin-left: 15px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
        z-index: 1001;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .nav-links a {
        font-size: 18px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-content {
        left: 5%;
        right: 5%;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .btn {
        min-width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section {
        padding: 80px 5%;
    }
    
    .cake-page-header {
        padding: 120px 5% 60px;
        margin-top: 60px;
    }
    
    .cake-page-title {
        font-size: 36px;
    }
    
    .social-icons {
        bottom: 20px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .lightbox-nav {
        padding: 0 10px;
    }
    
    .lightbox-prev, .lightbox-next {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .cake-page-title {
        font-size: 32px;
    }
    
    .cake-specifications {
        padding: 30px 20px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .cake-types-grid {
        grid-template-columns: 1fr;
    }
    
    .flavors-grid {
        grid-template-columns: 1fr;
    }
    
}