:root { --plum: #70013b; }
body { font-family: 'Times New Roman', serif; margin: 0; }

.top-bar { background: var(--plum); color: white; padding: 10px 5%; display: flex; justify-content: space-between; font-size: 14px; }
.top-bar a { color: white; text-decoration: none; margin-right: 5px; }

.main-header { text-align: center; padding: 20px 0; }
.logo-name { font-size: 48px; margin-bottom: 0; text-decoration: underline var(--plum); }
.logo-sub { font-size: 18px; text-transform: uppercase; color: #555; }

.nav-container { text-align: center; margin: 0 10%; }
.nav-line { border-top: 1px solid var(--plum); margin: 5px 0; }
.nav-links a { color: var(--plum); text-decoration: none; margin: 0 15px; font-weight: bold; }

.spacer-3 { height: 3em; }
.spacer-5 { height: 5em; }

.hero-section { display: flex; padding: 0 10%; align-items: center; justify-content: space-between; }
.ceo-content { flex: 1; padding-right: 50px; font-style: italic; font-size: 24px; }
.ceo-image img { width: 100%; max-width: 400px; }

.catalog-header { padding: 40px 10% 20px; color: var(--plum); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 10%; }

/* 1. This keeps all nav links (Home, Shop, etc.) in one horizontal line */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    list-style: none; /* Removes any dots from the main menu */
    padding: 0;
    margin: 0;
}

/* 2. This is the container for the Shop link and its hidden box */
.nav-item.dropdown {
    position: relative; /* This is the anchor for the floating box */
    display: inline-block;
}

/* 3. The Floating Box - This will float OVER your other content */
.dropdown-box {
    display: none;      /* Hidden until clicked */
    position: absolute; /* This makes it float! */
    top: 100%;          /* Sits exactly under the 'Shop' word */
    left: 50%;
    transform: translateX(-50%); /* Centers it perfectly */
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    padding: 15px;
    min-width: 220px;   /* Adjusted width for 2026/2027 text */
    z-index: 9999;      /* Keeps it on top of images and text */
    margin: 0;
    list-style: none;   /* Removes those black dots from your screenshot */
}

/* 4. This class is added by your JavaScript when you click */
.dropdown-box.active {
    display: block;
}

/* 5. Clean up the items inside the box */
.dropdown-box li {
    list-style: none;   /* Final check to remove all dots */
    padding: 0;
    margin: 0;
    text-align: left;
}

.year-header {
    font-weight: bold;
    color: #b19cd9; 
    padding: 10px 10px 5px 10px;
    font-size: 0.9em;
}

.dropdown-box li a {
    text-decoration: none;
    color: #555;
    display: block;
    padding: 8px 15px;
}

.dropdown-box li a:hover {
    background-color: #f9f9f9;
    color: #b19cd9;
}





/* Cart Icon Interactive Effects */
.cart-icon {
    cursor: pointer;
    transition: 0.3s; /* Makes the color change smooth */
    padding: 5px 10px;
    border-radius: 4px;
}

.cart-icon:hover {
    background-color: white; /* Changes background to white */
    color: #b19cd9;           /* Matches your brand purple */
}
.add-to-cart-button:hover {
        background-color: #d81b60 !important; 
        cursor: pointer;
        transform: translateY(-1px); /* Little lift effect */
}

/* Cart Sidebar Layout Fix */
.dazzle-cart-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 350px; /* Adjust to match your sidebar width */
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: white;
    z-index: 1000;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
}

/* Scrollable items area */
.cart-items-content {
    flex: 1; 
    overflow-y: auto; 
    padding: 20px;
}

/* Sticky Footer for Total and Button */
.cart-summary-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: white;
    margin-top: auto; /* Pushes this to the bottom */
}

.proceed-btn {
    width: 100%;
    padding: 15px;
    background-color: #d81b60; /* Your brand pink */
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.proceed-btn:hover {
    background-color: #a01346; /* Darker pink on hover */
    cursor: pointer;
}











/* 1. The container that crops out anything off-screen */
.catalog-container {
    width: 100%;
    overflow: hidden; 
    padding: 40px 0;
    background: #fff;
}

/* 2. The horizontal track that actually moves */
.moving-track {
    display: flex;
    gap: 50px; /* Space between jewelry pieces */
    width: max-content;
    animation: slide-left 30s linear infinite; /* Smooth, non-stop movement */
}

/* 3. Style for each jewelry card */
.catalog-item {
    flex: 0 0 220px; 
    text-align: center;
}

.catalog-item img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 4. The movement logic */
@keyframes slide-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* 5. Stop the movement when a customer wants to look closer */
.moving-track:hover {
    animation-play-state: paused;
}

/* --- PreppyDazzle Contact Form Styles --- */
.contact-section { 
    padding: 60px 20px; 
    background-color: #fffafb; 
    text-align: center; 
}

.styled-form { 
    background: #ffffff; 
    padding: 40px; 
    border-radius: 20px; 
    box-shadow: 0 15px 35px rgba(255, 182, 193, 0.2); 
    max-width: 600px; 
    margin: 0 auto;
    border: 1px solid #fce4ec;
}

.form-row { 
    display: flex; 
    gap: 20px; 
    margin-bottom: 10px; 
}

.form-group { 
    text-align: left; 
    margin-bottom: 25px; 
    flex: 1; 
}

.form-group label { 
    display: block; 
    font-weight: 600; 
    margin-bottom: 8px; 
    color: #444; 
}

.form-group input { 
    width: 100%; 
    padding: 14px; 
    border: 1px solid #ddd; 
    border-radius: 10px; 
    font-size: 16px; 
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #ffb6c1;
    box-shadow: 0 0 8px rgba(255, 182, 193, 0.3);
    outline: none;
}

.submit-btn { 
    background: #ffb6c1; 
    color: white; 
    padding: 16px 35px; 
    border: none; 
    border-radius: 30px; 
    font-size: 18px;
    font-weight: bold; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    width: 100%; 
    text-transform: uppercase;
}

.submit-btn:hover { 
    background: #ff9fb2; 
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(255, 159, 178, 0.4);
}


.footer-email {
    margin: 0 15px; 
    color: #555; 
    text-decoration: none; 
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #E4405F; /* This changes the color when you hover */
}
