/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #f8f6f2;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #5d4e37;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #8b7355, #d4af37);
}

/* Header */
.header {
    background: linear-gradient(135deg, #5d4e37 0%, #8b7355 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.brand {
    flex: 1;
}

.brand-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.brand-tagline {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.brand-description {
    font-size: 1.2rem;
    opacity: 0.8;
    font-style: italic;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.05);
    opacity: 1;
}

.perfume-bottle {
    position: relative;
    width: 200px;
    height: 300px;
}

.bottle-body {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px 10px 20px 20px;
    backdrop-filter: blur(10px);
}

.bottle-cap {
    position: absolute;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
    background: linear-gradient(135deg, #2c2c2c 0%, #5d4e37 100%);
    border-radius: 30px 30px 5px 5px;
}

.bottle-spray {
    position: absolute;
    bottom: 240px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 30px;
    background: #8b7355;
    border-radius: 10px 10px 0 0;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: #fff;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    text-align: center;
}

.about-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(93, 78, 55, 0.2);
    transition: all 0.3s ease;
}

.about-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(93, 78, 55, 0.3);
}

.about-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #5d4e37;
    font-style: italic;
}

/* Products Section */
.products {
    padding: 4rem 0;
    background: #f8f6f2;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(93, 78, 55, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(139, 115, 85, 0.1);
}

.product-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(93, 78, 55, 0.15);
}

.category-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 10px 20px rgba(93, 78, 55, 0.1);
    transition: all 0.3s ease;
}

.category-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(93, 78, 55, 0.2);
}

.category-title {
    font-size: 1.5rem;
    color: #5d4e37;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-bottom: 2px solid #e8e0d0;
    padding-bottom: 0.5rem;
}

.category-title i {
    color: #8b7355;
    font-size: 1.2rem;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
}

.product-item {
    padding: 0.8rem;
    background: #f8f6f2;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    color: #5d4e37;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 115, 85, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.product-item:hover {
    background: #e8e0d0;
    transform: scale(1.02);
    color: #2c2c2c;
}

.product-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.product-item:hover .product-image {
    transform: scale(1.05);
}

.product-item span {
    font-weight: 600;
    font-size: 0.85rem;
}

.attar-note {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #e8e0d0 0%, #d4c4a8 100%);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #5d4e37;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-left: 4px solid #8b7355;
}

.attar-note i {
    color: #8b7355;
}

/* Call to Action */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #8b7355 0%, #5d4e37 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-style: italic;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: white;
}

.contact-content {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: #f8f6f2;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-item:hover {
    background: #e8e0d0;
    border-color: #8b7355;
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 1.5rem;
    color: #8b7355;
}

.contact-link {
    text-decoration: none;
    color: #5d4e37;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #2c2c2c;
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .brand-name {
        font-size: 2.5rem;
    }
    
    .brand-tagline {
        font-size: 1.2rem;
    }
    
    .brand-description {
        font-size: 1rem;
    }
    
    .perfume-bottle {
        width: 150px;
        height: 225px;
    }
    
    .bottle-body {
        width: 60px;
        height: 150px;
    }
    
    .bottle-cap {
        width: 45px;
        height: 30px;
        bottom: 150px;
    }
    
    .bottle-spray {
        width: 15px;
        height: 22px;
        bottom: 180px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        font-size: 1.1rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-category {
        padding: 1.5rem;
    }
    
    .product-list {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .contact-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .product-list {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        padding: 1rem 1.5rem;
    }
    
    .contact-link {
        font-size: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for product items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-category {
    animation: fadeInUp 0.6s ease forwards;
}

.product-category:nth-child(1) { animation-delay: 0.1s; }
.product-category:nth-child(2) { animation-delay: 0.2s; }
.product-category:nth-child(3) { animation-delay: 0.3s; }
.product-category:nth-child(4) { animation-delay: 0.4s; }
.product-category:nth-child(5) { animation-delay: 0.5s; }
.product-category:nth-child(6) { animation-delay: 0.6s; }
