/* 
* STYLE.CSS - BAGIAN 1: RESET & DASAR
* Website Elegance Muslimwear
*/

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8f8f8;
    color: #222;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Utility Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Container & Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #9b8579;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

section {
    padding: 100px 5%;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #9b8579;
    color: white;
}

.btn-primary:hover {
    background-color: #866f63;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #222;
    border: 1px solid #9b8579;
}

.btn-secondary:hover {
    background-color: rgba(155, 133, 121, 0.1);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}
/* 
* STYLE.CSS - BAGIAN 2: HEADER & NAVIGASI
* Website Elegance Muslimwear
*/

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    color: #222;
}

.logo span {
    color: #9b8579;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 40px;
}

nav ul li a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #9b8579;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #9b8579;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #222;
    transition: all 0.3s ease;
}

/* Media Query for Navigation */
@media (max-width: 900px) {
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.5s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        right: 0;
    }
    
    nav ul li {
        margin: 20px 0;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}
/* 
* STYLE.CSS - BAGIAN 3: HERO & COLLECTIONS
* Website Elegance Muslimwear
*/

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 150px 5% 100px;
    background-color: #f5f2ef;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 50%;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #222;
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    width: 45%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* Collections Section */
.collections {
    padding: 100px 5%;
    background-color: #fff;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.collection-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collection-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.collection-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-item:hover .collection-image img {
    transform: scale(1.1);
}

.collection-info {
    padding: 25px;
}

.collection-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.collection-info p {
    color: #666;
    margin-bottom: 20px;
}

.shop-link {
    display: inline-block;
    color: #9b8579;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.shop-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #9b8579;
    transition: width 0.3s ease;
}

.shop-link:hover:after {
    width: 100%;
}

/* Media Queries for Hero & Collections */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-content {
        width: 100%;
        max-width: 600px;
        margin-bottom: 50px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-image {
        width: 80%;
        max-width: 400px;
    }
    
    .collection-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .collection-grid {
        grid-template-columns: 1fr;
    }
}
/* 
* STYLE.CSS - BAGIAN 4: FEATURED, ABOUT & CONTACT
* Website Elegance Muslimwear
*/

/* Featured Products Section */
.featured {
    padding: 100px 5%;
    background-color: #f5f2ef;
}

.featured-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.featured-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-10px);
}

.featured-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-item:hover .featured-image img {
    transform: scale(1.1);
}

.featured-info {
    padding: 25px;
    text-align: center;
}

.featured-info h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.price {
    color: #9b8579;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.product-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* About Section */
.about {
    padding: 100px 5%;
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-text {
    flex: 1;
    max-width: 600px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
}

.about-text h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #9b8579;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.about-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(155, 133, 121, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Section */
.contact {
    padding: 100px 5%;
    background-color: #f5f2ef;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

.contact-info {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.contact-item h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #9b8579;
}

.contact-item p {
    color: #666;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    text-decoration: none;
    color: #222;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #9b8579;
}

.order-cta {
    flex: 0 0 350px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.order-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.order-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-buttons .btn {
    width: 100%;
}

/* Media Queries for Featured, About & Contact */
@media (max-width: 900px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text {
        max-width: 100%;
    }
    
    .about-text h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-image {
        max-width: 100%;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .order-cta {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .featured-slider {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}
/* 
* STYLE.CSS - BAGIAN 5: FOOTER & MOUSE EFFECTS
* Website Elegance Muslimwear
*/

/* Custom Cursor Styles */
.cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid #9b8579;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, border 0.3s;
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: #9b8579;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: 0.1s;
}

/* Smooth Scroll */
.smooth-scroll {
    transition: transform 0.5s ease;
}

/* Footer Styles */
footer {
    padding: 80px 5% 30px;
    background-color: #222;
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 0 0 300px;
}

.footer-logo .logo {
    color: #fff;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-logo p {
    color: #aaa;
    font-size: 0.95rem;
}

.footer-links {
    flex: 1;
    display: flex;
    justify-content: space-around;
    max-width: 700px;
}

.footer-column {
    flex: 0 0 auto;
}

.footer-column h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #9b8579;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #9b8579;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #aaa;
    font-size: 0.9rem;
}

/* Image Hover Effects */
.hover-zoom {
    overflow: hidden;
}

.hover-zoom img {
    transition: transform 0.5s ease;
}

.hover-zoom:hover img {
    transform: scale(1.1);
}

/* Text Reveal Animation */
.text-reveal {
    position: relative;
    overflow: hidden;
}

.text-reveal span {
    display: block;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.text-reveal.active span {
    transform: translateY(0);
}

/* Parallax Effect */
.parallax {
    transition: transform 0.2s cubic-bezier(0.2, 0, 0.8, 1);
}

/* Smooth Fade Transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #9b8579;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.7s cubic-bezier(0.7, 0, 0.3, 1);
}

.page-transition.active {
    transform: translateY(0);
}

/* Media Queries for Footer */
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-logo {
        text-align: center;
        max-width: 100%;
    }
    
    .footer-links {
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
    }
    
    .footer-column h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .footer-column {
        width: 100%;
    }
}
