html {
  scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fefefe;
    padding-top: 160px;
}

h2{
    text-transform: capitalize;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    
}

header{
    background-color: #2a2a2a;
    color: white;
    padding: 20px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
}

nav ul{
    list-style: none;
    padding: 0;
}

nav ul li{
    display: inline-block;
    margin: 0 15px;
}

nav a{
    color: #ccc;
    text-decoration: none;
}

nav a:hover{
    color: white;
}

#home{
    background: linear-gradient(to right, #f4f4f4, #e8e8e8);
    background-color: #e8e8e8;
    text-align: center;
    padding: 60px 20px;
}

.shop-btn{
    display: inline-block;
    text-decoration: none;
    background-color: black;
    color: white;
    padding: 18px 36px;
    border: none;
    border-radius: 10px;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
}

.shop-btn:hover{
    background-color: #ccc;
    color: black;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

#about{
    padding: 40px 20px;
    text-align: center;
}

#collection{
    padding: 40px;
    background-color: #f9f9f9;
    text-align: center;
}

.product{
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: none;
    display: inline-block;
    margin: 15px;
    padding: 15px;
    border-radius: 10px;
    width: 220px;
    background-color: white;
}
.product:hover{
    scale: 1.05;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.product img{
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.product-btn{
    text-decoration: none;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#contact{
    padding: 40px 20px;
    text-align: center;
}

input, textarea{
    width: 60%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #aaa;
}

textarea{
    height: 100px;
}

.form-btn{
    background-color: black;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.form-btn:hover{
    background-color: #ccc;
    color: black;
}

footer{
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

footer nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer nav ul li {
    display: inline-block;
    margin: 0 10px;
}

footer nav ul li:not(:last-child)::after {
    content: "|";
    margin-left: 10px;
    color: #888;
}

header nav ul li:not(:last-child)::after {
    content: "|";
    margin-left: 8px;
    margin-right: 8px;
    color: #888;
}

@media (max-width: 768px) {
    header{
        padding: 15px 10px;
        text-align: center;
    }
    nav ul {
        padding: 0;
    }
    .product {
    width: 45%;
    margin: 15px auto;
  }

  nav ul li {
    display: inline-block;
    margin: 8px 0;
    text-align: center;
  }

  input, textarea {
    width: 90%;
  }

  #home, #about, #collection, #contact {
    padding: 20px 10px;
  }
  body{
    padding-top: 200px;
  }
}

/* Hero Section */
#hero {
    background: radial-gradient(circle at center, #ffffff, #e8e8e8, #dcdcdc);
    text-align: center;
    padding: 80px 20px;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

#hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* أزرار عامة */
.shop-btn, .product-btn, .form-btn {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.shop-btn:hover, .product-btn:hover, .form-btn:hover {
    background: linear-gradient(135deg, #444444, #666666);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.shop-btn:active, .product-btn:active, .form-btn:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
