/* ===== SOCIAL MEDIA BANNER ===== */
.social-banner {
    background: transparent;
    color: var(--text-dark);
    text-align: center;
    padding: 0.6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1001;
}

.social-banner-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.social-banner-links a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.4);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    transition: background 0.2s, transform 0.2s;
}

.social-banner-links a:hover {
    background: rgba(255,255,255,0.75);
    transform: translateY(-2px);
}

.social-banner-links svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .social-banner {
        flex-direction: column;
        gap: 0.6rem;
        padding: 0.8rem 1rem;
    }
}

:root {
    --primary: #FFB5B5; /* Soft pastel pink */
    --secondary: #FFE3E3; /* Lighter pink */
    --accent: #E5A990; /* Warm beige/brown for cones/waffles */
    --bg-color: #FFF8F3; /* Creamy white background */
    --text-dark: #4A3B32; /* Deep warm brown text */
    --text-light: #8A7367;
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(199, 171, 155, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--secondary);
    z-index: -1;
    border-radius: 6px;
}

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 248, 243, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 5%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

/* Background blob */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(255, 181, 181, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 25px rgba(255, 181, 181, 0.6);
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image-container img {
    max-width: 100%;
    border-radius: 30px 100px 30px 100px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.hero-image-container img:hover {
    transform: rotate(0deg) scale(1.02);
}


/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

/* Scroll Revealing elements */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Menu Section */
.menu-section {
    padding: 8rem 5%;
    background-color: #fff;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.menu-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.menu-category {
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s;
}

.menu-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(199, 171, 155, 0.2);
}

.menu-category h3 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-category h3.mt-4 {
    margin-top: 2.5rem;
}

.category-price {
    text-align: left;
    font-weight: 800;
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    background: rgba(229, 169, 144, 0.1);
    padding: 0.5rem;
    border-radius: 12px;
}

.badge {
    background: var(--primary);
    color: white;
    font-size: 1.2rem;
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 800;
    white-space: nowrap; /* Tvingar texten att hålla sig på en rad */
    display: inline-block;
}

.flavors-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.flavors-list span {
    background: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid var(--secondary);
    transition: background 0.2s, transform 0.2s;
}

.flavors-list span:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

.menu-list {
    list-style: none;
}

.menu-list li {
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px dashed rgba(229, 169, 144, 0.4);
}

.menu-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.menu-list.compact li {
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
}

.item-title {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.item-title.d-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.4;
    margin-top: 0.3rem;
}

.item-price {
    color: var(--accent);
    font-weight: 800;
    font-size: 1.1rem;
}

/* Visit Section */
.visit-section {
    padding: 8rem 5%;
    position: relative;
    overflow: hidden;
}

/* Background blob */
.visit-section::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.visit-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.2) 100%);
}

.visit-info {
    flex: 1;
    min-width: 300px;
}

.visit-info h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.visit-info > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.address-box, .hours-box {
    margin-bottom: 2rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}

.address-box:hover, .hours-box:hover {
    transform: translateX(10px);
}

.address-box strong, .hours-box strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-size: 1.2rem;
}

address {
    font-style: normal;
    font-size: 1.1rem;
    line-height: 1.8;
}

.visit-map {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: #E5E0DA;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-light);
    box-shadow: inset 0 5px 15px rgba(0,0,0,0.05);
}

/* Reviews Section */
.reviews-section {
    padding: 8rem 5%;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

/* Background element - Flyttad bakom för att inte täcka text */
.reviews-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0; /* Ändrad från 1 till 0 för att inte täcka text */
}

