/* ============================================
   NOOMI STUDIO - Main Stylesheet
   ============================================ */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Cera Pro', 'Montserrat', sans-serif;
    background-color: #f0f0f0;
    color: #000;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: background-color 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(240, 240, 240, 0.95);
    backdrop-filter: blur(10px);
}

.site-logo {
    display: block;
    max-width: 280px;
    position: relative;
    z-index: 101;
}

.site-logo img {
    width: 100%;
    height: auto;
}

.menu-toggle {
    background: none;
    border: none;
    font-family: 'Cera Pro', 'Montserrat', sans-serif;
    font-size: 14px;
    color: #000;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: lowercase;
    position: relative;
    z-index: 101;
    padding: 5px;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    opacity: 0.7;
}

/* ---------- Fullscreen Navigation ---------- */
.fullscreen-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #e6e3e3;
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.fullscreen-nav.active {
    opacity: 1;
    visibility: visible;
}

.nav-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    font-family: 'Cera Pro', 'Montserrat', sans-serif;
    font-size: 14px;
    color: #000;
    cursor: pointer;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-close::before {
    content: '×';
    font-size: 18px;
}

.main-menu {
    text-align: center;
    margin-bottom: 40px;
}

.main-menu li {
    margin-bottom: 15px;
}

.main-menu a {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    text-transform: lowercase;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.main-menu a:hover {
    opacity: 0.5;
}

.lang-switcher {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.lang-switcher a {
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.lang-switcher a.active {
    font-weight: 700;
}

/* ---------- Hero Slider ---------- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slider-container {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-content {
    position: absolute;
    bottom: 80px;
    left: 30px;
    z-index: 10;
}

.hero-slide-content h1 {
    font-size: 40px;
    font-weight: 700;
    color: #000;
    text-transform: lowercase;
    margin-bottom: 15px;
}

.hero-slide-content .hero-cta {
    font-size: 14px;
    color: #000;
    text-transform: lowercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

.hero-slide-content .hero-cta:hover {
    opacity: 0.6;
}

.hero-label {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    font-size: 40px;
    font-weight: 700;
    color: #000;
    text-transform: lowercase;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    letter-spacing: 2px;
}

/* Slider counter */
.slider-counter {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 12px;
    color: #000;
    letter-spacing: 1px;
    z-index: 10;
}

/* Custom scrollbar for slider */
.slider-scrollbar {
    position: absolute;
    right: 20px;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.slider-scrollbar-thumb {
    width: 100%;
    background-color: #fff;
    transition: height 0.3s ease, top 0.3s ease;
}

/* ---------- About Section ---------- */
.about-section {
    padding: 150px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-heading {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    max-width: 900px;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-heading.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.about-images.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    max-width: 500px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.about-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Portfolio Section ---------- */
.portfolio-section {
    padding: 100px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.portfolio-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:nth-child(2) { transition-delay: 0.1s; }
.portfolio-item:nth-child(3) { transition-delay: 0.2s; }
.portfolio-item:nth-child(4) { transition-delay: 0.3s; }
.portfolio-item:nth-child(5) { transition-delay: 0.4s; }
.portfolio-item:nth-child(6) { transition-delay: 0.5s; }

.portfolio-item a {
    display: block;
    position: relative;
}

.portfolio-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item-info {
    padding: 15px 0;
}

.portfolio-item-name {
    font-size: 16px;
    font-weight: 400;
    text-transform: lowercase;
    margin-bottom: 3px;
}

.portfolio-item-year {
    font-size: 13px;
    color: #666;
}

.portfolio-more {
    text-align: center;
}

.portfolio-more a {
    display: inline-block;
    font-size: 14px;
    text-transform: lowercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #000;
    padding-bottom: 3px;
    transition: opacity 0.3s ease;
}

.portfolio-more a:hover {
    opacity: 0.6;
}

/* ---------- Footer ---------- */
.site-footer {
    padding: 60px 30px 30px;
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-logo {
    max-width: 200px;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.footer-menu-label {
    font-size: 14px;
    text-transform: lowercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-links a {
    font-size: 13px;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 12px;
    color: #666;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 200;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner p {
    font-size: 13px;
    line-height: 1.5;
    flex: 1;
}

.cookie-banner a {
    text-decoration: underline;
}

.cookie-accept {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-family: 'Cera Pro', 'Montserrat', sans-serif;
    font-size: 13px;
    cursor: pointer;
    text-transform: lowercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.cookie-accept:hover {
    opacity: 0.8;
}

/* ---------- Scroll Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero-slide-content h1 {
        font-size: 30px;
    }

    .about-heading {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 15px 20px;
    }

    .site-logo {
        max-width: 180px;
    }

    .hero-slide-content {
        bottom: 50px;
        left: 20px;
        right: 20px;
    }

    .hero-slide-content h1 {
        font-size: 24px;
    }

    .about-section {
        padding: 80px 20px;
    }

    .about-heading {
        font-size: 22px;
        margin-bottom: 50px;
    }

    .about-images {
        grid-template-columns: 1fr;
    }

    .portfolio-section {
        padding: 60px 20px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .portfolio-item img {
        height: 280px;
    }

    .main-menu a {
        font-size: 24px;
    }

    .site-footer {
        padding: 40px 20px 20px;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
    }

    .footer-right {
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-slide-content h1 {
        font-size: 20px;
    }

    .about-heading {
        font-size: 18px;
    }

    .main-menu a {
        font-size: 20px;
    }
}
