/* ========================================
   Cinna'moon Cinnamon Roll Shop
   Custom Styles
======================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ---- Section Padding ---- */
.section-padding {
    padding: 100px 0;
}

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

/* ---- Badge Section ---- */
.badge-section {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fce4e8 0%, #ffede5 100%);
    color: #7B2D3B;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid rgba(123, 45, 59, 0.12);
}

.badge-light {
    background: rgba(255, 255, 255, 0.12);
    color: #F5D5C8;
    border-color: rgba(245, 213, 200, 0.25);
}

/* ---- Buttons ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #7B2D3B 0%, #a84056 100%);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(123, 45, 59, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(123, 45, 59, 0.4);
    background: linear-gradient(135deg, #5e1f2c 0%, #7B2D3B 100%);
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: white;
    color: #7B2D3B;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 18px 40px;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    background: #fff8f5;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 18px 40px;
    border-radius: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: white;
    color: #7B2D3B;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 18px 40px;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.btn-cta-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 18px 40px;
    border-radius: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* ---- Navbar ---- */
.navbar {
    background: rgba(255, 251, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.06);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 251, 247, 0.97);
    box-shadow: 0 4px 30px rgba(123, 45, 59, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7B2D3B, #ff8a5c);
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

/* Mobile menu */
.mobile-menu {
    border-top: 1px solid rgba(123, 45, 59, 0.08);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-link {
    display: block;
    border-bottom: 1px solid rgba(123, 45, 59, 0.06);
}

/* Hamburger animation */
.bar {
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

#menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

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

/* ---- Hero ---- */
.hero {
    background: linear-gradient(135deg, #7B2D3B 0%, #a84056 30%, #d94f67 55%, #ff8a5c 80%, #ffaa82 100%);
    position: relative;
}

.hero-bg {
    background: linear-gradient(160deg, #5e1f2c 0%, #7B2D3B 25%, #a84056 50%, #d94f67 70%, #ff8a5c 100%);
}

/* Geometric shapes */
.shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #F5D5C8;
    top: -100px;
    right: -100px;
}

.shape-circle-2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #FDE8D0;
    bottom: 15%;
    left: -60px;
}

.shape-circle-3 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    top: 30%;
    right: 10%;
    opacity: 0.08;
}

.shape-circle-4 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #F5D5C8;
    top: 20%;
    left: 15%;
    opacity: 0.15;
}

.shape-square-1 {
    width: 100px;
    height: 100px;
    background: #FDE8D0;
    top: 60%;
    right: 5%;
    transform: rotate(45deg);
    border-radius: 12px;
}

.shape-square-2 {
    width: 60px;
    height: 60px;
    background: white;
    bottom: 25%;
    left: 8%;
    transform: rotate(20deg);
    border-radius: 8px;
    opacity: 0.1;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 120px solid #F5D5C8;
    top: 15%;
    left: 5%;
    opacity: 0.08;
    transform: rotate(-15deg);
}

.shape-dot-1 {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    top: 40%;
    right: 20%;
    opacity: 0.2;
}

.shape-dot-2 {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #F5D5C8;
    bottom: 35%;
    right: 15%;
    opacity: 0.25;
}

.shape-dot-3 {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    top: 55%;
    left: 20%;
    opacity: 0.15;
}

.shape-ring-1 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid #F5D5C8;
    bottom: -40px;
    right: 25%;
    opacity: 0.1;
}

.shape-ring-2 {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid white;
    top: 10%;
    right: 30%;
    opacity: 0.08;
}

/* Hero scroll indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: float 2.5s ease-in-out infinite;
}

.scroll-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ---- Marquee ---- */
.marquee-bar {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: flex;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 8px;
    animation: marquee 25s linear infinite;
    padding: 0 8px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---- Menu Cards ---- */
.menu-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(123, 45, 59, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(123, 45, 59, 0.04);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(123, 45, 59, 0.12);
}

.menu-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.08);
}

.menu-card-img-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}