.reviews-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.elfsight-app-placeholder {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.reviews-summary {
    text-align: left;
}

.rating-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.stars {
    color: #FFB100; /* Google yellow/gold */
    font-size: 2rem;
    margin: 0.5rem 0;
}

.stars.small {
    font-size: 1.2rem;
    margin: 0.2rem 0 0.8rem 0;
}

.half-star {
    position: relative;
    display: inline-block;
}
.half-star::after {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    color: #E0E0E0;
    width: 50%;
    overflow: hidden;
    left: 50%;
}

.review-btn {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #4285F4; /* Google Blue */
    box-shadow: 0 10px 20px rgba(66, 133, 244, 0.3);
}

.review-btn:hover {
    box-shadow: 0 15px 25px rgba(66, 133, 244, 0.4);
}

.review-btn::before {
    content: 'G';
    font-weight: bold;
    font-family: Arial, sans-serif;
    background: white;
    color: #4285F4;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.review-cards {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.review-card {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: #A3C9A8; } /* Example green */
.bg-accent { background-color: var(--accent); }

.name-date {
    display: flex;
    flex-direction: column;
}

.name-date strong {
    color: var(--text-dark);
}

.name-date span {
    font-size: 0.85rem;
    color: #999;
}

.widget-note {
    text-align: left;
    color: #999;
    margin-top: 1rem;
}

/* Gallery Section */
.gallery-section {
    padding: 8rem 5%;
    background-color: var(--bg-color); /* Cream matched */
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Footer */
footer {
    text-align: left;
    padding: 3rem;
    background-color: #fff;
    color: var(--text-light);
}

.social-links {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* Responsive */

    .hero-content {
        margin-bottom: 3rem;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-image-container {
        justify-content: center;
    }
    .nav-links {
        display: none; /* simple mobile version */
    }
    .visit-container {
        padding: 2rem;
    }
}

/* Hero Slideshow */
.hero-slideshow {
    width: 420px;
    height: 480px;
    border-radius: 30px 100px 30px 100px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: rotate(2deg);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.hero-slide {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-slideshow {
        width: 100%;
        height: 320px;
        transform: rotate(0deg);
    }
}

/* ===== SLIDESHOW FIX ===== */
.hero-slideshow {
    width: 420px;
    height: 480px;
    border-radius: 30px 100px 30px 100px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: rotate(2deg);
    overflow: hidden;
    position: relative !important;
    flex-shrink: 0;
    display: block !important;
}

.hero-slideshow .hero-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 0 !important;
    transition: opacity 1.2s ease-in-out !important;
    display: block !important;
}

.hero-slideshow .hero-slide.active {
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .hero-slideshow {
        width: 100% !important;
        height: 300px !important;
        transform: rotate(0deg) !important;
        border-radius: 20px !important;
    }
}


/* ===== RECENSIONSKARUSELL ===== */
.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    position: relative;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 16px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-slide.review-cards {
    display: flex;
    gap: 1.5rem;
    min-width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 0.25rem;
    align-items: stretch;
}

.carousel-slide .review-card {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.carousel-slide .review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.review-arrow {
    background: var(--primary, #00C2FF);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
}

.review-arrow:hover {
    transform: scale(1.1);
    background: var(--accent, #FF6B9D);
}

/* Punktnavigering */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary, #00C2FF);
    transform: scale(1.3);
}

/* Avatar med foto */
.avatar-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

/* Responsivt */
    .review-arrow {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 1rem;
    }
    .carousel-slide.review-cards {
        gap: 1rem;
    }
}

/* Tablet: 2 kort */
@media (max-width: 900px) {
    .reviews-section {
        padding: 4rem 4%;
    }
    .elfsight-app-placeholder {
        padding: 1.5rem;
        gap: 2rem;
    }
    .carousel-slide.review-cards {
        gap: 1rem;
    }
}

/* Mobil: 1 kort, staplat snyggt */
@media (max-width: 600px) {
    .reviews-section {
        padding: 3rem 4%;
    }
    .elfsight-app-placeholder {
        padding: 1rem;
        gap: 1.5rem;
    }
    .carousel-wrapper {
        gap: 0.4rem;
    }
    .review-arrow {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.9rem;
    }
    .carousel-slide.review-cards {
        padding: 0.25rem;
        gap: 0;
    }
    .carousel-slide .review-card {
        padding: 1.2rem;
        border-radius: 12px;
        width: 100%;
        box-sizing: border-box;
        flex: 1;
    }
    .review-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    .rating-number {
        font-size: 3rem;
    }
    .reviews-summary .stars {
        font-size: 1.5rem;
    }
    .reviews-summary p {
        font-size: 0.9rem;
    }
    .review-btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
    .carousel-dots {
        margin-top: 1rem;
        gap: 0.5rem;
    }
}
/* MOBIL FIX - Lägg till dessa regler */

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 2rem 4%;
        min-height: auto;
        justify-content: center;
    }
    
    .hero-content {
        flex: none;
        max-width: 100%;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-image-container {
        flex: none;
        justify-content: center;
        width: 100%;
    }
    
    .hero-slideshow {
        width: 100% !important;
        height: 350px !important;
        max-width: 100%;
    }
    
    .hero::before {
        width: 300px;
        height: 300px;
        top: -50%;
        right: -20%;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 1.5rem 3%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .hero-slideshow {
        width: 100% !important;
        height: 280px !important;
        border-radius: 15px !important;
    }
    
    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

    /* Fix för Hitta Hit sektionen på mobil */
    .visit-container {
        padding: 1.2rem !important;
        gap: 1.5rem !important;
        width: 100% !important;
        margin: 0 !important;
    }
    
    .visit-info, .visit-map {
        min-width: 100% !important;
    }
    
    .address-box, .hours-box {
        padding: 1.2rem !important;
        margin-bottom: 1rem !important;
        width: 100% !important;
        transform: none !important;
    }

    .address-box:hover, .hours-box:hover {
        transform: none !important;
    }
}
