/* 
* Vanessa López - Luxury Swimwear
* Main Stylesheet
* Colors: Purple (#5D3FD3), Black (#111), White (#FFF)
*/

/* Base Styles and Reset */
:root {
    --purple: #5D3FD3;
    --black: #111111;
    --white: #FFFFFF;
    --light-gray: #F9F9F9;
    --gray: #DDDDDD;
    --dark-gray: #666666;
    --serif: 'Playfair Display', serif;
    --sans: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    font-family: var(--sans);
    transition: var(--transition);
    border: none;
    outline: none;
}

input, select, textarea {
    font-family: var(--sans);
    outline: none;
    border: 1px solid var(--gray);
    padding: 10px;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--purple);
}

section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 300;
}

.btn-primary {
    background-color: var(--purple);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 2px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    display: inline-block;
    border: 1px solid var(--purple);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--purple);
}

.btn-secondary {
    background-color: transparent;
    color: var(--black);
    padding: 10px 20px;
    border-radius: 2px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    display: inline-block;
    border: 1px solid var(--black);
}

.btn-secondary:hover {
    background-color: var(--black);
    color: var(--white);
}

/* Header Styles */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

#header.scrolled {
    padding: 15px 5%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    overflow: hidden;
}

.designer-text {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--purple);
    font-style: italic;
}

.logo-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: all 0.75s;
}

.logo-text:hover::before {
    left: 100%;
}

nav ul {
    display: flex;
}

nav ul li {
    position: relative;
    margin: 0 15px;
}

nav ul li a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--purple);
    transition: var(--transition);
}

nav ul li a:hover::after, 
nav ul li a.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid var(--light-gray);
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
}

.header-icons {
    display: flex;
    align-items: center;
}

.header-icons a {
    margin-left: 20px;
    font-size: 1.2rem;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--purple);
    color: var(--white);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Hero Section */
#hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    margin-top: 80px;
    background-color: var(--white);
    background-image: url('../images/pattern-bg.svg');
    background-size: cover;
    overflow: hidden;
}

.hero-content {
    width: 50%;
    padding-right: 5%;
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

.carousel-container {
    width: 50%;
    height: 100%;
    position: relative;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
    perspective: 1000px;
}

/* Auction Section */
#auction {
    background-color: var(--white);
    background-image: url('../images/luxury-pattern.svg');
    background-size: 200px 200px;
    position: relative;
}

.section-separator {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 5;
}

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

.featured-item {
    display: flex;
    margin-bottom: 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    overflow: hidden;
}

.item-image {
    width: 50%;
    position: relative;
}

