/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fcfaf7;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #e83e8c;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #d33076;
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 1.8rem;
    color: #e83e8c;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #e83e8c;
}

/* Hero section */
#hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* About section */
#about {
    padding: 80px 0;
    background-color: #fff;
}

#about h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #e83e8c;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text {
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1rem;
}

.event-details {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.event-details h3 {
    color: #e83e8c;
    margin-bottom: 15px;
}

.event-details ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-details i {
    color: #e83e8c;
    margin-right: 10px;
    width: 20px;
}

/* Products section */
#products {
    padding: 80px 0;
    background-color: #fcfaf7;
}

#products h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #e83e8c;
}

.product-categories {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 50px;
}

.category h3 {
    margin-bottom: 20px;
    color: #555;
    border-bottom: 2px solid #e83e8c;
    padding-bottom: 10px;
    display: inline-block;
}

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

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 20px;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.product-name {
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.product-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 600;
    margin-left: 10px;
}

.product-badge-ready {
    background-color: #c6f6d5;
    color: #2f855a;
}

.product-badge-diy {
    background-color: #bee3f8;
    color: #2b6cb0;
}

.product-price {
    color: #e83e8c;
    font-weight: 500;
}

.product-quantity {
    font-size: 0.9rem;
    color: #777;
    margin-top: 5px;
}

.color-options {
    margin-top: 50px;
}

.color-options h3 {
    color: #e83e8c;
    margin-bottom: 15px;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.color-swatch {
    text-align: center;
}

.color-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid #ddd;
    margin-bottom: 5px;
}

.color-name {
    font-size: 0.8rem;
    color: #555;
}

/* Order form section */
#order {
    padding: 80px 0;
    background-color: #fff;
}

#order h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #e83e8c;
}

#order > .container > p {
    text-align: center;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#preorder-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
}

input:focus,
select:focus {
    border-color: #e83e8c;
    outline: none;
}

.order-items {
    margin-top: 40px;
}

.order-items h3 {
    color: #e83e8c;
    margin-bottom: 20px;
}

.order-item {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 1.5fr 0.5fr;
    gap: 15px;
    margin-bottom: 20px;
    align-items: end;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

#add-item {
    background-color: #6c757d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 30px;
    transition: background-color 0.3s;
}

#add-item:hover {
    background-color: #5a6268;
}

.remove-item {
    background-color: #dc3545;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.remove-item:hover {
    background-color: #c82333;
}

.order-summary {
    margin-top: 30px;
    text-align: right;
}

.total {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e83e8c;
}

.submit-group {
    margin-top: 40px;
    text-align: center;
}

.submit-group button {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: #343a40;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-logo h2 {
    color: #e83e8c;
    margin-bottom: 10px;
}

.footer-contact h3,
.footer-event h3 {
    color: #e83e8c;
    margin-bottom: 15px;
}

.footer-contact p,
.footer-event p {
    margin-bottom: 10px;
}

.footer-contact i,
.footer-event i {
    margin-right: 10px;
    width: 16px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #adb5bd;
}

/* Responsive design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .order-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 15px;
    }

    #preorder-form {
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
}
