/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-yellow: #FFD700;
    --soft-pink: #FFB6C1;
    --warm-white: #FFF8F0;
    --cream: #FFFACD;
    --coral-pink: #FF69B4;
    --light-gray: #F5F5F5;
    --dark-text: #333;
    --medium-text: #666;
}

@font-face {
    font-family: 'social';
    src: url('/img/social.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--warm-white);
}

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

/* Navigation */
.navbar {
    background: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.3s;
}

.nav-logo * {
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
}

.nav-logo #logo {
    margin-top: -8px;
    width: 56px;
    height: 56px;
    background-size: 100%;
    mask-image: url(/img/cupcake.mask.png);
    mask-mode: luminance;
    mask-size: 100%;
    background-color: var(--coral-pink);
    transition:
      width 0.3s,
      height 0.3s;
}

.nav-logo h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--coral-pink);
    font-weight: 700;
    transition: font-size 0.3s;
}

.navbar.minimal .nav-container {
    height: 50px;
}

.navbar.minimal #logo {
    width: 40px;
    height: 40px;
}

.navbar.minimal .nav-logo h1 {
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--coral-pink);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--dark-text);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */

.hero {
    margin: 80px auto 0;
    padding: 4rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .hero-container > * {
        width: 50%;
    }

    .hero-details {
        text-align: center;
    }
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    color: var(--coral-pink);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--medium-text);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 33vw;
    margin: 0 auto 2rem auto;
}

.hero-buttons {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-image {
    flex: 1;
    text-align: center;
}

/* Legacy styles for backwards compatibility */
.hero-image img {
    max-width: 100%;
    max-height: var(1000px);
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--coral-pink);
    color: white;
    border-color: var(--coral-pink);
}

.btn-primary:hover {
    background: transparent;
    color: var(--coral-pink);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 105, 180, 0.3);
}

.btn-secondary {
    background: var(--primary-yellow);
    color: var(--dark-text);
    border-color: var(--primary-yellow);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--primary-yellow);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--coral-pink);
    border-color: var(--coral-pink);
}

.btn-outline:hover {
    background: var(--coral-pink);
    color: white;
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 3rem 0 6rem 0;
    background: white;
}

.about-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--coral-pink);
    margin-bottom: 2rem;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--medium-text);
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

/* Gallery Section */
.gallery {
    padding: 3rem 0 6rem 0;
    background: var(--cream);
}

.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--coral-pink);
    text-align: center;
    margin-bottom: 3rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--soft-pink) 0%, var(--primary-yellow) 100%);
    text-align: center;
}

.cta-content h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark-text);
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-yellow);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-yellow);
}

.footer-section .social-logo {
    font-family: 'social';
    padding: 0px 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #555;
}

/*
    Nav buttons (carousel/gallery)
    - prev  (<)
    - next  (>)
    - close (x)
*/

.nav-btn {
    --size: 45px;
    --padding: 1em;
    --primary-color: var(--coral-pink);
    --secondary-color: var(--primary-yellow);
    position: absolute;
    top: 50%;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: var(--size);
    height: var(--size);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-btn:hover {
    background: var(--secondary-color);
}

.nav-btn:focus-visible {
    border: none;
}

.nav-btn > * {
    display: block;
    mask-image: url(/img/angle-right.svg);
    mask-size: cover;
    mask-repeat: no-repeat;
    mask-size: 50%;
    mask-position: center;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
}

.nav-btn > *:hover {
    background: var(--primary-color);
}

.nav-btn.prev, .nav-btn.next {
    transform: translateY(-50%);
}

.nav-btn.prev {
    left: var(--padding);
    transform: scaleX(-1) translateY(-50%);
}

.nav-btn.next {
    right: var(--padding);
}

.nav-btn.close {
    top: var(--padding);
    right: var(--padding);
}

.nav-btn.close > * {
    mask-image: url(/img/cross.svg);
    mask-size: 80%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .minimal .nav-menu {
        top: 50px;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-container {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-image {
        padding-left: 0;
        margin-top: 2rem;
    }

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

    .hero-buttons {
        gap: 1rem;
    }

    .hero-description {
        max-width: 100%;
        margin: 0 auto 2rem auto;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .hero {
        padding: 1rem;
    }

    .about,
    .gallery,
    .cta {
        padding: 3rem 0;
    }
}
