/* BeautyGiftBox - Main Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: #fef9f5;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #ffd4e5 0%, #ffe5f0 100%);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #d4356a;
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: #f4a460;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #d4356a;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f4a460;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fff5f8 0%, #ffe9f0 100%);
    padding: 60px 20px;
    text-align: center;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    color: #d4356a;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
}

.hero-product {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(212, 53, 106, 0.2);
    display: inline-block;
}

.hero-product img {
    max-width: 400px;
    width: 100%;
    border-radius: 15px;
    margin-bottom: 20px;
}

.hero-product h2 {
    font-size: 32px;
    color: #d4356a;
    margin-bottom: 10px;
}

.hero-product .price {
    font-size: 36px;
    color: #f4a460;
    font-weight: bold;
    margin: 15px 0;
}

.btn-primary {
    background: linear-gradient(135deg, #d4356a 0%, #f4a460 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 53, 106, 0.3);
}

/* Product Grid */
.products-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.products-section h2 {
    text-align: center;
    font-size: 42px;
    color: #d4356a;
    margin-bottom: 50px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 53, 106, 0.2);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 20px;
    color: #d4356a;
    margin-bottom: 10px;
}

.product-card .price {
    font-size: 24px;
    color: #f4a460;
    font-weight: bold;
    margin: 10px 0;
}

/* Product Detail Page */
.product-detail {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.product-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-info h1 {
    font-size: 42px;
    color: #d4356a;
    margin-bottom: 20px;
}

.product-info .price {
    font-size: 48px;
    color: #f4a460;
    font-weight: bold;
    margin: 20px 0;
}

.product-info .description {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin: 30px 0;
}

/* You May Also Like Section */
.related-products {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 2px solid #ffd4e5;
}

.related-products h2 {
    text-align: center;
    font-size: 36px;
    color: #d4356a;
    margin-bottom: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

/* Contact Form */
.contact-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-section h1 {
    font-size: 42px;
    color: #d4356a;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ffd4e5;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4356a;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Modal Popup */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    color: #d4356a;
    margin-bottom: 25px;
    text-align: center;
    font-size: 28px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.close:hover {
    color: #d4356a;
}

/* Content Pages */
.content-page {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.content-page h1 {
    font-size: 42px;
    color: #d4356a;
    margin-bottom: 30px;
}

.content-page h2 {
    font-size: 28px;
    color: #d4356a;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-page p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.content-page ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.content-page ul li {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #d4356a 0%, #f4a460 100%);
    color: white;
    padding: 40px 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-container p {
    font-size: 14px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-detail-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    nav ul {
        gap: 15px;
    }
}
