﻿/* =========================================
   CAKE BY DILINI
   BIRTHDAY CAKES PAGE
========================================= */

:root {
    --pink: #d96f86;
    --pink-dark: #bd526b;
    --rose: #f7dce3;
    --cream: #fffaf7;
    --cream-2: #fdf0f3;
    --brown: #3a2725;
    --brown-light: #786563;
    --white: #ffffff;
    --border: #eadfe0;
    --shadow: 0 20px 50px rgba(55, 31, 29, 0.10);
    --shadow-small: 0 10px 30px rgba(55, 31, 29, 0.07);
    --radius: 24px;
    --container: 1180px;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--cream);
    color: var(--brown);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================
   CONTAINER
========================================= */

.container {
    width: min(calc(100% - 100px), var(--container));
    margin-inline: auto;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 250, 247, 0.96);
    border-bottom: 1px solid rgba(234, 223, 224, 0.8);
    backdrop-filter: blur(15px);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* BRAND */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

    .brand img {
        width: 72px;
        height: 72px;
        object-fit: cover;
        border-radius: 50%;
    }

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

    .brand-text span {
        color: var(--brown);
        font-family: Georgia, serif;
        font-size: 17px;
        font-weight: 700;
    }

    .brand-text strong {
        margin-top: 3px;
        color: var(--pink);
        font-family: Georgia, serif;
        font-size: 27px;
    }


/* NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

    .main-nav a {
        position: relative;
        padding: 8px 0;
        color: var(--brown-light);
        font-size: 14px;
        font-weight: 600;
        transition: color .3s ease;
    }

        .main-nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 2px;
            background: var(--pink);
            transition: width .3s ease;
        }

        .main-nav a:hover {
            color: var(--pink);
        }

            .main-nav a:hover::after {
                width: 100%;
            }


/* HEADER ORDER */

.header-order {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 21px;
    border-radius: 999px;
    background: var(--pink);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(217, 111, 134, .20);
    transition: .3s ease;
}

    .header-order:hover {
        transform: translateY(-3px);
        background: var(--pink-dark);
    }


/* =========================================
   HERO
========================================= */

.birthday-hero {
    padding: 20px 0;
    background: radial-gradient( circle at 85% 20%, #f8dce3 0, transparent 30% ), radial-gradient( circle at 10% 90%, #f7e6df 0, transparent 28% ), var(--cream);
}

.birthday-hero-grid {
    min-height: 540px;
    display: grid;
    grid-template-columns: 1fr .9fr;
    align-items: center;
    gap: 60px;
}


/* HERO CONTENT */

.birthday-hero-content {
    max-width: 620px;
}

.hero-label {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--pink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.birthday-hero h1 {
    margin-bottom: 20px;
    color: var(--brown);
    font-family: Georgia, serif;
    font-size: clamp(45px, 6vw, 72px);
    line-height: 1.03;
    letter-spacing: -2px;
}

    .birthday-hero h1 span {
        display: block;
        color: var(--pink);
    }

.birthday-hero-content > p {
    max-width: 560px;
    margin-bottom: 25px;
    color: var(--brown-light);
    font-size: 16px;
    line-height: 1.8;
}


/* BUTTONS */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 23px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    transition: .3s ease;
}

    .btn:hover {
        transform: translateY(-3px);
    }

.btn-primary {
    background: var(--pink);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(217, 111, 134, .22);
}

    .btn-primary:hover {
        background: var(--pink-dark);
    }

.btn-outline {
    color: var(--pink);
    border-color: var(--pink);
    background: transparent;
}

    .btn-outline:hover {
        background: var(--pink);
        color: var(--white);
    }


/* HERO FEATURES */

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

    .hero-features div {
        display: flex;
        flex-direction: column;
    }

    .hero-features strong {
        font-size: 13px;
    }

    .hero-features span {
        color: var(--brown-light);
        font-size: 11px;
    }


/* HERO IMAGE */

.birthday-hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-frame {
    width: min(100%, 500px);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 180px 180px 30px 30px;
    background: var(--rose);
    box-shadow: var(--shadow);
    transform: rotate(2deg);
}

    .hero-image-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: rotate(-2deg) scale(1.02);
        transition: transform .6s ease;
    }

    .hero-image-frame:hover img {
        transform: rotate(-2deg) scale(1.07);
    }


