/*
Theme Name: Zap Treasures
Theme URI: https://zaptreasures.it
Description: Custom theme for Zap Art & Vintage - Curated vintage treasures with Art Deco style
Author: Valeria Giudici
Author URI: https://zaptreasures.it
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zaptreasures
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --mustard: #D4A230;
    --dark-gold: #B8860B;
    --slate: #2F3A20;
    --forest: #1C2415;
    --burnt-sienna: #8B4513;
    --deep-green: #3A4A2D;
    --cream: #EDE8DC;
    --charcoal: #1A1A1A;
    --accent: #D4A230;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Cursor */
body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><circle cx="10" cy="10" r="8" fill="none" stroke="%231A1A1A" stroke-width="1.5"/></svg>') 10 10, auto;
}

a, button {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><circle cx="10" cy="10" r="8" fill="%23D4A230"/></svg>') 10 10, pointer;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--cream);
    border-bottom: 1px solid rgba(44, 37, 33, 0.1);
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(237, 232, 220, 0.95);
    animation: slideDown 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mustard);
    text-decoration: none;
    transition: all 0.4s ease;
    text-shadow: 0 0 20px rgba(212, 162, 48, 0.3);
}

.logo:hover {
    letter-spacing: 0.2em;
    text-shadow: 0 0 30px rgba(212, 162, 48, 0.5);
}

nav {
    display: flex;
    gap: 3rem;
}

nav a {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--slate);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    font-weight: 500;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mustard);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

nav a:hover {
    color: var(--mustard);
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    height: 85vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75) saturate(0.9);
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(28, 36, 21, 0.7) 0%, rgba(26, 26, 26, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.3s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.95;
}

.cta-button {
    margin-top: 3rem;
    display: inline-block;
    padding: 1rem 3rem;
    border: 2px solid var(--mustard);
    color: white;
    background: transparent;
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--mustard);
    transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    color: var(--charcoal);
    border-color: var(--mustard);
}

/* About Section */
.about {
    padding: 8rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.about-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: var(--charcoal);
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--slate);
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    height: 600px;
    overflow: hidden;
    border: 2px solid var(--mustard);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    filter: saturate(0.85);
}

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

/* Collections Grid */
.collections {
    padding: 4rem 4rem 8rem;
    background: var(--forest);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    color: var(--mustard);
}

.section-header p {
    color: var(--cream);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.collection-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    border: 2px solid var(--mustard);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.4s ease;
}

.collection-item:hover {
    transform: translateY(-8px);
    border-color: var(--dark-gold);
}

.collection-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), filter 0.4s ease;
    filter: saturate(0.85);
}

.collection-item:hover img {
    transform: scale(1.1);
    filter: saturate(1);
}

.collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.95) 0%, rgba(28, 36, 21, 0.8) 100%);
    color: var(--mustard);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.collection-overlay h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--mustard);
}

.collection-overlay p {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    opacity: 0.9;
    color: var(--cream);
}

/* Shop Links */
.shop-links {
    padding: 8rem 4rem;
    background: var(--cream);
    text-align: center;
}

.shop-links h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 3rem;
    color: var(--charcoal);
}

.platforms {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.platform-link {
    padding: 1.5rem 3rem;
    border: 2px solid var(--charcoal);
    text-decoration: none;
    color: var(--charcoal);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.platform-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--mustard);
    transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 0;
}

.platform-link:hover::before {
    left: 0;
}

.platform-link span {
    position: relative;
    z-index: 1;
}

.platform-link:hover {
    color: var(--charcoal);
    border-color: var(--mustard);
}

/* Newsletter */
.newsletter {
    padding: 8rem 4rem;
    background: var(--charcoal);
    color: var(--cream);
    text-align: center;
}

.newsletter h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--mustard);
}

.newsletter p {
    margin-bottom: 3rem;
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: var(--cream);
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    background: transparent;
    border: 2px solid rgba(212, 162, 48, 0.4);
    color: var(--cream);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--mustard);
}

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

.newsletter-form button {
    padding: 1.2rem 3rem;
    background: var(--mustard);
    border: none;
    color: var(--charcoal);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.newsletter-form button:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 162, 48, 0.3);
}

/* Footer */
footer {
    padding: 3rem 4rem;
    background: var(--charcoal);
    color: var(--cream);
    text-align: center;
    border-top: 2px solid var(--mustard);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

.copyright {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 1rem 2rem;
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        gap: 1.5rem;
    }

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

    .about {
        grid-template-columns: 1fr;
        padding: 4rem 2rem;
        gap: 3rem;
    }

    .collection-grid {
        grid-template-columns: 1fr;
        padding: 0 2rem;
    }

    .platforms {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Decorative Elements */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.03"/></svg>');
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
}
