:root {
    --primary:#2c3e50;
    --secondary:#34495e;
    --accent:#3498db;
    --bg:#f5f5f5;
}

body{
    margin:0;
    font-family:'Segoe UI';
    background:var(--bg);
}

/* HEADER (background replaced clean) */
header{
    position:relative;
    background: url("image/tsp ben arous.png") center/cover no-repeat;
    color:white;
    text-align:center;
    padding:30px;
    overflow:hidden;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
    background: rgba(0,0,0,0.25);
    z-index: 0;
}

header img{
    position:relative;
    z-index:1;
    height:220px;
    animation: moveLogo 3s infinite ease-in-out;
}

@keyframes moveLogo{
    0%{transform:translateX(0);}
    50%{transform:translateX(10px);}
    100%{transform:translateX(0);}
}

.subtitle{
    position:relative;
    z-index:1;
    margin-top:8px;
    font-size:20px;
    font-weight:bold;
}

/* NAV */
nav{
    background:var(--secondary);
    padding:15px;
    text-align:center;
    position:sticky;
    top:0;
    z-index:1000;
}

nav a{
    color:white;
    margin:15px;
    text-decoration:none;
    font-weight:bold;
    padding:10px 20px;
    border-radius:8px;
    transition:0.3s;
}

nav a:hover{
    background:rgba(255,255,255,0.2);
}

nav a.active{
    background:rgba(255,255,255,0.3);
    box-shadow:0 0 20px #fff, 0 0 40px var(--accent);
    transform:scale(1.1);
}

/* INTRO */
.intro{
    max-width:900px;
    margin:40px auto;
    padding:30px;
    border-radius:12px;
    background:white;
    box-shadow:0 5px 20px rgba(0,0,0,0.1);
    line-height:1.7;
}

/* SECTION */
.section{
    max-width:1200px;
    margin:40px auto;
    background:white;
    padding:40px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.1);
    text-align:center;
}

.section h2{
    font-size:26px;
    background:#34495e;
    color:white;
    padding:10px 35px;
    border-radius:8px;
    display:inline-block;
}

/* STOCK */
.stock-badge{
    margin-left:8px;
    background:#27ae60;
    color:white;
    padding:3px 6px;
    border-radius:6px;
    font-size:11px;
    white-space:nowrap;
}

/* SLIDER */
.slider{
    overflow:hidden;
    width:100%;
    padding:20px 0;
    border-radius:15px;
    background:#fff;
    box-shadow:0 0 15px rgba(0,0,0,0.1);
}

.slider-track{
    display:flex;
    gap:15px;
    width:max-content;
    animation: scroll 10s linear infinite;
}

.slider-track img{
    width:180px;
    height:120px;
    object-fit:contain;
    border-radius:8px;
    flex-shrink:0;
}

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

/* CONTACT */
.container{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
}

.card{
    flex:1;
    min-width:220px;
    background:white;
    border:1px solid #ddd;
    border-radius:10px;
    padding:20px;
    text-align:center;
    transition:0.3s;
    box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.icon{
    width:50px;
    height:50px;
    background:#34495e;
    color:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
    margin-bottom:15px;
}

.card:hover .icon{
    background:var(--accent);
    transform:rotate(10deg);
}

.card a{
    display:block;
    margin:8px 0;
    color:var(--accent);
    text-decoration:none;
    font-weight:bold;
    padding:6px 10px;
    border-radius:6px;
    transition:0.3s;
}

.card a:hover{
    background:var(--accent);
    color:white;
    box-shadow:0 0 10px rgba(52,152,219,0.6);
    transform:scale(1.05);
}

/* HOURS */
.hours-title{
    margin-top:40px;
    font-size:26px;
    font-weight:bold;
}

.hours{
    display:flex;
    justify-content:center;
    gap:60px;
    margin-top:20px;
    flex-wrap:wrap;
}

.hour{
    border-left:4px solid var(--accent);
    padding-left:10px;
}

/* FOOTER */
footer{
    background:var(--primary);
    color:white;
    text-align:center;
    padding:20px;
}

/* MENU MOBILE */
.menu-toggle{
    display:none;
    font-size:28px;
    color:white;
    cursor:pointer;
}

/* RESPONSIVE */
@media (max-width:768px){

    header img{
        height:120px;
    }

    .container{
        flex-wrap:wrap;
    }

    .card{
        width:100%;
    }

    .hours{
        flex-direction:column;
        gap:20px;
    }

    nav{
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        padding-left:15px;
    }

    .menu-toggle{
        display:block;
        margin-bottom:10px;
    }

    nav a{
        display:none;
        width:100%;
        text-align:left;
        margin:5px 0;
    }

    nav.active a{
        display:block;
    }
}

/* SMOOTH SCROLL */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

.section {
    scroll-margin-top: 90px;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 999;
  text-decoration: none;

  /* animation */
  animation: pulse 1.5s infinite;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.15);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

/* 🔥 animation pulse */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes pulse{
    0%{
        box-shadow:0 0 0 0 rgba(37,211,102,0.6);
    }
    70%{
        box-shadow:0 0 0 15px rgba(37,211,102,0);
    }
    100%{
        box-shadow:0 0 0 0 rgba(37,211,102,0);
    }
}
.map-card iframe{
    width:100%;
    height:200px;
    border:0;
    border-radius:10px;
    margin-top:10px;
    transition:0.4s ease;
}

/* hover animation */
.map-card{
    transition:0.4s ease;
}

.map-card:hover{
    transform:translateY(-10px) scale(1.03);
    box-shadow:0 15px 30px rgba(0,0,0,0.2);
}

.map-card:hover iframe{
    filter:brightness(1.1) contrast(1.1);
}
