/* Wedding-themed elegant design with soft colors */
:root {
    --primary-color: #f4e8e9;
    --secondary-color: #e8d5d5;
    --accent-color: #d4a5a5;
    --text-dark: #4a4a4a;
    --text-light: #6a6a6a;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background-color: #fafafa;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 40px 0;
    box-shadow: 0 2px 10px var(--shadow);
    position: relative;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
    color: var(--text-dark);
}

header .subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 300;
}

.cart-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-hover);
    background: var(--accent-color);
    color: var(--white);
}

.cart-count {
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    padding: 4px 10px;
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

/* Intro Section */
.intro {
    text-align: center;
    padding: 60px 20px 40px;
}

.intro h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

.dress-card {
    
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
}

.dress-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.image-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: var(--primary-color);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dress-card:hover .image-wrapper img {
    transform: scale(1.05);
}

.dress-info {
    padding: 10px;
}

.dress-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.add-to-cart {
    width: 100%;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
}

.add-to-cart:hover {
    background: #c49393;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.add-to-cart:active {
    transform: translateY(0);
}

.no-dresses {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    margin-top: 80px;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.footer-section p {
    margin-bottom: 10px;
    color: var(--text-light);
}

.footer-section a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-section a:hover {
    color: #c49393;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--accent-color);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    header .subtitle {
        font-size: 1rem;
    }
    
    .cart-icon {
        position: static;
        margin: 20px auto 0;
        width: fit-content;
    }
    
    .intro h2 {
        font-size: 1.6rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .image-wrapper {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .intro h2 {
        font-size: 1.4rem;
    }
}
