/* ============================================
   HAVN & HÖLM STUDIO - MAIN STYLESHEET
   Editorial Design - Inspired by Suzy Hoodless
   ============================================ */

/* ===== BRAND COLORS ===== */
:root {
    --nordic-night: #2B2D2A;
    --terracotta: #C7856A;
    --warm-chalk: #F5F1EA;
    --warm-ash: #9B9580;
    --slate: #4A4E4D;
    --charred-oak: #3D3832;
    
    --font-serif: 'Times New Roman', Times, serif;
    --font-sans: Arial, Helvetica, sans-serif;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-serif);
    color: var(--nordic-night);
    background: #FAFAF8;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===== NAVIGATION ===== */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px 60px;
    z-index: 1000;
    border-bottom: 1px solid rgba(43, 45, 42, 0.05);
    transition: padding 0.3s ease;
}

.navigation.scrolled {
    padding: 20px 60px;
}

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

.nav-logo {
    font-size: 13px;
    letter-spacing: 0.25em;
    color: var(--nordic-night);
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: var(--terracotta);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
}

.nav-menu a {
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
    position: relative;
}

.nav-menu a:hover {
    color: var(--terracotta);
}

.nav-menu a.active {
    color: var(--nordic-night);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--nordic-night);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 91px;
    left: 0;
    right: 0;
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(10px);
    padding: 40px 60px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-menu a {
    font-family: var(--font-sans);
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--nordic-night);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--terracotta);
}

/* ===== HERO SECTION - FULL SCREEN WITH IMAGE ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(rgba(43, 45, 42, 0.3), rgba(43, 45, 42, 0.4)),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(43, 45, 42, 0.2) 0%,
        rgba(43, 45, 42, 0.5) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 0 60px;
    color: white;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 82px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-cta {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: transparent;
}

.hero-cta:hover {
    background: white;
    color: var(--nordic-night);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
    opacity: 0.8;
}

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

/* ===== INTRO SECTION - EDITORIAL TEXT ===== */
.intro-section {
    max-width: 900px;
    margin: 120px auto;
    padding: 0 60px;
}

.intro-section p {
    font-size: 22px;
    line-height: 1.6;
    color: var(--nordic-night);
    font-weight: 300;
    margin-bottom: 30px;
}

.intro-section p:first-child::first-letter {
    font-size: 72px;
    line-height: 1;
    float: left;
    margin: 5px 15px 0 0;
    color: var(--terracotta);
    font-weight: 300;
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1800px;
    margin: 0 auto 120px;
    padding: 0 60px;
}

.column-image {
    background: var(--slate);
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.column-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.column-image:hover img {
    transform: scale(1.05);
}

.column-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    background: var(--warm-chalk);
}

.column-text h2 {
    font-size: 38px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 30px;
    color: var(--nordic-night);
}

.column-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--slate);
    margin-bottom: 20px;
    font-weight: 300;
}

.text-link {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    text-decoration: none;
    margin-top: 20px;
    border-bottom: 1px solid var(--terracotta);
    display: inline-block;
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

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

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 15px;
    color: var(--nordic-night);
}

.section-header p {
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warm-ash);
}

/* ===== PORTFOLIO MASONRY GRID ===== */
.portfolio-section {
    max-width: 1800px;
    margin: 0 auto 120px;
    padding: 0 60px;
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--slate);
}

.portfolio-item.large {
    grid-column: span 8;
    height: 700px;
}

.portfolio-item.medium {
    grid-column: span 4;
    height: 700px;
}

.portfolio-item.tall {
    grid-column: span 6;
    height: 900px;
}

.portfolio-item.wide {
    grid-column: span 12;
    height: 550px;
}

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

.portfolio-item:hover .portfolio-item-image {
    transform: scale(1.03);
}

.portfolio-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-caption {
    opacity: 1;
}

.portfolio-caption h3 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 8px;
}

