/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000;
    overflow-x: hidden;
    position: relative;
}

/* Navigation Styles */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-links .instagram-link {
    font-size: 1.5rem;
    margin-left: 20px;
    color: #E1306C;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-links .instagram-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Fixed Jacket Stack */
.jacket-stack-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

.jacket-stack {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.jacket-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.jacket-layer.active {
    transform: translateY(0);
}

.jacket-layer.previous {
    transform: translateY(-100%);
}

.jacket-layer.next {
    transform: translateY(100%);
}

/* Content Sections */
.content-sections {
    position: relative;
    z-index: 2;
}

.content-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.content-section.in-view .content {
    opacity: 1;
    transform: translateY(0);
}

h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

/* Collection Grid */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.collection-item {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.collection-item img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.collection-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Contact Section */
.contact-info {
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 8px;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.7;
}

.social-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.social-links .instagram-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 4px;
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-links .instagram-link i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.social-links .instagram-link:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Footer Styles */
footer {
    position: relative;
    z-index: 2;
    background: #000;
    padding: 20px;
    text-align: center;
}

/* Animation Effects */
.fade-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Section Content Transitions */
.content {
    transition: opacity 0.3s ease-out;
}

/* Section-specific animations */
.hero .content h1 {
    transition-delay: 0.2s;
}

.hero .content h2 {
    transition-delay: 0.4s;
}

.hero .content p {
    transition-delay: 0.6s;
}

.story .content,
.collection .content,
.contact .content {
    transform: scale(0.98);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.story .content.fade-in,
.collection .content.fade-in,
.contact .content.fade-in {
    transform: scale(1);
}

/* Hover effects for interactive elements */
.nav-links a {
    position: relative;
    overflow: hidden;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease-out;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Smooth transitions for all animated properties */
* {
    backface-visibility: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }
    
    .social-links .instagram-link {
        font-size: 1rem;
        padding: 8px 15px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Staggered Section Animations */
.hero { animation-delay: 0.2s; }
.story { animation-delay: 0.4s; }
.collection { animation-delay: 0.6s; }
.contact { animation-delay: 0.8s; } 