/*
Theme Name: Kohinoor Magazine
Theme URI: https://kohinoormagazine.uz
Author: Kohinoor Team
Description: Custom minimal theme for Kohinoor Magazine
Version: 1.0
*/

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

body {
    margin: 0;
    background: #0a0a0a;
    color: #ffffff;
    font-family: 'Libre Baskerville', serif;
}

.hero,
.about-magazine,
.editorial-focus,
.advertising-opportunities,
.editor-note,
.commercial-note {
    scroll-snap-align: start;
    min-height: 100vh;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 20px 40px 20px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 32px;
    z-index: 1000;
    background: transparent;
    box-sizing: border-box;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding-top: 12px;
    padding-bottom: 12px;
}

.site-header.is-scrolled .header-inner {
    border-top-color: rgba(184, 148, 60, 0.38);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(184, 148, 60, 0.6);
    padding-top: 12px;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.header-logo-image {
    width: 120px;
    height: auto;
    display: block;
}

.header-nav {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}

.header-nav a {
    font-family: 'Lora', serif;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-decoration: none;
    color: #f3efe6;
    transition: opacity 0.3s ease;
}

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

.hero-frame {
    width: 100%;
    max-width: 980px;
}

.hero-gemstone {
    display: flex;
    justify-content: center;
    margin: 0 0 6px;
    pointer-events: none;
    width: 100%;
}

.hero-gemstone-image {
    width: min(460px, 58vw);
    max-width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    display: block;
    border-radius: 2px;
    opacity: 0.96;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.hero-top-line {
    width: 100%;
    height: 1px;
    background: #b8943c;
    margin-bottom: 24px;
    opacity: 0.9;
}

.hero-content {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: 26px;
    display: flex;
    justify-content: center;
}

.hero-logo-image {
    width: 220px;
    max-width: 70vw;
    height: auto;
    display: block;
}

.hero-kicker {
    font-family: 'Lora', serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b8943c;
    margin: 0 0 18px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    line-height: 1.05;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 0 0 18px;
    color: #f3efe6;
}

.hero-subtitle {
    font-family: 'Libre Baskerville', serif;
    font-size: 18px;
    line-height: 1.7;
    color: #c9c2b3;
    margin: 0 auto 38px;
    max-width: 640px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    font-family: 'Lora', serif;
    padding: 13px 30px;
    text-decoration: none;
    border: 1px solid #b8943c;
    font-size: 13px;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #b8943c;
    color: #0a0a0a;
}

.btn-secondary {
    background: transparent;
    color: #f3efe6;
}

.btn:hover {
    opacity: 0.86;
}

.about-magazine {
    padding: 110px 20px 120px;
    background: #0f0f0f;
}

.about-magazine-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.section-eyebrow {
    font-family: 'Lora', serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b8943c;
    margin: 0 0 18px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    line-height: 1.2;
    font-weight: 700;
    color: #f3efe6;
    margin: 0 0 28px;
}

.section-text {
    font-family: 'Libre Baskerville', serif;
    font-size: 17px;
    line-height: 1.9;
    color: #c9c2b3;
    max-width: 760px;
    margin: 0 auto 22px;
}

.section-text:last-child {
    margin-bottom: 0;
}

.editorial-focus {
    padding: 0 20px 120px;
    background: #0f0f0f;
}

.editorial-focus-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.focus-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.focus-card {
    background: #111111;
    border: 1px solid rgba(184, 148, 60, 0.28);
    padding: 34px 30px;
    text-align: left;
}

.focus-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    line-height: 1.2;
    color: #f3efe6;
    margin: 0 0 14px;
}

.focus-card-text {
    font-family: 'Libre Baskerville', serif;
    font-size: 15px;
    line-height: 1.8;
    color: #c9c2b3;
    margin: 0;
}

.advertising-opportunities {
    padding: 0 20px 120px;
    background: #0f0f0f;
}

.advertising-opportunities-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.opportunities-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.opportunity-card {
    background: transparent;
    border-top: 1px solid rgba(184, 148, 60, 0.42);
    padding: 26px 0 0;
    text-align: left;
}

.opportunity-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    line-height: 1.2;
    color: #f3efe6;
    margin: 0 0 14px;
}