.portfolio-caption p {
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.9;
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy-section {
    max-width: 1200px;
    margin: 0 auto 120px;
    padding: 100px 60px;
    background: var(--warm-chalk);
}

.philosophy-section h2 {
    font-size: 42px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 80px;
    color: var(--nordic-night);
}

.philosophy-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.philosophy-item {
    text-align: center;
}

.philosophy-number {
    font-size: 60px;
    color: var(--terracotta);
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.3;
    line-height: 1;
}

.philosophy-item h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--nordic-night);
    letter-spacing: 0.05em;
}

.philosophy-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--slate);
    font-weight: 300;
}

/* ===== QUOTE SECTION ===== */
.quote-section {
    max-width: 1000px;
    margin: 0 auto 120px;
    padding: 0 60px;
    text-align: center;
}

.quote-section blockquote {
    font-size: 32px;
    line-height: 1.5;
    font-weight: 300;
    font-style: italic;
    color: var(--nordic-night);
    margin-bottom: 30px;
    position: relative;
}

.quote-section blockquote::before {
    content: '"';
    font-size: 120px;
    color: var(--terracotta);
    opacity: 0.2;
    position: absolute;
    top: -40px;
    left: -20px;
    line-height: 1;
}

.quote-section cite {
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-style: normal;
    color: var(--warm-ash);
}

/* ===== CTA SECTION ===== */
.cta-section {
    max-width: 1400px;
    margin: 0 auto 120px;
    padding: 120px 60px;
    text-align: center;
    background: var(--nordic-night);
    color: white;
}

.cta-section h2 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 30px;
}

.cta-section p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 50px;
    opacity: 0.9;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: white;
    color: var(--nordic-night);
}

/* ===== FOOTER ===== */
footer {
    background: var(--warm-chalk);
    padding: 80px 60px 50px;
}

.footer-content {
    max-width: 1800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-about h4,
.footer-links h4 {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 400;
    color: var(--warm-ash);
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--slate);
    font-weight: 300;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--nordic-night);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--terracotta);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(43, 45, 42, 0.1);
}

.footer-bottom p {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--warm-ash);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 64px;
    }
    
    .portfolio-item.large,
    .portfolio-item.medium {
        grid-column: span 6;
    }
    
    .portfolio-item.tall {
        grid-column: span 6;
    }
    
    .philosophy-list {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 968px) {
    .navigation {
        padding: 25px 40px;
    }
    
    .navigation.scrolled {
        padding: 20px 40px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        height: 80vh;
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 0 40px;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 17px;
    }
    
    .intro-section {
        margin: 80px auto;
        padding: 0 40px;
    }
    
    .intro-section p {
        font-size: 20px;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        padding: 0 40px;
        gap: 0;
    }
    
    .column-text {
        padding: 60px 40px;
    }
    
    .portfolio-section,
    .quote-section {
        padding: 0 40px;
    }
    
    .portfolio-item.large,
    .portfolio-item.medium,
    .portfolio-item.tall,
    .portfolio-item.wide {
        grid-column: span 12;
        height: 400px;
    }
    
    .philosophy-section {
        padding: 80px 40px;
    }
    
    .cta-section {
        padding: 80px 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 480px) {
    .navigation {
        padding: 20px 30px;
    }
    
    .navigation.scrolled {
        padding: 15px 30px;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero-content {
        padding: 0 30px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .intro-section {
        padding: 0 30px;
        margin: 60px auto;
    }
    
    .intro-section p {
        font-size: 18px;
    }
    
    .two-column {
        padding: 0 30px;
    }
    
    .column-text {
        padding: 50px 30px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .portfolio-section,
    .philosophy-section,
    .quote-section,
    .cta-section {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .quote-section blockquote {
        font-size: 24px;
    }
    
    .cta-section h2 {
        font-size: 36px;
    }
    
    .scroll-indicator {
        display: none;
    }
}
