/* ===== Reset CSS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Arial', sans-serif;
    scroll-behavior: smooth;
    background-color: #f8f8f8;
    color: #000000;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e36868;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background-color: #e63e3e;
}

/* ===== Header & Navbar ===== */
.header {
    width: 100%;
    background-color: #fff;
    padding: 15px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header .logo {
    font-size: 28px;
    font-weight: bold;
    color: #ff4c4c;
}

.navbar ul {
    display: flex;
    gap: 25px;
}

.navbar ul li a {
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

.navbar ul li a:hover {
    color: #ff4c4c;
}

.cart-icon {
    font-size: 20px;
    cursor: pointer;
    position: relative;
}

#cart-count {
    background-color: #ff4c4c;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    right: -10px;
}

/* ===== Hero Section ===== */
.hero {
    width: 100%;
    height: 90vh;
    background: url('../imge/26f148111380391.600092abebb32.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

/* Overlay للضباب */
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: inherit; /* تاخد نفس الخلفية */
    filter: blur(8px);
    z-index: 1;
    transition: filter 2s ease;
}

.hero .hero-content {
    position: relative;
    color: #fff;
    max-width: 800px;
    z-index: 2; /* فوق overlay */
}

/* باقي النصوص والأزرار */
.hero h1 {
    font-size: 70px;
    font-weight: 700;
    color: #ff4c4c;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero .btn {
    font-size: 20px;
    padding: 15px 35px;
    background-color: #076aa3;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.hero .btn:hover {
    transform: scale(1.05);
}

/* ===== Shop Section ===== */
.shop {
    padding: 100px 50px 50px;
    background-color: #f8f8f8;
}

.shop h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #ff4c4c;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.product-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.product-card img:hover {
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 18px;
    margin-bottom: 15px;
    color: #474747;
}

.product-card button {
    margin: 5px;
}

/* ===== Product Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    position: relative;
    text-align: center;
}

.modal-content img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.modal-content h2 {
    margin-bottom: 15px;
    color: #ff4c4c;
}

.modal-content p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
}

.modal-content .btn {
    margin-top: 10px;
}

.close {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #ff4c4c;
}

/* ===== Cart Section ===== */
.cart {
    padding: 100px 50px 50px;
    background-color: #fff;
}

.cart h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #ff4c4c;
}

#cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
}

.cart-item img {
    width: 80px;
    border-radius: 10px;
}

.cart-item-details {
    flex: 1;
    margin-left: 20px;
}

.cart-item-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.cart-item-details p {
    color: #555;
}

.cart-item button {
    background-color: #ff4c4c;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
}

.cart-total {
    text-align: right;
    font-size: 20px;
    font-weight: bold;
}

/* ===== Checkout Section ===== */
.checkout {
    padding: 100px 50px 50px;
    background-color: #f8f8f8;
}

.checkout h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #ff4c4c;
}

.checkout form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout .form-group {
    display: flex;
    flex-direction: column;
}

.checkout label {
    margin-bottom: 5px;
    font-weight: bold;
}

.checkout input {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.checkout button {
    align-self: flex-end;
    width: 150px;
}
/* ===== About Section ===== */
.about {
    padding: 100px 50px;
    background-color: #fff;
    text-align: center;
}

.about h2 {
    font-size: 36px;
    color: #ff4c4c;
    margin-bottom: 20px;
}

.about p {
    max-width: 800px;
    margin: auto;
    font-size: 18px;
    color: #000000;
    margin-bottom: 30px;
}

.about img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 50px;
    background-color: #f8f8f8;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    color: #ff4c4c;
    margin-bottom: 30px;
}

.contact form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact input, .contact textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.contact button {
    width: 150px;
    align-self: center;
}

/* ===== Blog Section ===== */
.blog {
    padding: 100px 50px;
    background-color: #fff;
    text-align: center;
}

.blog h2 {
    font-size: 36px;
    color: #ff4c4c;
    margin-bottom: 50px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.blog-post {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
}

.blog-post img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.blog-post h3 {
    margin-bottom: 10px;
    color: #333;
}

.blog-post p {
    color: #555;
    margin-bottom: 15px;
}

.blog-post a {
    color: #ff4c4c;
    font-weight: bold;
}

/* ===== Lookbook Section ===== */
.lookbook {
    padding: 100px 50px;
    background-color: #f8f8f8;
    text-align: center;
}

.lookbook h2 {
    font-size: 36px;
    color: #ff4c4c;
    margin-bottom: 50px;
}

.lookbook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.lookbook-grid img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
}

