:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --placeholder-color: #f0f0f0;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.5;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.header-controls {
    position: absolute;
    top: 0;
    right: 0;
}

.fav-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.fav-icon-btn:hover {
    text-decoration: underline;
}

.logo-container {
    margin-bottom: 30px;
}

.main-logo {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Navbar */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.6;
}

/* Feeds */
.feed {
    opacity: 0;
    display: none; /* Hidden by default */
    transition: opacity 0.5s ease-in;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    width: 100%; /* Ensure feeds take full width */
}

.feed.active {
    display: flex;
    opacity: 1;
}

/* Content Items */
.post, .contact-info {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.post-image {
    width: 100%;
    height: 600px; 
    background-color: var(--placeholder-color);
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #aeaeae;
}

.post:nth-child(even) .post-image {
    height: 400px; 
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 600px; /* Match .post-image height */
    overflow: hidden;
    margin-bottom: 20px;
    background-color: var(--placeholder-color);
}

.slideshow-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow-img.active {
    opacity: 1;
}

.new-arrival-banner {
    width: 100%;
    background-color: #000;
    color: #fff;
    padding: 10px 0;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    animation: blink 2s infinite;
    margin-bottom: 20px;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Collections Sub-Nav */
.collections-subnav {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to new lines */
    gap: 15px; /* Slightly reduced gap for mobile */
    margin-bottom: 10px;
    justify-content: center;
    width: 100%;
    font-size: 13px;
    /* text-transform: uppercase; removed */
}

.collections-subnav span {
    cursor: pointer;
    color: #888;
    white-space: nowrap; /* Prevent text breaking inside the item */
}

.collections-subnav span:hover, .collections-subnav span.active {
    color: #000;
    text-decoration: underline;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.product-item {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.product-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    background-color: var(--placeholder-color);
    margin-bottom: 10px;
}

/* Image Container for Hovers */
.image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    margin-bottom: 10px;
    background-color: var(--placeholder-color); /* Fallback */
    cursor: pointer;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.img-back {
    opacity: 0; /* Hidden by default */
}

.image-container:hover .img-back {
    opacity: 1; /* Show on hover */
}

/* Remove price style since prices are gone */
.product-item p {
    font-size: 13px;
    margin-bottom: 0;
}

/* Modal Styling */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(255, 255, 255, 0.9); /* White semi-transparent overlay */
}

.modal-content {
    background-color: #fff;
    margin: 5% auto; 
    padding: 0;
    border: 1px solid #000;
    width: 80%;
    max-width: 900px;
    display: flex;
    flex-direction: row;
    position: relative;
    height: 80vh; /* Fixed height for scrollable area */
}

.close-button {
    color: #000;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.close-button:hover {
    color: #555;
    text-decoration: none;
}

.modal-left {
    flex: 2;
    overflow-y: scroll;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Hide scrollbar for modal left */
.modal-left::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.modal-left img {
    width: 100%;
    display: block;
}

.modal-right {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #eee;
}

.modal-right h2 {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.fav-btn {
    background-color: transparent;
    color: #000;
    border: 1px solid #000;
    padding: 10px 20px;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.fav-btn:hover {
    background-color: #000;
    color: #fff;
}

/* Favourites Modal Specifics */
.fav-modal-content {
    flex-direction: column;
    padding: 20px;
    height: auto;
    max-height: 80vh;
    min-height: 50vh;
}

.fav-modal-content h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.fav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    overflow-y: auto;
}

.fav-grid .product-item {
    text-align: center; /* Center align for fav grid usually simplest */
}

.empty-msg {
    grid-column: 1 / -1;
    text-align: center;
    color: #999;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .modal-content {
        flex-direction: column;
        height: auto;
        margin: 10% auto;
    }

    .fav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .modal-left {
        max-height: 50vh;
    }
    
    .modal-right {
        border-left: none;
        border-top: 1px solid #eee;
        padding: 20px;
    }
}

.post-caption, h3, p {
    font-size: 14px;
    font-weight: normal;
}

h3 {
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Special styling for Contact */
#contact .contact-info {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    text-align: left; /* List style */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#contact .contact-info p {
    font-weight: bold;
    font-size: 12px;
}

#contact .contact-info a {
    color: var(--text-color);
    text-decoration: none;
}

#contact .contact-info a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    width: 100%;
    max-width: 500px;
    margin: 20px 0;
    text-align: left;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    font-family: var(--font-family);
    font-size: 14px;
    background-color: transparent;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #000;
}

.contact-form button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #333;
}

/* Remove Favourite Button */
.remove-fav-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
    border-radius: 50%;
    text-align: center;
    line-height: 22px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.remove-fav-btn:hover {
    background-color: #f00;
    color: #fff;
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    nav ul {
        gap: 20px;
        flex-direction: column;
        align-items: center;
        border-bottom: none;
    }
    
    .logo-placeholder {
        font-size: 20px;
    }

    .post-image {
        height: 400px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 cols on mobile for shop feel */
        gap: 10px;
    }
}.selection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-height: 300px; overflow-y: auto; border: 1px solid #eee; padding: 10px; margin-top: 5px; } .selection-item { text-align: center; cursor: pointer; border: 2px solid transparent; padding: 5px; transition: all 0.2s; opacity: 0.6; } .selection-item.selected { border-color: #000; background-color: #f9f9f9; opacity: 1; } .selection-item img { width: 100%; height: auto; display: block; } .selection-item p { font-size: 10px; margin: 5px 0 0; line-height: 1.2; } @media (max-width: 600px) { .selection-grid { grid-template-columns: repeat(3, 1fr); } }