/* BADGE */

.hero-badge {
    position: absolute;
    right: 0;
    bottom: 25px;
    width: 115px;
    height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
}

    .hero-badge i {
        margin-bottom: 3px;
        color: var(--pink);
        font-size: 18px;
    }

    .hero-badge strong {
        font-size: 11px;
    }

    .hero-badge span {
        color: var(--pink);
        font-family: Georgia, serif;
        font-size: 16px;
        font-weight: 700;
    }


/* =========================================
   SECTION HEADING
========================================= */

.section-heading {
    max-width: 700px;
    margin: 0 auto 15px;
    text-align: center;
}

    .section-heading span {
        display: inline-block;
        margin-bottom: 7px;
        color: var(--pink);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 2px;
    }

    .section-heading h2 {
        margin-bottom: 7px;
        color: var(--brown);
        font-family: Georgia, serif;
        font-size: clamp(32px, 4vw, 46px);
        line-height: 1.15;
    }

    .section-heading p {
        color: var(--brown-light);
        font-size: 13px;
    }


/* =========================================
   CAKES
========================================= */

.cakes-section {
    padding: 20px 0;
    background: var(--white);
}

.birthday-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}


/* CAKE CARD */

.cake-card {
    overflow: hidden;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-small);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

    .cake-card:hover {
        transform: translateY(-7px);
        border-color: var(--pink);
        box-shadow: var(--shadow);
    }


/* CAKE IMAGE */

.cake-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--rose);
}

    .cake-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease;
    }

.cake-card:hover .cake-image img {
    transform: scale(1.07);
}

.cake-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--pink);
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
}


/* CAKE CONTENT */

.cake-content {
    padding: 16px 17px 18px;
}

.cake-number {
    color: var(--pink);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.cake-content h3 {
    margin: 4px 0 6px;
    font-family: Georgia, serif;
    font-size: 20px;
}

.cake-content p {
    min-height: 45px;
    margin-bottom: 11px;
    color: var(--brown-light);
    font-size: 12px;
    line-height: 1.6;
}

.cake-order {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--pink);
    font-size: 12px;
    font-weight: 700;
    transition: .3s ease;
}

    .cake-order:hover {
        color: var(--pink-dark);
        gap: 10px;
    }


/* =========================================
   CUSTOM CTA
========================================= */

.custom-section {
    padding: 20px 0;
    background: var(--cream-2);
}

.custom-box {
    padding: 45px 25px;
    border-radius: 28px;
    background: linear-gradient( 135deg, #382725, #523936 );
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow);
}

    .custom-box > span {
        color: #f5b8c5;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 2px;
    }

    .custom-box h2 {
        max-width: 650px;
        margin: 9px auto 10px;
        font-family: Georgia, serif;
        font-size: clamp(32px, 5vw, 50px);
        line-height: 1.1;
    }

    .custom-box p {
        max-width: 550px;
        margin: 0 auto 20px;
        color: rgba(255,255,255,.7);
        font-size: 13px;
    }

.btn-light {
    background: var(--white);
    color: var(--pink);
}

    .btn-light:hover {
        background: var(--pink);
        color: var(--white);
    }


/* =========================================
   FOOTER
========================================= */