.opportunity-card-text {
    font-family: 'Libre Baskerville', serif;
    font-size: 15px;
    line-height: 1.8;
    color: #c9c2b3;
    margin: 0;
    max-width: 460px;
}

.editor-note {
    padding: 0 20px 120px;
    background: #0f0f0f;
}

.editor-note-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.editor-note-top-line {
    width: 100%;
    height: 1px;
    background: rgba(184, 148, 60, 0.6);
    margin-bottom: 42px;
}

.editor-note-heading {
    text-align: left;
    margin-bottom: 26px;
}

.editor-note-grid {
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.editor-note-media {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.editor-note-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(184, 148, 60, 0.2);
    background: #111111;
}

.editor-note-qr {
    display: block;
    width: 128px;
}

.editor-note-qr img {
    width: 100%;
    height: auto;
    display: block;
}

.editor-note-name {
    font-family: 'Playfair Display', serif;
    font-size: 54px;
    line-height: 1.05;
    font-weight: 700;
    color: #b8943c;
    margin: 0 0 20px;
}

.editor-note-text p {
    font-family: 'Libre Baskerville', serif;
    font-size: 16px;
    line-height: 1.8;
    color: #f3efe6;
    margin: 0 0 18px;
}

.editor-note-text p:last-child {
    margin-bottom: 0;
}

.editor-note-signoff {
    margin: 28px 0 24px;
    font-family: 'Lora', serif;
    font-size: 18px;
    line-height: 1.6;
    color: #b8943c;
}

.editor-note-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-family: 'Lora', serif;
    font-size: 15px;
    line-height: 1.7;
    color: #f3efe6;
}

.editor-contact-link,
.editor-contact-text {
    color: #f3efe6;
    text-decoration: none;
}

.editor-contact-link:hover {
    opacity: 0.8;
}

.editor-contact-divider {
    color: rgba(184, 148, 60, 0.7);
}

.commercial-note {
    padding: 0 20px 140px;
    background: #0f0f0f;
}

.commercial-note-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.commercial-note-top-line {
    width: 100%;
    height: 1px;
    background: rgba(184, 148, 60, 0.6);
    margin-bottom: 42px;
}

.commercial-note-heading {
    text-align: left;
    margin-bottom: 26px;
}

.commercial-note-grid {
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.commercial-note-media {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.commercial-note-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(184, 148, 60, 0.35);
    color: #b8943c;
    font-family: 'Lora', serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: #111111;
    width: 100%;
    aspect-ratio: 4 / 5;
    font-size: 16px;
}

.commercial-note-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(184, 148, 60, 0.2);
    background: #111111;
}

.commercial-note-qr {
    display: block;
    width: 128px;
}

.commercial-note-qr img {
    width: 100%;
    height: auto;
    display: block;
}

.commercial-note-name {
    font-family: 'Playfair Display', serif;
    font-size: 54px;
    line-height: 1.05;
    font-weight: 700;
    color: #b8943c;
    margin: 0 0 20px;
}

.commercial-note-text p {
    font-family: 'Libre Baskerville', serif;
    font-size: 16px;
    line-height: 1.8;
    color: #f3efe6;
    margin: 0 0 18px;
}

.commercial-note-text p:last-child {
    margin-bottom: 0;
}

.commercial-note-signoff {
    margin: 28px 0 24px;
    font-family: 'Lora', serif;
    font-size: 18px;
    line-height: 1.6;
    color: #b8943c;
}

.commercial-note-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-family: 'Lora', serif;
    font-size: 15px;
    line-height: 1.7;
    color: #f3efe6;
}

.commercial-contact-link,
.commercial-contact-text {
    color: #f3efe6;
    text-decoration: none;
}

.commercial-contact-link:hover {
    opacity: 0.8;
}

.commercial-contact-divider {
    color: rgba(184, 148, 60, 0.7);
}

