/* ===== CSS Variables ===== */
:root {
    --primary: #692a18;
    --primary-dark: #4a1d10;
    --primary-light: #8b3d24;
    --secondary: #4d5d4c;
    --secondary-light: #5d6e5c;
    --accent: #4d5d4c;
    --cream: #f4eee2;
    --cream-dark: #e8dfd0;
    --dark: #000000;
    --dark-light: #1a1a1a;
    --text: #f4eee2;
    --text-light: #c0c0c0;
    --white: #FFFFFF;
    --forest: #4d5d4c;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Krub', sans-serif;
    --font-body: 'Krub', sans-serif;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-content p {
    margin-top: 20px;
    color: var(--primary);
    font-size: 1.1rem;
}

.coffee-cup {
    position: relative;
    width: 80px;
    margin: 0 auto;
}

.cup-body {
    width: 80px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 0 0 40px 40px;
    position: relative;
}

.cup-body::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 10px;
    width: 25px;
    height: 30px;
    border: 5px solid var(--primary);
    border-left: none;
    border-radius: 0 15px 15px 0;
}

.coffee-steam {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 5px;
}

.coffee-steam span {
    width: 8px;
    height: 30px;
    background: var(--secondary);
    border-radius: 10px;
    animation: steam 1s infinite ease-in-out;
}

.coffee-steam span:nth-child(2) {
    animation-delay: 0.2s;
    height: 25px;
}

.coffee-steam span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes steam {

    0%,
    100% {
        transform: translateY(0) scaleY(1);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-10px) scaleY(1.2);
        opacity: 1;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Hero Section ===== */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: #ffffff;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.9);
    margin-bottom: 20px;
    font-weight: 500;
    opacity: 1;
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* ===== Typography ===== */
.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 40px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--cream);
    margin-bottom: 20px;
    font-weight: 600;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .section-tag {
    padding-left: 0;
}

