/*
* Ginotex Landing Page Styles
* Author: Cascade
* Version: 1.0
*/

/* -----------------------------
   Variables & Base Styles
----------------------------- */
:root {
    --color-primary: #1a1a1a;
    --color-accent: #FF0033;  /* Ginotex red */
    --color-background: #ffffff;
    --color-text: #333333;
    --color-light: #f5f5f5;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* -----------------------------
   Typography
----------------------------- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

/* -----------------------------
   Layout & Components
----------------------------- */

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.nav.scrolled {
    background-color: var(--color-background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    color: white;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('../assets/Hero.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-top: 1rem;
    opacity: 0.8;
}

/* Introduction Section */
.intro {
    padding: 8rem 2rem;
    background-color: var(--color-background);
}

.intro-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-image {
    aspect-ratio: 2/3;
    background: url('../assets/SesionOtoño/1slot.JPG');
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

/* Collection Section */
.collection {
    padding: 8rem 2rem;
    background-color: var(--color-light);
}

.collection h2 {
    text-align: center;
    margin-bottom: 4rem;
}

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

.collection-item {
    aspect-ratio: 3/4;
    background-color: var(--color-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.collection-item:nth-child(1) {
    background: url('../assets/SesionOtoño/carousel1.JPG');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-light);
}

.collection-item:nth-child(2) {
    background: url('../assets/SesionOtoño/carousel2.JPG');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-light);
}

.collection-item:nth-child(3) {
    background: url('../assets/SesionOtoño/Carousel3.JPG');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-light);
}

.collection-item:nth-child(4) {
    background: url('../assets/SesionOtoño/carousel4.JPG');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-light);
}

.collection-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.collection-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.collection-item:hover::after {
    opacity: 1;
    border-bottom: 3px solid var(--color-accent);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding: 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.modal-close {
    position: fixed;
    right: 35px;
    top: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.modal-close:hover {
    color: #bbb;
}

.modal.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* CTA Section */
.cta {
    padding: 8rem 2rem;
    text-align: center;
    background-color: var(--color-background);
}

.cta h2 {
    margin-bottom: 1.5rem;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Store Section */
.store {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../assets/StoreRack.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 2rem;
    text-align: center;
}

.store-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.store-address {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.store-city {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-background);
}

.btn-primary:hover {
    background-color: #e6002e;
}

.btn-secondary {
    background-color: #25D366;
    color: var(--color-background);
}

.btn-outline {
    border: 2px solid var(--color-background);
    background-color: transparent;
    color: var(--color-background) !important;
    text-decoration: none !important;
}

.btn-outline:hover {
    background-color: var(--color-background);
    color: var(--color-primary) !important;
}

/* Footer */
footer {
    padding: 2rem;
    background-color: var(--color-primary);
    color: var(--color-background);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--color-background);
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--color-accent);
}

/* -----------------------------
   Utilities & Animations
----------------------------- */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

::selection {
    background-color: var(--color-accent);
    color: var(--color-background);
}

/* -----------------------------
   Media Queries
----------------------------- */
@media (max-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .collection-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .collection-grid {
        grid-template-columns: 1fr;
    }
}