.auction-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 80px;
    height: 80px;
    z-index: 2;
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.2));
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.item-badge {
    position: absolute;
    top: 20px;
    left: 0;
    background-color: var(--purple);
    color: var(--white);
    padding: 8px 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.item-details {
    width: 50%;
    padding: 40px;
}

.item-details h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.item-description {
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.auction-details {
    margin-top: 30px;
}

.timer {
    margin-bottom: 20px;
}

.timer p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.countdown {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.countdown span {
    background-color: var(--black);
    color: var(--white);
    padding: 8px;
    margin-right: 5px;
    min-width: 40px;
    text-align: center;
    border-radius: 3px;
}

.bid-info {
    margin-bottom: 20px;
}

.bid-info p {
    margin-bottom: 5px;
}

.current-bid, .bid-count {
    font-weight: 600;
    color: var(--purple);
}

.bid-actions {
    display: flex;
    margin-bottom: 20px;
}

.bid-input {
    flex: 1;
    margin-right: 10px;
    text-align: left;
}

.payment-methods {
    margin-top: 20px;
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    margin-top: 10px;
}

.payment-icons i {
    margin-right: 15px;
    font-size: 1.5rem;
    color: var(--dark-gray);
}

.auction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.auction-item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.auction-item:hover .item-overlay {
    transform: translateY(0);
}

.item-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.item-overlay p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--white);
    color: var(--dark-gray);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.wishlist-btn:hover, 
.wishlist-btn.active {
    color: var(--purple);
}

/* Fixed Price Section */
#fixed-price {
    background-color: var(--light-gray);
}

.filter-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-group {
    margin: 0 15px;
}

.filter-group label {
    margin-right: 10px;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 8px 15px;
    border-radius: 3px;
    background-color: var(--white);
}

.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item {
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.gallery-item .item-details {
    width: 100%;
    padding: 20px;
    text-align: center;
}

.gallery-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.price {
    color: var(--purple);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* NFT Section */
#nfts {
    background-color: var(--white);
}

.nft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nft-item {
    background-color: var(--light-gray);
    border-radius: 5px;
    overflow: hidden;
    transition: var(--transition);
}

.nft-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(93, 63, 211, 0.2);
}

.nft-preview {
    width: 100%;
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;
}

.nft-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nft-details {
    padding: 20px;
    text-align: center;
}

.nft-details h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.nft-info {
    margin-bottom: 15px;
}

.nft-info p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.nft-info span {
    font-weight: 600;
    color: var(--purple);
}

.nft-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.view-contract {
    margin-top: 10px;
    font-size: 0.8rem;
    text-decoration: underline;
    color: var(--dark-gray);
}

.nft-info-block {
    max-width: 1200px;
    margin: 100px auto 0;
    padding: 50px 20px;
    background-color: var(--light-gray);
    border-radius: 5px;
    text-align: center;
}

.nft-info-block h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.info-item {
    padding: 20px;
}

.info-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.info-item p {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* Blog Section */
#blog {
    background-color: var(--light-gray);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-post {
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.blog-post:hover {
    transform: translateY(-10px);
}

.post-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-post:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
}

.post-category {
    display: inline-block;
    padding: 5px 10px;
    font-size: 0.7rem;
    text-transform: uppercase;
    background-color: var(--light-gray);
    color: var(--purple);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.post-content h3:hover {
    color: var(--purple);
}

.post-content p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.read-more {
    font-size: 0.9rem;
    color: var(--purple);
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

.post-meta {
    border-top: 1px solid var(--light-gray);
    margin-top: 15px;
    padding-top: 15px;
    font-size: 0.8rem;
    color: var(--dark-gray);
}

/* Shopping Cart */
.cart-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    transition: var(--transition);
    display: flex;
    justify-content: flex-end;
}

.cart-overlay.active {
    right: 0;
}

.cart-container {
    width: 400px;
    height: 100%;
    background-color: var(--white);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.cart-header h3 {
    font-size: 1.5rem;
}

.close-cart {
    background: none;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.close-cart:hover {
    color: var(--black);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 30px;
}

.empty-cart-message {
    text-align: center;
    color: var(--dark-gray);
    padding: 30px 0;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 4px;
    margin-right: 15px;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.cart-item-info p {
    font-size: 0.85rem;
    color: var(--purple);
    font-weight: 600;
}

.remove-item {
    background: none;
    color: var(--dark-gray);
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
    padding: 5px;
}

.remove-item:hover {
    color: var(--black);
}

.cart-summary {
    border-top: 1px solid var(--light-gray);
    padding-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-row.total {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 15px 0 20px;
}

.checkout-btn {
    width: 100%;
    margin-bottom: 15px;
}

.checkout-btn:disabled {
    background-color: var(--gray);
    border-color: var(--gray);
    cursor: not-allowed;
}

.payment-options {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.payment-options i {
    margin: 0 8px;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

/* Footer */
footer {
    background-color: var(--black);
    background-image: url('../images/footer-pattern.svg');
    background-size: 200px 200px;
    color: var(--white);
    padding: 80px 0 0;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-brand p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--purple);
}

.footer-newsletter h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-newsletter p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    padding: 12px 15px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 0 20px;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    padding: 12px 15px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form textarea {
    height: 100px;
    resize: none;
}

.footer-bottom {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a {
    margin-left: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--white);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav ul li {
        margin: 0 10px;
    }
    
    #hero {
        flex-direction: column;
        height: auto;
        padding: 80px 5% 0;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .carousel-container {
        width: 100%;
        height: 50vh;
    }
    
    .featured-item {
        flex-direction: column;
    }
    
    .item-image, .item-details {
        width: 100%;
    }
    
    .auction-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .auction-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-group {
        margin: 10px 0;
        width: 100%;
        max-width: 300px;
    }
    
    .filter-group select {
        width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-container {
        width: 100%;
    }
}
