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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Futura PT', Futura, "Trebuchet MS", Arial, sans-serif;
    font-weight: 300;
    color: #000000;
    background-color: #FFFFFF;
    line-height: 1.8;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Futura PT', Futura, "Trebuchet MS", Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
}

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

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    letter-spacing: 0.01em;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 0;
    transition: all 0.3s ease;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Futura PT', Futura, "Trebuchet MS", Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #000000;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    text-decoration: none;
    color: #000000;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #000000;
    transition: width 0.3s ease;
}

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

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: #000000;
    transition: all 0.3s ease;
    display: block;
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    background-color: #000000;
    z-index: 20;
}

.hero::before {
    top: 0;
    height: 120px;
}

.hero::after {
    bottom: 0;
    height: 60px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://static.wixstatic.com/media/a88d94_bcc15b15c64148ae845792af86fe4c74~mv2.jpg/v1/fill/w_1600,h_621,al_c,q_85,enc_avif,quality_auto/a88d94_bcc15b15c64148ae845792af86fe4c74~mv2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: grayscale(100%);
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    color: #CCCCCC;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}

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

/* Philosophy Section */
.philosophy {
    padding: 8rem 0;
    background-color: #F2F2F2;
}

.philosophy-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.philosophy-image {
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.philosophy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: transform 0.5s ease;
}

.philosophy-image:hover img {
    transform: scale(1.02);
}

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

.section-title {
    color: #000000;
    margin-bottom: 2rem;
}

.philosophy-text {
    color: #000000;
    font-weight: 300;
    line-height: 1.9;
}

/* Collection Gallery */
.collection {
    padding: 8rem 0;
    background-color: #FFFFFF;
}

.collection-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.collection-container .section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    grid-auto-rows: 500px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background-color: #F2F2F2;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.5s ease, filter 0.5s ease, brightness 0.5s ease;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(80%) brightness(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #FFFFFF;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-overlay h3 {
    font-family: 'Futura PT', Futura, "Trebuchet MS", Arial, sans-serif;
    font-size: 1.5rem;
    color: #FFFFFF;
}

/* Product Modal/Drawer */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    max-width: 600px;
    height: 100%;
    background-color: #FFFFFF;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
}

.product-modal.active .modal-drawer {
    transform: translateX(0);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #000000;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.modal-close:hover {
    opacity: 0.6;
}

.modal-content {
    padding: 4rem;
}

.modal-image {
    width: 100%;
    height: 400px;
    margin-bottom: 3rem;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.modal-details h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.modal-details p {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.materials-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.materials-table th,
.materials-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #F2F2F2;
}

.materials-table th {
    font-family: 'Futura PT', Futura, "Trebuchet MS", Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.materials-table td {
    font-weight: 300;
}

/* Footer */
.footer {
    padding: 6rem 0 3rem;
    background-color: #F2F2F2;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.newsletter-section {
    margin-bottom: 4rem;
}

.footer-title {
    font-family: 'Futura PT', Futura, "Trebuchet MS", Arial, sans-serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #000000;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    border-bottom: 1px solid #000000;
    padding-bottom: 1rem;
}

.newsletter-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: 'Futura PT', Futura, "Trebuchet MS", Arial, sans-serif;
    font-size: 1rem;
    color: #000000;
    font-weight: 300;
}

.newsletter-input::placeholder {
    color: #000000;
    opacity: 0.5;
}

.newsletter-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #000000;
    padding: 0;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.newsletter-button:hover {
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.social-link {
    color: #000000;
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.6;
}

.separator {
    color: #000000;
    opacity: 0.3;
}

.footer-copyright {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.85rem;
    color: #000000;
    opacity: 0.6;
}

/* Reveal Animation Classes */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modal-drawer {
        width: 70%;
    }

    .philosophy-container {
        gap: 4rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .nav-container {
        padding: 0 3rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #FFFFFF;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 0.75rem 0;
        display: block;
        width: 100%;
    }

    .nav-menu a::after {
        display: none;
    }

    .navbar {
        padding: 1.5rem 0;
    }

    .navbar.scrolled {
        padding: 1rem 0;
    }

    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero::before {
        height: 80px;
    }

    .hero::after {
        height: 40px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        padding: 0 1.5rem;
    }

    .philosophy {
        padding: 4rem 0;
    }

    .philosophy-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1.5rem;
    }

    .philosophy-image {
        height: 350px;
    }

    .philosophy-content {
        gap: 1.5rem;
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 1.5rem;
    }

    .philosophy-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .collection {
        padding: 4rem 0;
    }

    .collection-container {
        padding: 0 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        grid-auto-rows: 300px;
    }

    .gallery-overlay h3 {
        font-size: 1.1rem;
    }

    .modal-drawer {
        width: 100%;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .modal-image {
        height: 300px;
        margin-bottom: 2rem;
    }

    .modal-details h2 {
        font-size: 1.5rem;
    }

    .footer-container {
        padding: 0 1.5rem;
    }

    .footer-title {
        font-size: 1.25rem;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .social-links {
        font-size: 0.85rem;
    }

    .hero-image {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-logo {
        font-size: 1rem;
        letter-spacing: 0.05em;
    }

    .nav-menu {
        width: 85%;
        padding: 4rem 1.5rem 2rem;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero::before {
        height: 60px;
    }

    .hero::after {
        height: 30px;
    }

    .hero-title {
        font-size: clamp(2rem, 12vw, 3.5rem);
        padding: 0 1rem;
    }

    .philosophy {
        padding: 3rem 0;
    }

    .philosophy-container {
        padding: 0 1rem;
        gap: 2rem;
    }

    .philosophy-image {
        height: 300px;
    }

    .philosophy-text {
        font-size: 0.95rem;
    }

    .collection {
        padding: 3rem 0;
    }

    .collection-container {
        padding: 0 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 350px;
        gap: 1rem;
    }

    .footer {
        padding: 4rem 0 2rem;
    }

    .footer-container {
        padding: 0 1rem;
    }

    .newsletter-section {
        margin-bottom: 3rem;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }
}
