/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Apple-style animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes blurIn {
    from {
        opacity: 0;
        filter: blur(10px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Mobile Close Button */
.mobile-close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.mobile-close-btn span {
    position: absolute;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mobile-close-btn span:first-child {
    transform: rotate(45deg);
}

.mobile-close-btn span:last-child {
    transform: rotate(-45deg);
}

.mobile-close-btn:hover span {
    background: #ccc;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 1rem 2rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    max-height: 100vh;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    letter-spacing: -0.01em;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.cta-button {
    display: inline-block;
    background: white;
    color: black;
    opacity: 0;
    animation: fadeInScale 1s ease-out 1.2s forwards;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-button:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

/* Специальные стили для кнопок Poizon */
.cta-button[href*="poizon.html"]:hover,
.cta-button[href*="romul_manager"]:hover {
    background: white !important;
    color: #1a1a1a !important;
    border-color: white !important;
}

/* Quote Section */
.quote-section {
    padding: 4rem 0;
    background: #f8f8f8;
}

.quote {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    text-align: center;
    font-style: italic;
    color: #1a1a1a;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.3;
}

/* Collections */
.collections {
    padding: 4rem 0;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(20px);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.collection-card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 400px;
}

.collection-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    text-decoration: none;
    color: inherit;
    display: block;
}

.collection-card.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.collection-card:nth-child(1).animate {
    animation-delay: 0.2s;
}

.collection-card:nth-child(2).animate {
    animation-delay: 0.4s;
}

.collection-card:nth-child(3).animate {
    animation-delay: 0.6s;
}

.collection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.collection-image {
    height: 300px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    transition: transform 0.3s ease, opacity 0.6s ease;
    opacity: 0;
    position: relative;
    z-index: 2;
}

.collection-card:hover .collection-image img {
    transform: scale(1);
}

.collection-content {
    padding: 2rem;
}

.collection-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
}

.collection-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.collection-link {
    display: inline-block;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.collection-link:hover {
    color: #666;
    border-bottom-color: #666;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: #f8f8f8;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #333;
    opacity: 0;
    transform: translateX(-20px);
}

.about-text p:nth-child(1) {
    animation: slideInFromLeft 0.8s ease-out 0.2s forwards;
}

.about-text p:nth-child(2) {
    animation: slideInFromLeft 0.8s ease-out 0.4s forwards;
}

.about-text p:nth-child(3) {
    animation: slideInFromLeft 0.8s ease-out 0.6s forwards;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

.submit-button {
    width: 100%;
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInScale 0.8s ease-out 0.8s forwards;
}

.submit-button:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 3rem 0;
}

/* Products Grid */
.products {
    padding: 8rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 400px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1);
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.product-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
}

/* Product Section */
.product-section {
    padding: 8rem 0;
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-image-large {
    height: 400px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.product-image-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.product-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.product-image-small {
    height: 200px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-image-small:hover {
    transform: scale(1.02);
}

.product-image-small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.product-details {
    padding: 2rem;
}

.product-details h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #666;
}

.product-info {
    margin-bottom: 2rem;
}

.info-item {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #333;
}

.info-item strong {
    color: #1a1a1a;
}

/* Mobile Product Gallery */
.mobile-product-gallery {
    display: none;
    position: relative;
    margin-bottom: 2rem;
}

.mobile-gallery-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #f8f8f8;
}

.mobile-gallery-slide {
    display: none;
    width: 100%;
    height: 400px;
    align-items: center;
    justify-content: center;
}

.mobile-gallery-slide.active {
    display: flex;
}

.mobile-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

.mobile-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.mobile-gallery-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.mobile-gallery-prev {
    left: 10px;
}

.mobile-gallery-next {
    right: 10px;
}

.mobile-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.mobile-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-gallery-dot.active {
    background: #1a1a1a;
}



/* Collection Info */
.collection-info {
    padding: 6rem 0;
    background: #f8f8f8;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.info-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.info-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333;
}

.info-content .cta-button {
    margin-top: 2rem;
    display: inline-block;
    background: #1a1a1a;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #1a1a1a;
}

.info-content .cta-button:hover {
    background: transparent;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* Product page CTA button */
.product-details .cta-button {
    display: inline-block;
    background: #1a1a1a;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #1a1a1a;
}

.product-details .cta-button:hover {
    background: white;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav {
        padding: 1rem 2rem;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .collection-card:nth-child(3) {
        grid-column: auto;
        justify-self: auto;
        max-width: none;
    }
    
    .collection-image {
        height: 250px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .quote {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-text p {
        font-size: 1.1rem;
    }
    
    /* Mobile Product Layout */
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-images {
        display: none;
    }
    
    .mobile-product-gallery {
        display: block;
    }
    
    .product-details {
        padding: 1rem 0;
    }
    
    .product-details h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        padding: 1rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .quote {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .collection-content {
        padding: 1.5rem;
    }
    
    .mobile-nav-link {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-image {
        height: 300px;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .info-content h2 {
        font-size: 2rem;
    }
    
    .info-content p {
        font-size: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success/Error states */
.success {
    border-color: #4CAF50 !important;
}

.error {
    border-color: #f44336 !important;
} 