.site-footer {
    padding: 20px 0 15px;
    background: #2d211f;
    color: var(--white);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-brand a {
    display: inline-block;
    margin-bottom: 8px;
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: 700;
}

.footer-brand p {
    max-width: 330px;
    color: rgba(255,255,255,.55);
    font-size: 12px;
}

.footer-links {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
}

    .footer-links h3 {
        margin-bottom: 5px;
        font-size: 13px;
    }

    .footer-links > a {
        color: rgba(255,255,255,.58);
        font-size: 11px;
        transition: .3s ease;
    }

        .footer-links > a:hover {
            color: var(--white);
            transform: translateX(3px);
        }


/* =========================================
   SOCIAL BUTTONS
========================================= */

.social-buttons {
    display: flex;
    gap: 9px;
    margin-top: 3px;
}

.social-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    font-size: 16px;
    transition: .3s ease;
}

    .social-btn:hover {
        transform: translateY(-4px);
        color: var(--white);
        border-color: transparent;
        box-shadow: 0 10px 25px rgba(0,0,0,.2);
    }

    .social-btn.facebook:hover {
        background: #1877f2;
    }

    .social-btn.tiktok:hover {
        background: #111;
    }

    .social-btn.youtube:hover {
        background: #ff0000;
    }
    .social-btn.whatsapp:hover {
        background: #41ff00;
    }

/* =========================================
   FOOTER BOTTOM
========================================= */

.footer-bottom {
    padding-top: 12px;
    text-align: center;
}

    .footer-bottom p {
        color: rgba(255,255,255,.4);
        font-size: 10px;
    }


/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 18px;
    }

    .birthday-hero-grid {
        gap: 40px;
    }

    .birthday-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1.3fr 1fr 1fr 1fr;
        gap: 20px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 800px) {

    .container {
        width: calc(100% - 30px);
    }


    /* HEADER */

    .header-inner {
        min-height: 70px;
    }

    .brand {
        gap: 8px;
    }

        .brand img {
            width: 58px;
            height: 58px;
        }

    .brand-text span {
        font-size: 13px;
    }

    .brand-text strong {
        font-size: 21px;
    }

    .main-nav {
        display: none;
    }

    .header-order {
        min-height: 40px;
        padding: 9px 15px;
        font-size: 11px;
    }


    /* HERO */

    .birthday-hero {
        padding: 15px 0;
    }

    .birthday-hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .birthday-hero-content {
        max-width: 700px;
        margin-inline: auto;
    }

    .birthday-hero h1 {
        font-size: clamp(40px, 10vw, 58px);
        letter-spacing: -1px;
    }

    .birthday-hero-content > p {
        margin-inline: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .birthday-hero-image {
        max-width: 500px;
        width: 100%;
        margin-inline: auto;
    }


    /* CAKES */

    .birthday-grid {
        grid-template-columns: 1fr;
    }


    /* FOOTER */

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 600px) {

    .container {
        width: calc(100% - 24px);
    }

    .birthday-hero {
        padding: 15px 0;
    }

        .birthday-hero h1 {
            font-size: 42px;
        }

    .birthday-hero-content > p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

        .hero-buttons .btn {
            width: 100%;
        }

    .hero-features {
        gap: 15px;
    }

    .hero-image-frame {
        border-radius: 130px 130px 25px 25px;
    }

    .hero-badge {
        width: 90px;
        height: 90px;
        right: 5px;
    }

        .hero-badge span {
            font-size: 13px;
        }


    /* SECTION */

    .cakes-section,
    .custom-section {
        padding: 15px 0;
    }

    .section-heading {
        margin-bottom: 10px;
    }


    /* CAKE */

    .cake-content {
        padding: 15px;
    }


    /* CTA */

    .custom-box {
        padding: 35px 18px;
        border-radius: 22px;
    }


    /* FOOTER */

    .footer-top {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .footer-brand {
        grid-column: auto;
    }

        .footer-brand p {
            margin-inline: auto;
        }

    .footer-links {
        align-items: center;
    }

    .social-buttons {
        justify-content: center;
    }
}
/* =========================================
   BIRTHDAY GALLERY
========================================= */

.birthday-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.birthday-gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    background: var(--rose);
    box-shadow: var(--shadow-small);
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .birthday-gallery-item img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .birthday-gallery-item:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow);
    }

        .birthday-gallery-item:hover img {
            transform: scale(1.06);
        }


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .birthday-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .birthday-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .birthday-gallery-item {
        border-radius: 14px;
    }
}