/* SilkCare - Main Stylesheet */

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

body {
    font-family: 'Georgia', 'Garamond', serif;
    background-color: #F5F5F5;
    color: #2C2C2C;
    line-height: 1.6;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #f8f5f2 0%, #fff9f5 100%);
    padding: 20px 0;
    box-shadow: 0 2px 15px 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: 32px;
    font-weight: 300;
    color: #A67C52;
    text-decoration: none;
    letter-spacing: 3px;
    font-style: italic;
}

.logo span {
    color: #C89F79;
    font-weight: 400;
}

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

nav ul li a {
    text-decoration: none;
    color: #A67C52;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s;
    letter-spacing: 1px;
}

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

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

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

.hero h1 {
    font-size: 56px;
    color: #A67C52;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    font-style: italic;
}

.hero p {
    font-size: 22px;
    color: #555555;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-product {
    background: white;
    border-radius: 25px;
    padding: 50px;
    margin-top: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

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

.hero-product h2 {
    font-size: 36px;
    color: #A67C52;
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-product .price {
    font-size: 42px;
    color: #C89F79;
    font-weight: 400;
    margin: 20px 0;
}

.btn-primary {
    background: linear-gradient(135deg, #A67C52 0%, #C89F79 100%);
    color: white;
    padding: 16px 45px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: 400;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

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

.products-section h2 {
    text-align: center;
    font-size: 48px;
    color: #A67C52;
    margin-bottom: 60px;
    font-weight: 300;
    letter-spacing: 2px;
    font-style: italic;
}

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

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

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.product-card h3 {
    font-size: 22px;
    color: #A67C52;
    margin-bottom: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.product-card .price {
    font-size: 26px;
    color: #C89F79;
    font-weight: 400;
    margin: 12px 0;
}

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

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

.product-image img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.product-info h1 {
    font-size: 48px;
    color: #A67C52;
    margin-bottom: 25px;
    font-weight: 300;
    letter-spacing: 1px;
}

.product-info .price {
    font-size: 52px;
    color: #C89F79;
    font-weight: 400;
    margin: 25px 0;
}

.product-info .description {
    font-size: 18px;
    line-height: 1.9;
    color: #555555;
    margin: 35px 0;
    font-weight: 300;
}

/* You May Also Like Section */
.related-products {
    margin-top: 100px;
    padding-top: 50px;
    border-top: 2px solid #D0D0D0;
}

.related-products h2 {
    text-align: center;
    font-size: 40px;
    color: #A67C52;
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 1px;
    font-style: italic;
}

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

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

.contact-section h1 {
    font-size: 48px;
    color: #A67C52;
    margin-bottom: 35px;
    text-align: center;
    font-weight: 300;
    letter-spacing: 1px;
}

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

.form-group label {
    display: block;
    font-size: 18px;
    color: #555555;
    margin-bottom: 12px;
    font-weight: 400;
}

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

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

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

/* 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);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

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

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 50px;
    border-radius: 25px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 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: #A67C52;
    margin-bottom: 30px;
    text-align: center;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 1px;
}

.close {
    color: #888;
    float: right;
    font-size: 36px;
    font-weight: 300;
    cursor: pointer;
    line-height: 20px;
}

.close:hover {
    color: #A67C52;
}

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

.content-page h1 {
    font-size: 48px;
    color: #A67C52;
    margin-bottom: 35px;
    font-weight: 300;
    letter-spacing: 1px;
}

.content-page h2 {
    font-size: 30px;
    color: #A67C52;
    margin-top: 35px;
    margin-bottom: 18px;
    font-weight: 400;
}

.content-page p {
    font-size: 17px;
    line-height: 1.9;
    color: #555555;
    margin-bottom: 22px;
    font-weight: 300;
}

.content-page ul {
    margin-left: 35px;
    margin-bottom: 22px;
}

.content-page ul li {
    font-size: 17px;
    color: #555555;
    margin-bottom: 12px;
    font-weight: 300;
}

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

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

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

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

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

.footer-container p {
    font-size: 14px;
    margin-top: 25px;
    font-weight: 300;
}

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