.lookbook-grid img:hover {
    transform: scale(1.05);
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 100px 50px;
    background-color: #fff;
    text-align: center;
}

.testimonials h2 {
    font-size: 36px;
    color: #ff4c4c;
    margin-bottom: 50px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    font-style: italic;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 100px 50px;
    background-color: #f8f8f8;
    text-align: center;
}

.faq h2 {
    font-size: 36px;
    color: #ff4c4c;
    margin-bottom: 50px;
}

.faq-item {
    max-width: 800px;
    margin: auto;
    margin-bottom: 20px;
    text-align: left;
}

.faq-item h3 {
    color: #333;
    cursor: pointer;
    transition: 0.3s;
}

.faq-item p {
    color: #555;
    display: none;
    margin-top: 5px;
}

/* ===== Newsletter Section ===== */
.newsletter {
    padding: 100px 50px;
    background-color: #fff;
    text-align: center;
}

.newsletter h2 {
    font-size: 36px;
    color: #ff4c4c;
    margin-bottom: 20px;
}

.newsletter form {
    max-width: 500px;
    margin: auto;
    display: flex;
    gap: 10px;
}

.newsletter input {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* ===== Footer ===== */
.footer {
    background-color: #333;
    color: #fff;
    padding: 50px;
}

.footer h3, .footer h4 {
    color: #ff4c4c;
}

.footer a {
    color: #fff;
    transition: 0.3s;
}

.footer a:hover {
    color: #ff4c4c;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
}





.footer .footer-author {
    text-align: center;
    font-size: 14px;
    color: #ff4c4c;
    margin-top: 5px;
    font-style: italic;
}




/* ===== Responsive ===== */

/* Mobile Small Devices (<=480px) */
@media (max-width: 480px) {
    .header {
        flex-direction: column;
        gap: 10px;
        padding: 10px 5%;
    }

    .hero {
        margin-top: 160px; /* ضبط الارتفاع للظهور الكامل */
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 16px;
    }

    .product-card h3 {
        font-size: 16px;
    }

    .product-card p, .blog-post p, .about p {
        font-size: 14px;
    }

    .checkout form, .contact form, .newsletter form {
        flex-direction: column;
        gap: 10px;
    }

    .product-grid, .blog-grid, .lookbook-grid, .testimonial-grid, .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Mobile Large / Small Tablets (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 5%;
    }

    .hero {
        margin-top: 130px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .product-card h3 {
        font-size: 18px;
    }

    .product-card p, .blog-post p, .about p {
        font-size: 16px;
    }

    .product-grid, .blog-grid, .lookbook-grid, .testimonial-grid, .footer-content {
        grid-template-columns: 1fr;
    }

    .checkout form, .contact form, .newsletter form {
        flex-direction: column;
        gap: 10px;
    }
}

/* Tablets / Medium Devices (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        margin-top: 100px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hero p {
        font-size: 18px;
    }

    .product-card h3 {
        font-size: 20px;
    }

    .product-card p, .blog-post p, .about p {
        font-size: 16px;
    }

    .product-grid, .blog-grid, .lookbook-grid, .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large Devices / Desktops (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .hero {
        margin-top: 80px;
    }

    .hero h1 {
        font-size: 60px;
    }

    .hero p {
        font-size: 20px;
    }

    .product-grid, .blog-grid, .lookbook-grid, .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Extra Large Screens (>1440px) */
@media (min-width: 1441px) {
    .hero {
        margin-top: 80px;
    }

    .hero h1 {
        font-size: 70px;
    }

    .hero p {
        font-size: 22px;
    }

    .product-grid, .blog-grid, .lookbook-grid, .testimonial-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .header {
        padding: 20px 10%;
    }
}


.rating-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #fff;
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 999;
}

.rating-widget .star {
  font-size: 24px;
  color: #ccc;
  cursor: pointer;
  transition: color 0.3s;
}

.rating-widget .star.hover,
.rating-widget .star.selected {
  color: #ff4c4c;
}


.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal-active {
  opacity: 1;
  transform: translateY(0);
}
.faq-item p {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease;
}
