/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #c4a962;
    --secondary-color: #8b6b4d;
    --accent-color: #d4af37;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #111111;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --border-color: #333333;
    --success-color: #28a745;
    --error-color: #dc3545;
    --transition: all 0.3s ease;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: var(--darker-bg);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.logo h1 {
    color: var(--primary-color);
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(196, 169, 98, 0.3);
}

.tagline {
    color: var(--text-muted);
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    font-style: italic;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(0.5rem, 2vw, 2rem);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(196, 169, 98, 0.1);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 80%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://sazfragrances.com/wp-content/uploads/2026/02/Slider2-1.png') center/cover;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(196, 169, 98, 0.5);
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--darker-bg);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(196, 169, 98, 0.3);
    background: transparent;
    color: var(--primary-color);
}

/* Product Pages */
.product-page {
    padding: 4rem 5%;
    max-width: 1600px;
    margin: 0 auto;
    display: none;
    background-color: var(--dark-bg);
}

.product-page.active-page {
    display: block;
    animation: fadeIn 0.8s ease;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    color: var(--primary-color);
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(196, 169, 98, 0.3);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    padding: 1rem;
}

/* Product Card Styles */
.product-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease;
    position: relative;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(196, 169, 98, 0.2);
    border-color: var(--primary-color);
}

.product-image {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.perfume-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(196, 169, 98, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--darker-bg);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price-currency {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-right: 0.2rem;
}

.buy-btn {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--darker-bg);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    border: 1px solid var(--primary-color);
}

.buy-btn:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Detail Page Styles */
.detail-page {
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    display: none;
}

.detail-page.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.detail-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.detail-image:hover img {
    transform: scale(1.05);
}

.detail-info h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.rating {
    color: #ffc107;
    margin: 10px 0;
    font-size: 1.1rem;
}

.rating span {
    color: var(--text-muted);
    margin-left: 5px;
    font-size: 0.9rem;
}

.sale-timer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--darker-bg);
    padding: 0.8rem;
    border-radius: 5px;
    margin: 15px 0;
    font-weight: bold;
    text-align: center;
    animation: pulse 1s infinite;
}

.detail-price {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 1rem 0;
}

.stock-status {
    color: var(--success-color);
    font-weight: bold;
    margin: 1rem 0;
}

.detail-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 1.5rem 0;
}

.specs {
    background: var(--darker-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.specs h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.specs ul {
    list-style: none;
}

.specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.specs li i {
    color: var(--primary-color);
    width: 25px;
}

.detail-buy-btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    color: var(--darker-bg);
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    border: 1px solid var(--primary-color);
}

.detail-buy-btn:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(196, 169, 98, 0.3);
}

.reviews-section {
    margin-top: 2rem;
    background: var(--darker-bg);
    padding: 1.5rem;
    border-radius: 10px;
}

.reviews-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.review {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.review:last-child {
    border-bottom: none;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.reviewer i {
    font-size: 2rem;
    color: var(--primary-color);
}

.reviewer-name {
    font-weight: bold;
    color: var(--text-primary);
}

.review-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.review-text {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.back-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.back-btn:hover {
    background: var(--primary-color);
    color: var(--darker-bg);
}

/* About Section */
.about-section {
    padding: 5rem 5%;
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(196, 169, 98, 0.3);
}

/* Contact Section */
.contact-section {
    padding: 5rem 5%;
    background: var(--dark-bg);
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 30px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(196, 169, 98, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

/* Footer Styles */
footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
}

.newsletter-form button {
    padding: 0.8rem 1.2rem;
    background: var(--primary-color);
    color: var(--darker-bg);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.footer-bottom i {
    color: var(--error-color);
    animation: heartbeat 1.5s ease-in-out infinite;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.modal-content {
    background: var(--card-bg);
    margin: 5% auto;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideInDown 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.legal-content {
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.close, .close-legal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.close:hover, .close-legal:hover {
    color: var(--primary-color);
}

.modal h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2rem);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group label i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    background: var(--darker-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(196, 169, 98, 0.2);
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--darker-bg);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(196, 169, 98, 0.3);
}

/* Notification Styles */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--darker-bg);
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 3000;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--primary-color);
}

.notification.show {
    transform: translateX(0);
}

.notification i {
    font-size: 1.2rem;
}

.notification.success {
    background: linear-gradient(135deg, var(--success-color), #20c997);
}

.notification.error {
    background: linear-gradient(135deg, var(--error-color), #c82333);
}

/* Legal Content Styles */
.legal-content h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.legal-content h2 {
    color: var(--text-primary);
    margin: 1.5rem 0 1rem;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--darker-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        margin: 1rem 0;
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .about-content,
    .contact-content,
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        max-width: 400px;
        margin: 0 auto;
    }

    .product-image {
        height: 220px;
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        padding: 1rem 3%;
    }

    .hero {
        min-height: 40vh;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }

    .contact-form {
        padding: 1rem;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .info-item i {
        width: auto;
    }

    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-section ul li a {
        display: block;
        padding: 0.5rem;
    }

    .notification {
        left: 20px;
        right: 20px;
        width: auto;
        text-align: center;
    }

    .product-image {
        height: 200px;
    }
}

@media screen and (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero {
        min-height: 70vh;
    }
}

@media screen and (min-width: 1600px) {
    .product-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .container {
        max-width: 1800px;
    }
}