.tag-popular {
    display: inline-block;
    background: linear-gradient(135deg, #ff8a5c, #d94f67);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
}

.menu-card-body {
    padding: 24px;
}

/* ---- Drink Cards ---- */
.drink-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(123, 45, 59, 0.06);
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(123, 45, 59, 0.04);
}

.drink-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(123, 45, 59, 0.1);
}

.drink-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(123, 45, 59, 0.08), rgba(123, 45, 59, 0.04));
    color: #7B2D3B;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drink-icon-blush {
    background: linear-gradient(135deg, rgba(255, 138, 92, 0.12), rgba(255, 138, 92, 0.06));
    color: #ff8a5c;
}

.drink-icon-cream {
    background: linear-gradient(135deg, rgba(253, 232, 208, 0.4), rgba(253, 232, 208, 0.2));
    color: #c7441b;
}

.drink-icon-burgundy {
    background: linear-gradient(135deg, rgba(123, 45, 59, 0.12), rgba(123, 45, 59, 0.06));
    color: #7B2D3B;
}

/* ---- About Section ---- */
.about-image-grid {
    position: relative;
    height: 580px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(123, 45, 59, 0.15);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 50%;
    border-radius: 24px;
    overflow: hidden;
    border: 6px solid white;
    box-shadow: 0 16px 48px rgba(123, 45, 59, 0.12);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    z-index: 2;
}

.about-accent-box {
    background: linear-gradient(135deg, #7B2D3B, #a84056);
    color: white;
    padding: 24px 28px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 16px 48px rgba(123, 45, 59, 0.3);
}

.accent-number {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.accent-text {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 2px;
}

/* Stats */
.stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #7B2D3B;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(123, 45, 59, 0.55);
    font-weight: 500;
}

/* ---- Testimonials ---- */
.testimonial-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(245, 213, 200, 0.3);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Location ---- */
.location-card {
    transition: all 0.3s ease;
}

/* ---- Contact Form ---- */
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #7B2D3B;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(123, 45, 59, 0.1);
    border-radius: 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: #44161e;
    background: white;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(123, 45, 59, 0.35);
}

.form-input:focus {
    border-color: #7B2D3B;
    box-shadow: 0 0 0 4px rgba(123, 45, 59, 0.08);
}

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

.form-success {
    text-align: center;
    padding: 32px 16px;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Scroll Reveal ---- */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Background Shapes (global) ---- */
.abs-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.abs-circle-1 {
    width: 500px;
    height: 500px;
    background: rgba(255, 170, 130, 0.06);
    top: -200px;
    right: -200px;
}

.abs-circle-2 {
    width: 350px;
    height: 350px;
    background: rgba(123, 45, 59, 0.04);
    bottom: -150px;
    left: -150px;
}

.abs-circle-3 {
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.04);
    top: -200px;
    left: -200px;
}

.abs-circle-4 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    bottom: -100px;
    right: -80px;
}

.abs-circle-5 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    top: -100px;
    left: -100px;
}

.abs-circle-6 {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.04);
    bottom: -80px;
    right: -60px;
}

.abs-square {
    position: absolute;
    border-radius: 16px;
    pointer-events: none;
}

.abs-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(255, 170, 130, 0.08);
    top: 20%;
    right: 5%;
    transform: rotate(30deg);
}

.abs-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(123, 45, 59, 0.05);
    bottom: 15%;
    left: 8%;
    transform: rotate(-20deg);
}

.abs-triangle {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

.abs-triangle-1 {
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(123, 45, 59, 0.04);
    top: 10%;
    left: 3%;
    transform: rotate(-10deg);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .about-image-grid {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .about-image-grid {
        height: 380px;
    }

    .about-img-main {
        width: 80%;
        height: 75%;
    }

    .about-img-secondary {
        width: 60%;
        height: 45%;
    }

    .about-img-accent {
        right: 5%;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    @media (min-width: 769px) and (max-width: 1024px) {
        .hero h1 {
            font-size: 4rem;
        }
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .about-image-grid {
        height: 300px;
    }

    .about-img-main {
        width: 100%;
        height: 70%;
    }

    .about-img-secondary {
        display: none;
    }
}