@media (max-width: 900px) {
    .editor-note-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .editor-note-media {
        max-width: 420px;
    }

    .editor-note-name {
        font-size: 40px;
    }

    .commercial-note-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .commercial-note-media {
        max-width: 420px;
    }

    .commercial-note-name {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 64px 20px 36px 20px;
    }

    .hero-title {
        font-size: 46px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-top-line {
        margin-bottom: 24px;
    }

    .hero-gemstone {
        margin: 0 0 6px;
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
        display: flex;
        justify-content: center;
        pointer-events: none;
    }

    .hero-gemstone-image {
        width: min(520px, calc(100vw - 16px));
        aspect-ratio: 16 / 9;
    }

    .about-magazine {
        padding: 80px 20px 90px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-text {
        font-size: 16px;
        line-height: 1.8;
    }

    .editorial-focus {
        padding: 0 20px 90px;
    }

    .focus-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 36px;
    }

    .focus-card {
        padding: 28px 22px;
    }

    .focus-card-title {
        font-size: 24px;
    }

    .focus-card-text {
        font-size: 14px;
    }

    .advertising-opportunities {
        padding: 0 20px 90px;
    }

    .opportunities-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 36px;
    }

    .opportunity-card-title {
        font-size: 24px;
    }

    .opportunity-card-text {
        font-size: 14px;
        max-width: none;
    }

    .editor-note {
        padding: 0 20px 90px;
    }

    .editor-note-top-line {
        margin-bottom: 30px;
    }

    .editor-note-name {
        font-size: 34px;
    }

    .editor-note-text p {
        font-size: 15px;
    }

    .editor-note-signoff {
        font-size: 16px;
    }

    .editor-note-contacts {
        font-size: 14px;
    }

    .editor-note-qr {
        width: 110px;
    }

    .commercial-note {
        padding: 0 20px 100px;
    }

    .commercial-note-top-line {
        margin-bottom: 30px;
    }

    .commercial-note-name {
        font-size: 34px;
    }

    .commercial-note-text p {
        font-size: 15px;
    }

    .commercial-note-signoff {
        font-size: 16px;
    }

    .commercial-note-contacts {
        font-size: 14px;
    }

    .commercial-note-qr {
        width: 110px;
    }

    .editor-note-media,
    .commercial-note-media {
        gap: 14px;
    }

    .editor-note-photo img,
    .commercial-note-photo img,
    .commercial-note-photo-placeholder {
        max-width: 100%;
    }

    .editor-note-content,
    .commercial-note-content {
        text-align: left;
    }

    .editor-note-text p,
    .commercial-note-text p {
        line-height: 1.75;
    }

    .editor-note-signoff,
    .commercial-note-signoff {
        margin-top: 24px;
        margin-bottom: 20px;
    }

    .editor-note-contacts,
    .commercial-note-contacts {
        gap: 8px;
        align-items: flex-start;
    }

    .site-header {
        padding: 14px 16px;
    }

    .header-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    .header-logo-image {
        width: 96px;
    }

    .header-nav {
        display: flex !important;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 14px 18px;
        position: static;
        background: none;
        border: none;
        padding: 0;
        width: 100%;
    }

    .header-nav a {
        font-size: 13px;
        letter-spacing: 1.2px;
    }
}

@media (max-width: 480px) {
    .hero-gemstone {
        width: calc(100% + 32px);
        margin-left: -16px;
        margin-right: -16px;
    }

    .hero-gemstone-image {
        width: calc(100vw - 12px);
    }

    .editor-note,
    .commercial-note {
        padding-left: 16px;
        padding-right: 16px;
    }

    .editor-note-name,
    .commercial-note-name {
        font-size: 30px;
        line-height: 1.08;
    }

    .editor-note-text p,
    .commercial-note-text p {
        font-size: 14px;
    }

    .editor-note-signoff,
    .commercial-note-signoff {
        font-size: 15px;
    }

    .editor-note-contacts,
    .commercial-note-contacts {
        font-size: 13px;
        flex-direction: column;
    }

    .editor-contact-divider,
    .commercial-contact-divider {
        display: none;
    }

    .editor-note-qr,
    .commercial-note-qr {
        width: 96px;
    }
}