.section-header .section-tag::before {
    display: none;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(25, 25, 25, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    filter: invert(1) brightness(2);
    transition: filter 0.3s ease;
}

.navbar.scrolled .logo-img {
    filter: none;
}

.navbar.scrolled .logo {
    color: var(--white);
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--white);
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--white);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('https://images.unsplash.com/photo-1447933601403-0c6688de566e?w=1920&h=1080&fit=crop') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(78, 94, 77, 0.9) 0%, rgba(105, 42, 24, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: var(--cream);
    font-size: 0.9rem;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 15px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Features Section ===== */
.features {
    padding: 80px 0;
    background: var(--dark);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: 40px 40px 0 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 20px;
    background: var(--dark-light);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--cream);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: var(--dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 40px;
    bottom: 40px;
    border: 3px solid var(--secondary);
    border-radius: 20px;
    z-index: -1;
}

.about-image-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.badge-text {
    font-size: 0.85rem;
    opacity: 0.9;
}

.about-text .section-title {
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== Menu Section ===== */
.menu {
    padding: 100px 0;
    background: var(--dark);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.menu-tab {
    padding: 12px 30px;
    border: 2px solid var(--secondary);
    background: transparent;
    color: var(--cream);
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.menu-tab:hover,
.menu-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.menu-item {
    background: var(--dark-light);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.menu-item-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.1);
}

.menu-item-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.menu-item-content {
    padding: 25px;
}

.menu-item-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 8px;
}

.menu-item-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.menu-item-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 600;
}

/* ===== Gallery Section ===== */
.gallery {
    padding: 100px 0;
    background: var(--dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-size: 1rem;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 100px 0;
    background: var(--dark);
}

.testimonials-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonials-nav {
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 5;
}

.testimonials-nav:hover {
    background: var(--secondary);
    transform: scale(1.1);
}


.testimonials-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}


.testimonial-card {
    background: var(--dark-light);
    padding: 30px;
    border-radius: 15px;
    transition: var(--transition);
    flex: 0 0 320px;
    width: 320px;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: #F4C430;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--cream);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img,
.testimonial-author .author-initial {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-name {
    font-weight: 600;
    color: var(--cream);
    display: block;
}

.author-title {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== Full Width Map Section ===== */
.map-section {
    background: var(--dark);
    padding: 0;
    overflow: hidden;
}

.map-header {
    text-align: center;
    padding: 50px 20px 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.map-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 10px;
}

.map-header p {
    color: var(--cream);
    font-size: 1.1rem;
    opacity: 0.9;
}

.map-container-full {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.map-container-full:hover {
    box-shadow: 0 -10px 40px rgba(105, 42, 24, 0.3);
}

.map-container-full iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: saturate(0.9);
    transition: filter 0.3s ease;
}

.map-container-full:hover iframe {
    filter: saturate(1.1);
}


/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-details {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.contact-map {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    width: 100%;
    margin-top: 30px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}


/* ===== Footer ===== */
.footer {
    background: var(--dark);
    padding: 60px 0 30px;
    color: var(--cream);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(253, 245, 230, 0.7);
}

.footer h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul li,
.footer-hours ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(253, 245, 230, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-hours ul li {
    color: rgba(253, 245, 230, 0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(253, 245, 230, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(253, 245, 230, 0.5);
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .about-image-badge {
        right: 20px;
        bottom: -20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .gallery-item-large {
        grid-column: span 2;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        padding: 100px 40px;
        gap: 30px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--text);
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .features {
        border-radius: 30px 30px 0 0;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item-large {
        grid-column: span 1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Scroll Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Floating Elements */
.floating {
    animation: float 4s ease-in-out infinite;
}

.floating-delay-1 {
    animation-delay: 0.5s;
}

.floating-delay-2 {
    animation-delay: 1s;
}

/* Hero Animations */
.hero-title {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-description {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-badge {
    animation: pulse 2s ease-in-out infinite;
}

/* Card hover effects */
.feature-card,
.menu-item,
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.feature-card::after,
.menu-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.feature-card:hover::after,
.menu-item:hover::after {
    left: 100%;
}

/* Button shine effect */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.6s;
}

.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Gallery zoom effect */
.gallery-item::before {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 2rem;
    z-index: 10;
    transition: var(--transition);
}

.gallery-item:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

/* Stats counter animation */
.stat-number {
    display: inline-block;
}

/* Parallax effect for hero */
.hero {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
}

/* Video Section Styles */
.video-reviews {
    padding: 100px 0;
    background: var(--secondary);
}

.video-reviews .section-header .section-tag {
    color: var(--accent);
}

.video-reviews .section-header .section-title {
    color: var(--white);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.video-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(105, 42, 24, 0.5);
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--white);
    margin-left: 5px;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-light);
}

.video-info {
    padding: 25px;
}

.video-info h3 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.video-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.video-info .video-meta {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16/9;
    position: relative;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.video-modal-close:hover {
    transform: rotate(90deg);
    color: var(--accent);
}

.video-modal iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* ===== Admin System Styles ===== */

/* Admin Login Button */
.admin-login-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    margin-left: 15px;
}

.navbar.scrolled .admin-login-btn {
    background: var(--cream-dark);
    border-color: var(--secondary);
    color: var(--text);
}

.admin-login-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Admin Indicator */
.admin-indicator {
    background: var(--secondary);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-left: 15px;
    align-items: center;
    gap: 5px;
}

/* Admin Modals */
.admin-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.admin-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
}

.admin-modal.active .modal-content {
    transform: scale(1);
}

.modal-content.modal-large {
    max-width: 800px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--dark);
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--cream-dark);
}

.modal-footer .hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--cream-dark);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-group input.error {
    border-color: #e74c3c;
    animation: shake 0.3s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.error-msg {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.success-msg {
    color: #27ae60;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.modal-actions .btn {
    flex: 1;
}

.modal-cancel {
    background: var(--cream-dark);
    color: var(--text);
}

.modal-cancel:hover {
    background: var(--cream);
}

.link-btn {
    background: none;
    border: none;
    color: var(--secondary);
    cursor: pointer;
    font-size: 0.95rem;
    text-decoration: underline;
}

.link-btn:hover {
    color: var(--primary);
}

/* Admin Toolbar */
.admin-toolbar {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    padding: 15px 25px;
    border-radius: 20px;
    display: flex;
    gap: 10px;
    z-index: 9998;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.admin-toolbar.active {
    bottom: 30px;
}

.toolbar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: var(--dark-light);
    border: none;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.8rem;
    font-family: var(--font-body);
    transition: var(--transition);
}

.toolbar-btn span:first-child {
    font-size: 1.3rem;
}

.toolbar-btn:hover {
    background: var(--secondary);
}

.toolbar-btn.logout:hover {
    background: var(--primary);
}

/* Admin Mode - Editable Elements */
body.admin-mode [data-editable] {
    position: relative;
    cursor: text;
}

body.admin-mode [data-editable].editable-active {
    outline: 2px dashed var(--secondary);
    outline-offset: 4px;
    border-radius: 4px;
}

body.admin-mode [data-editable].editing {
    outline-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

body.admin-mode [data-editable]::before {
    content: '✏️';
    position: absolute;
    top: -25px;
    right: 0;
    background: var(--secondary);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.75rem;
    opacity: 0;
    transition: var(--transition);
}

body.admin-mode [data-editable]:hover::before {
    opacity: 1;
}

/* Gallery Manager */
.gallery-manager {
    max-height: 60vh;
}

.gallery-upload-zone {
    border: 2px dashed var(--cream-dark);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.gallery-upload-zone:hover {
    border-color: var(--secondary);
    background: var(--cream);
}

.upload-label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.upload-icon {
    font-size: 2.5rem;
}

.upload-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    display: block;
    margin-top: 5px;
}

.upload-label:hover {
    border-color: var(--primary);
    background: rgba(139, 69, 19, 0.05);
}

.url-input-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.url-input-group input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--cream-dark);
    border-radius: 10px;
    font-size: 0.95rem;
}

.gallery-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
}

.gallery-item-card {
    position: relative;
    aspect-ratio: 1;
    min-height: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    background: var(--cream);
}

.gallery-item-card:hover {
    border-color: var(--secondary);
}

.gallery-item-card.selected {
    border-color: var(--primary);
}

.gallery-item-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item-card .delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item-card:hover .delete-btn {
    opacity: 1;
}

/* Menu Manager */
.menu-manager-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.mm-tab {
    padding: 10px 25px;
    background: var(--cream);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.mm-tab.active {
    background: var(--secondary);
    color: var(--white);
}

.mm-content {
    display: none;
}

.mm-content.active {
    display: block;
}

.mm-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mm-actions select {
    padding: 10px 15px;
    border: 2px solid var(--cream-dark);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: var(--font-body);
}

.mm-items-list,
.mm-categories-list {
    max-height: 400px;
    overflow-y: auto;
}

.mm-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--cream);
    border-radius: 12px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.mm-item:hover {
    background: var(--cream-dark);
}

.mm-item-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.mm-item-info {
    flex: 1;
}

.mm-item-info h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 3px;
}

.mm-item-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.mm-item-price {
    font-weight: 600;
    color: var(--primary);
}

.mm-item-actions {
    display: flex;
    gap: 8px;
}

.mm-item-actions button {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.mm-item-actions button:hover {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.mm-item-actions button.delete:hover {
    background: #e74c3c;
    border-color: #e74c3c;
}

/* Category Item */
.mm-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: var(--cream);
    border-radius: 12px;
    margin-bottom: 10px;
}

.mm-category-name {
    font-weight: 500;
    color: var(--dark);
}

.mm-category-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Admin Toast */
.admin-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: var(--dark);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1rem;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.admin-toast.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Responsive Admin */
@media (max-width: 768px) {
    .admin-toolbar {
        bottom: -250px;
        padding: 10px 15px;
        gap: 5px;
        flex-wrap: wrap;
        max-width: 95%;
    }

    .admin-toolbar.active {
        bottom: 15px;
    }

    .toolbar-btn {
        padding: 8px 12px;
        font-size: 0.7rem;
    }

    .toolbar-btn span:first-child {
        font-size: 1.1rem;
    }

    .modal-content {
        padding: 20px;
        margin: 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item-card {
        height: 80px;
        min-height: 80px;
    }
}

/* ===== Image Editing Styles ===== */
body.admin-mode [data-image-editable] {
    cursor: pointer;
    position: relative;
}

body.admin-mode [data-image-editable].image-editable {
    outline: 3px dashed var(--secondary);
    outline-offset: 3px;
    transition: var(--transition);
}

body.admin-mode [data-image-editable].image-editable:hover {
    outline-color: var(--primary);
}

body.admin-mode .image-editable-parent {
    position: relative;
    cursor: pointer;
}

body.admin-mode .image-editable-parent:hover .image-editable {
    outline-color: var(--primary);
}

body.admin-mode .image-editable-parent::after {
    content: '📷 แก้ไขรูป';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 10;
}

body.admin-mode .image-editable-parent:hover::after {
    opacity: 1;
}

/* Image Picker Modal */
.image-picker {
    text-align: center;
}

.picker-url-input {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.picker-url-input input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--cream-dark);
    border-radius: 10px;
    font-size: 1rem;
}

.picker-url-input input:focus {
    outline: none;
    border-color: var(--secondary);
}

.picker-divider {
    color: var(--text-light);
    margin: 20px 0;
    font-size: 0.9rem;
}

.picker-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: var(--cream);
    border-radius: 15px;
}

.picker-item {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.picker-item:hover {
    border-color: var(--secondary);
    transform: scale(1.05);
}

.picker-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.picker-hint {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 15px;
}

.no-images-msg {
    padding: 40px;
    color: var(--text-light);
    grid-column: 1 / -1;
}

/* ===== Background Edit Button ===== */
.hero-bg-edit-btn {
    position: absolute;
    top: 100px;
    right: 20px;
    z-index: 100;
}

.hero-bg-edit-btn button {
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-bg-edit-btn button:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Logo edit highlight in admin mode */
body.admin-mode .logo-img.image-editable {
    outline: 2px dashed var(--white);
    outline-offset: 2px;
}

body.admin-mode .logo-img.image-editable:hover {
    outline-color: var(--accent);
}

/* ===== Lightbox Modal ===== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    height: 150px;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

@media only screen and (max-width: 700px) {
    .lightbox-content {
        width: 95%;
    }
}

/* ===== Storage Badges ===== */
.storage-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.storage-badge.cloud {
    background: rgba(224, 242, 255, 0.9);
    color: #0066cc;
    border: 1px solid #99ccff;
}

.storage-badge.local {
    background: rgba(255, 235, 235, 0.9);
    color: #cc0000;
    border: 1px solid #ff9999;
}

/* ===== Lively Animations ===== */

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Glow */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(105, 42, 24, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(105, 42, 24, 0.6);
    }
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Bounce In */
@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Slide Up Reveal */
@keyframes slideUpReveal {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Apply Floating to Logo Icon */
.logo-icon {
    animation: float 3s ease-in-out infinite;
    display: inline-block;
}

/* Apply Pulse to Hero Section Tag */
.hero-tag {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* Enhanced Button Hover */
.btn {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

/* Card Hover Effects */
.menu-card,
.video-card,
.gallery-item-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-card:hover,
.video-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Section Title Animation */
.section-title {
    position: relative;
    overflow: hidden;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: shimmer 3s linear infinite;
    background-size: 200% 100%;
}

/* Contact Icon Bounce */
.contact-icon {
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    animation: bounceIn 0.5s ease;
}

/* Social Links Hover */
.social-link {
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px) rotate(10deg);
}

/* Nav Link Underline Animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Category Tab Animation */
.category-tab {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-tab:hover {
    transform: scale(1.05);
}

.category-tab.active {
    animation: bounceIn 0.3s ease;
}

/* Gallery Image Hover Zoom */
.gallery-grid img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* CTA Section Shimmer */
.cta-content h2 {
    background: linear-gradient(90deg, var(--white), var(--accent), var(--white));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

/* Footer Wave */
.footer::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    height: 30px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30'%3E%3Cpath fill='%23191919' d='M0,30 C300,10 900,10 1200,30 L1200,30 L0,30 Z'/%3E%3C/svg%3E");
    background-size: cover;
}

/* Preloader Enhanced */
.preloader-content {
    animation: bounceIn 0.5s ease;
}

/* ===== Language Switcher with Animated Flags ===== */
.lang-switcher {
    position: relative;
    width: 50px;
    height: 35px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    margin-right: 10px;
    transition: all 0.3s ease;
    perspective: 200px;
}

.lang-switcher:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.navbar.scrolled .lang-switcher {
    background: rgba(105, 42, 24, 0.1);
    border-color: var(--primary);
}

.flag-container {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.flag {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    backface-visibility: hidden;
    transition: all 0.4s ease;
}

.flag-th {
    transform: rotateY(0deg);
}

.flag-en {
    transform: rotateY(180deg);
}

/* Active states - flipped */
.lang-switcher.en .flag-container {
    transform: rotateY(180deg);
}

/* Hover glow effect */
.lang-switcher:hover .flag {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Pulse animation on switch */
@keyframes flagPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.lang-switcher.switching {
    animation: flagPulse 0.3s ease;
}

@media (max-width: 768px) {
    .lang-switcher {
        width: 40px;
        height: 28px;
    }
}

/* ===== Video Embed Styles ===== */
.video-embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    border-radius: 15px;
    overflow: hidden;
    background: var(--dark);
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-unmute-btn,
.video-fullscreen-btn {
    position: absolute;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-unmute-btn {
    bottom: 15px;
    left: 15px;
}

.video-fullscreen-btn {
    bottom: 15px;
    right: 15px;
}

.video-unmute-btn:hover,
.video-fullscreen-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* Mobile video adjustments */
@media (max-width: 768px) {

    .video-unmute-btn,
    .video-fullscreen-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .video-unmute-btn {
        bottom: 10px;
        left: 10px;
    }

    .video-fullscreen-btn {
        bottom: 10px;
        right: 10px;
    }
}

/* ===== Promotion Banner ===== */
.promo-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    z-index: 10000;
    padding: 12px 20px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.promo-banner.hidden {
    transform: translateY(-100%);
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.promo-icon {
    font-size: 1.3rem;
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.promo-text {
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

.promo-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.promo-close:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* When promo banner is visible, push navbar down */
body.promo-active .navbar {
    top: 48px;
}

body.promo-active .hero {
    margin-top: 48px;
}

/* ===== Store Hours Badge ===== */
.store-hours-badge {
    position: fixed;
    bottom: 100px;
    left: 20px;
    background: white;
    border-radius: 30px;
    padding: 10px 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    z-index: 9990;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.store-hours-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hours-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hours-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #27ae60;
    animation: pulse 2s infinite;
}

.hours-dot.closed {
    background: #e74c3c;
    animation: none;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.hours-status {
    font-weight: 600;
    color: #27ae60;
    font-size: 0.9rem;
}

.hours-status.closed {
    color: #e74c3c;
}

.hours-detail {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===== Floating Call Button ===== */
.floating-call-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border-radius: 30px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 5px 25px rgba(39, 174, 96, 0.4);
    z-index: 9990;
    transition: all 0.3s ease;
    font-weight: 600;
}

.floating-call-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(39, 174, 96, 0.5);
}

.call-icon {
    font-size: 1.3rem;
    animation: ring 1.5s ease-in-out infinite;
}

@keyframes ring {

    0%,
    100% {
        transform: rotate(0);
    }

    10%,
    30% {
        transform: rotate(-15deg);
    }

    20%,
    40% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(0);
    }
}

.call-text {
    font-size: 0.95rem;
}

/* Hide call button on desktop, show only on mobile */
@media (min-width: 769px) {
    .floating-call-btn {
        display: none;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .promo-text {
        font-size: 0.8rem;
    }

    .promo-content {
        padding: 0 10px;
    }

    .store-hours-badge {
        bottom: 160px;
        left: 15px;
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .floating-call-btn {
        bottom: 90px;
        right: 15px;
        padding: 12px 20px;
    }

    body.promo-active .navbar {
        top: 42px;
    }

    body.promo-active .hero {
        margin-top: 42px;
    }
}

/* ===== Fun Interactive Effects CSS ===== */

/* 1. Cursor Trail */
.cursor-trail {
    position: fixed;
    pointer-events: none;
    font-size: 1.2rem;
    z-index: 99999;
    animation: cursorFade 1s ease-out forwards;
    transform: translate(-50%, -50%);
}

@keyframes cursorFade {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -100px) scale(0.3);
    }
}

/* 2. Confetti */
.confetti-particle {
    position: fixed;
    pointer-events: none;
    font-size: 1rem;
    z-index: 99999;
    animation: confettiFall 1s ease-out forwards;
}

@keyframes confettiFall {
    0% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(var(--tx, 0), var(--ty, 100px)) rotate(var(--r, 360deg)) scale(0);
    }
}

/* 3. Disco Mode (Easter Egg) */
.disco-mode {
    animation: discoColors 0.3s infinite;
}

@keyframes discoColors {
    0% {
        filter: hue-rotate(0deg);
    }

    25% {
        filter: hue-rotate(90deg);
    }

    50% {
        filter: hue-rotate(180deg);
    }

    75% {
        filter: hue-rotate(270deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

/* 4. Floating Emoji */
.floating-emoji {
    position: fixed;
    bottom: -50px;
    font-size: 2rem;
    pointer-events: none;
    z-index: 99999;
    animation: floatUp 3s ease-out forwards;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }

    100% {
        opacity: 0;
        transform: translateY(-100vh) rotate(360deg);
    }
}

/* 5. Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    z-index: 100001;
    width: 0%;
    transition: width 0.1s ease;
}

/* When promo banner is active, move scroll bar down */
body.promo-active .scroll-progress {
    top: 48px;
}

/* 6. Floating Heart */
.floating-heart {
    position: fixed;
    font-size: 3rem;
    pointer-events: none;
    z-index: 99999;
    animation: heartPop 1s ease-out forwards;
    transform: translate(-50%, -50%);
}

@keyframes heartPop {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -150px) scale(1);
    }
}

/* 7. Interactive Button Pulse */
.btn-primary:active {
    transform: scale(0.95);
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
}

.btn:hover::after {
    opacity: 1;
}

/* 8. Smooth Hover Glow for Cards */
.feature-card:hover,
.menu-item:hover,
.testimonial-card:hover {
    box-shadow: 0 10px 40px rgba(139, 69, 19, 0.2), 0 0 20px rgba(139, 69, 19, 0.1);
}

/* Wiggle animation for important elements */
@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(-3deg);
    }

    75% {
        transform: rotate(3deg);
    }
}

.hero-badge:hover {
    animation: wiggle 0.5s ease-in-out;
}

/* Logo hover effect - simple scale */
.logo-text:hover {
    color: var(--accent);
    transition: color 0.3s ease;
}

/* ===== Video Platform Styles ===== */

/* Platform Badges */
.video-platform-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 15;
    backdrop-filter: blur(5px);
}

.video-platform-badge.youtube {
    background: rgba(255, 0, 0, 0.9);
    color: white;
}

.video-platform-badge.shorts {
    background: linear-gradient(135deg, #ff0050 0%, #ff4500 100%);
    color: white;
}

.video-platform-badge.tiktok {
    background: linear-gradient(135deg, #00f2ea 0%, #ff0050 100%);
    color: white;
}

/* Shorts Container - Vertical aspect ratio */
.shorts-card {
    max-width: 250px;
}

.shorts-container {
    padding-bottom: 177.78%;
    /* 9:16 aspect ratio */
}

/* Video Card with position for badge */
.video-card {
    position: relative;
}

/* TikTok Thumbnail Overlay */
.tiktok-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

.tiktok-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tiktok-thumbnail:hover img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    transition: background 0.3s ease;
}

.tiktok-thumbnail:hover .play-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.play-icon {
    font-size: 3rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.play-overlay span:last-child {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Mobile adjustments for video platforms */
@media (max-width: 768px) {
    .shorts-card {
        max-width: 100%;
    }

    .video-platform-badge {
        font-size: 0.65rem;
        padding: 4px 10px;
    }

    /* Image Picker Mobile Fixes */
    .picker-gallery {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 5px;
    }

    .picker-item {
        min-height: 80px;
    }

    .modal-content.modal-large {
        width: 95%;
        margin: 10px;
        max-height: 90vh;
    }
}

/* ===== Scrolling Marquee ===== */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 15px 0;
    position: relative;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--primary), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--primary-dark), transparent);
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    animation: marqueeScroll 20s linear infinite;
    padding-right: 100%;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.marquee-container:hover .marquee-text {
    animation-play-state: paused;
}

/* ===== Prominent Random Menu Button ===== */
.menu-tab.random-btn {
    background: linear-gradient(135deg, #692a18 0%, #4d5d4c 50%, #8b3d24 100%);
    background-size: 200% 200%;
    color: var(--white) !important;
    border: none !important;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 15px 35px;
    box-shadow: 0 4px 20px rgba(105, 42, 24, 0.4), 0 0 30px rgba(77, 93, 76, 0.3);
    animation: gradientShift 3s ease infinite, randomBtnPulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-tab.random-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: btnShine 3s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes randomBtnPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4), 0 0 30px rgba(243, 156, 18, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 30px rgba(255, 107, 107, 0.6), 0 0 50px rgba(243, 156, 18, 0.5);
    }
}

@keyframes btnShine {
    0% {
        left: -150%;
    }

    50%,
    100% {
        left: 150%;
    }
}

.menu-tab.random-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 10px 40px rgba(39, 174, 96, 0.7), 0 0 60px rgba(46, 204, 113, 0.6);
}

.menu-tab.random-btn:active {
    transform: scale(0.95) !important;
}

/* Random Button Mobile Responsive */
@media (max-width: 768px) {
    .menu-tab.random-btn {
        font-size: 1rem;
        padding: 12px 25px;
        width: 100%;
        margin-top: 10px;
    }

    .menu-tabs {
        flex-wrap: wrap;
    }
}

/* Make random button stand out on all screen sizes */
.menu-tabs .menu-tab.random-btn {
    order: 99;
    margin-left: auto;
}

@media (max-width: 600px) {
    .menu-tabs .menu-tab.random-btn {
        order: 0;
        width: 100%;
        margin-left: 0;
        margin-bottom: 15px;
    }
}

/* ===== Promo Image Slider ===== */
.promo-slider {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: visible;
    background: var(--dark);
    z-index: 10;
}

.promo-slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.promo-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: none;
}

.promo-slide.active {
    display: block;
}

.promo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-slide-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 30px 50px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    text-align: center;
    z-index: 20;
    border-radius: 15px;
    max-width: 80%;
}

.promo-slide-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: none;
    color: var(--cream);
}

.promo-slide-text p {
    font-size: 1.2rem;
    opacity: 1;
    color: var(--text-light);
}

.promo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.promo-nav:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.promo-prev {
    left: 20px;
}

.promo-next {
    right: 20px;
}

.promo-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.promo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.promo-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.promo-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Promo Admin Controls */
.promo-admin-controls {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.promo-add-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-add-btn:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

.promo-edit-btns {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 15;
    display: flex;
    gap: 8px;
}

.promo-edit-btns button {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-edit-btns button:hover {
    background: var(--primary);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .promo-slider {
        height: 250px;
    }

    .promo-slide-text h3 {
        font-size: 1.3rem;
    }

    .promo-slide-text p {
        font-size: 1rem;
    }

    .promo-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .promo-prev {
        left: 10px;
    }

    .promo-next {
        right: 10px;
    }
}

/* ===== Video Card Styling ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.video-card {
    background: var(--dark-light);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-embed-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #000;
}

.video-embed-container iframe,
.video-embed-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TikTok specific styling */
.tiktok-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.tiktok-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s ease;
}

.play-overlay:hover {
    background: rgba(0, 0, 0, 0.3);
}

.play-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Shorts styling */
.shorts-card .video-embed-container,
.shorts-container {
    height: 350px;
}

/* Platform badge */
.platform-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 5;
}

.platform-badge.tiktok {
    background: linear-gradient(45deg, #00f2ea, #ff0050);
    color: white;
}

.platform-badge.shorts {
    background: #ff0000;
    color: white;
}

.platform-badge.youtube {
    background: #ff0000;
    color: white;
}

/* Video info section */
.video-info {
    padding: 15px;
}

.video-info h3 {
    color: var(--cream);
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.video-info p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-meta {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-embed-container {
        height: 180px;
    }

    .shorts-card .video-embed-container {
        height: 300px;
    }
}