body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f8f8f8;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar img {
    height: 55px;
}

.menu a {
    margin: 0 18px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 18px;
}

.menu a:hover {
    color: #a14d4d;
}

/* CAROUSEL */
.carousel {
    width: 90%;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: slide 20s linear infinite;
}

.carousel-track img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 12px;
}

/* Animation for sliding images */
@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* SECTION */
.section {
    padding: 50px;
    text-align: center;
}

/* PRODUCTS */
.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    padding-bottom: 10px;
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-card p {
    padding-top: 10px;
    font-size: 18px;
}

/* FRANCHISE */
.franchise {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.franchise-card {
    width: 30%;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 20px;
    font-weight: 600;
}

/* TESTIMONIAL */
.testimonial {
    padding: 50px;
    background: #ffffff;
    text-align: center;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 12px;
    background: #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.icon img {
    width: 30px;
}

.icon:hover {
    transform: scale(1.2);
    background: #ddd;
}

/* FOOTER */
footer {
    background: #262626;
    color: white;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}

/* INTRO SCREEN */
#intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
}

/* IMAGES */
.intro-images {
    position: relative;
    display: flex;
    gap: 20px;
}

.intro-img {
    width: 220px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0;
    animation: fadeIn 1.5s forwards, joinCenter 3s forwards 1.2s, breakAway 1.5s forwards 4.2s;
}

/* Different direction breaking */
.img1 { animation-delay: 0s; }
.img2 { animation-delay: 0.2s; }
.img3 { animation-delay: 0.4s; }

/* TEXT */
.intro-text {
    color: white;
    font-size: 32px;
    margin-top: 20px;
    opacity: 0;
    animation: textFade 2s forwards 4.5s;
}

/* Fade in */
@keyframes fadeIn {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

/* Images move to center */
@keyframes joinCenter {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px) scale(1.2); }
}

/* Break effect */
@keyframes breakAway {
    0% { opacity: 1; transform: scale(1.2) translateY(-20px); }
    100% { 
        opacity: 0; 
        transform: translateY(100px) scale(0.5) rotate(25deg); 
    }
}

/* Text fade in */
@keyframes textFade {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Hide intro after animation */
.hide-intro {
    animation: fadeOutIntro 1s forwards;
}

@keyframes fadeOutIntro {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

