* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Tahoma, sans-serif;
    background: #0b0b0b;
    color: #f5f1e8;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

/* ================= SCROLL-REVEAL / IMAGE FADE-IN ================= */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s ease, transform 0.9s ease;
    will-change: opacity, transform;
}

.reveal.in-view {
    opacity: 1;
    transform: none;
}

img {
    opacity: 0;
    transition: opacity 0.6s ease;
}

img.loaded {
    opacity: 1;
}

/* ================= HEADER ================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.94);
    border-bottom: 1px solid rgba(196, 164, 91, 0.25);
    backdrop-filter: blur(12px);
    transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.header.scrolled {
    background: rgba(6, 6, 6, 0.98);
    border-bottom-color: rgba(201, 168, 92, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.header-content {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    color: #d8b56a;
    font-size: 20px;
    letter-spacing: 2px;
}

.brand-lastname {
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 3px;
    margin-top: 5px;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.navigation a {
    color: #e8e1d3;
    font-size: 14px;
    transition: 0.3s;
}

.navigation a:hover {
    color: #d8b56a;
}

.header-button,
.main-button,
.outline-button,
.instagram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 25px;
    border: 1px solid #c9a85c;
    transition: 0.3s;
}

.header-button,
.main-button {
    background: #c9a85c;
    color: #090909;
}

.header-button:hover,
.main-button:hover {
    background: transparent;
    color: #d8b56a;
}

.button-clicked {
    transform: scale(0.96);
    opacity: 0.85;
}

/* ================= MOBILE NAV TOGGLE ================= */

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid rgba(201, 168, 92, 0.35);
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 1px;
    background: #d8b56a;
    transition: 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ================= HERO ================= */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(circle at center, rgba(116, 91, 37, 0.22), transparent 45%),
        linear-gradient(135deg, #080808, #15120d 50%, #050505);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(201, 168, 92, 0.12);
    border-radius: 50%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.65)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-small-title,
.section-label {
    color: #c9a85c;
    letter-spacing: 4px;
    font-size: 12px;
    margin-bottom: 14px;
}

.hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(50px, 8vw, 100px);
    font-weight: 400;
    line-height: 1;
    color: #ffffff;
}

.hero h1 span {
    display: block;
    color: #c9a85c;
    font-size: 0.55em;
    letter-spacing: 7px;
    margin-top: 20px;
}

.gold-line {
    width: 80px;
    height: 1px;
    background: #c9a85c;
    margin: 25px 0;
}

.gold-line.center {
    margin: 25px auto;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #d1cbc0;
    font-size: 16px;
}

/* ================= GENERAL SECTIONS ================= */

.section {
    padding: 110px 0;
}

.dark-section {
    background: #070707;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2,
.about-content h2,
.facial-content h2,
.instagram-content h2,
.contact-content h2 {
    font-family: Georgia, serif;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 400;
    color: #ffffff;
}

.section-heading h2 span,
.about-content h2 span,
.facial-content h2 span,
.instagram-content h2 span,
.contact-content h2 span {
    color: #c9a85c;
}

/* ================= ABOUT ================= */

.about {
    background: #101010;
}

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

.about-content {

    max-width: 750px;

    margin: auto;

    text-align: center;

}

.about-content p {

    color: #cfc8ba;

    margin-bottom: 15px;

}

/* ================= FACIAL ================= */

.facial {

    text-align: center;

}

.facial-content {

    max-width: 800px;

    margin: auto;

}

.facial-content > p:not(.section-label) {

    color: #cfc8ba;

    margin-bottom: 30px;

}

.outline-button {

    color: #d8b56a;

    background: transparent;

}

.outline-button:hover {

    background: #c9a85c;

    color: #080808;

}

/* ================= DEVICES ================= */

.devices {

    background: #101010;

}

.devices-banner {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    /* Matches the source image's real proportions (1000 x 1500 = 2:3) so
       the whole poster — every device in the list — stays fully visible
       with no cropping, on any screen size. */
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 92, 0.25);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.devices-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    background: #f5efe4;
}

.devices-caption {

    text-align: center;

    max-width: 600px;

    margin: 30px auto 0;

}

.devices-caption h3 {

    color: #d8b56a;

    font-family: Georgia, serif;

    font-size: clamp(26px, 3.5vw, 40px);

    font-weight: 400;

}

.devices-caption p {

    color: #cfc8ba;

    margin-top: 12px;

}

/* ================= INSTAGRAM ================= */

.instagram {

    text-align: center;

}

.instagram-content {

    max-width: 800px;

    margin: auto;

}

.instagram-content > p:not(.section-label) {

    color: #cfc8ba;

    margin-bottom: 28px;

}

.instagram-button {

    color: #d8b56a;

}

.instagram-button:hover {

    background: #c9a85c;

    color: #080808;

}

/* ================= BLOG (public list) ================= */

.blog {
    text-align: center;
}

.blog-subtitle {
    color: #cfc8ba;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
    text-align: right;
}

.blog-status {
    grid-column: 1 / -1;
    color: #cfc8ba;
    padding: 20px 0;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #101010;
    border: 1px solid rgba(201, 168, 92, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 92, 0.55);
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #1a1a1a;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-image-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-date {
    color: #c9a85c;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-card-body h3 {
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 10px;
}

.blog-card-body p {
    color: #cfc8ba;
    font-size: 14px;
    flex: 1;
    margin-bottom: 16px;
}

.blog-card-link {
    color: #d8b56a;
    font-size: 13px;
    letter-spacing: 1px;
}

/* ================= BLOG (single post page) ================= */

.post-page {
    padding-top: 160px;
}

.post-container {
    max-width: 760px;
}

.post-back {
    display: inline-block;
    color: #d8b56a;
    font-size: 14px;
    margin-bottom: 35px;
}

.post-hero-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    margin-bottom: 35px;
}

.post-header h1 {
    font-family: Georgia, serif;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 400;
    color: #ffffff;
}

.post-body p {
    color: #d1cbc0;
    margin-bottom: 18px;
    line-height: 1.9;
}

/* ================= CONTACT ================= */

.contact {

    background: #101010;

}

.contact-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;

}

.contact-content p:not(.section-label) {

    color: #cfc8ba;

    max-width: 600px;

}

.contact-box {

    display: flex;

    flex-direction: column;

    gap: 18px;

}

.contact-item {

    min-height: 75px;

    padding: 15px 22px;

    display: flex;

    align-items: center;

    gap: 18px;

    border: 1px solid rgba(201, 168, 92, 0.35);

    color: #eee8dc;

    transition: 0.3s;

}

.contact-item:hover {

    border-color: #c9a85c;

    transform: translateY(-3px);

}

.contact-icon {

    color: #c9a85c;

    font-size: 25px;

}

/* ================= FOOTER ================= */

.footer {

    background: #050505;

    border-top: 1px solid rgba(201, 168, 92, 0.25);

    padding: 50px 0 25px;

}

.footer-content {

    text-align: center;

}

.footer-brand {

    display: flex;

    flex-direction: column;

    gap: 5px;

    margin-bottom: 25px;

}

.footer-brand span {

    color: #d8b56a;

    font-family: Georgia, serif;

    font-size: 24px;

}

.footer-brand small {

    color: #aaa297;

}

.footer-links {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 25px;

    margin-bottom: 30px;

}

.footer-links a {

    color: #aaa297;

    transition: 0.3s;

}

.footer-links a:hover {

    color: #d8b56a;

}

.copyright {

    color: #69645d;

    font-size: 12px;

}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

    .header-content {

        min-height: 75px;

    }

    .nav-toggle {
        display: flex;
        order: 3;
    }

    .navigation {
        position: fixed;
        top: 75px;
        inset-inline: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: rgba(6, 6, 6, 0.98);
        border-bottom: 1px solid rgba(201, 168, 92, 0.25);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease;
    }

    .navigation.nav-open {
        max-height: 420px;
        opacity: 1;
    }

    .navigation a {
        width: 100%;
        padding: 16px min(4%, 45px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .header-button {
        order: 2;
    }

    .brand img {

        width: 48px;

        height: 48px;

    }

    .brand-name {

        font-size: 17px;

    }

    .header-button {

        padding: 0 16px;

        min-height: 40px;

        font-size: 13px;

    }

    .contact-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }

    .devices-banner {

        max-width: 380px;

    }

    .blog-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media (max-width: 600px) {

    .blog-grid {

        grid-template-columns: 1fr;

    }

    .post-page {

        padding-top: 130px;

    }

    .section {

        padding: 80px 0;

    }

    .hero h1 {

        font-size: 48px;

    }

    .hero h1 span {

        font-size: 0.52em;

        letter-spacing: 4px;

    }

    .hero-description {

        font-size: 14px;

    }

    .devices-banner {

        max-width: 300px;

    }

    .devices-caption h3 {

        font-size: 26px;

    }

    .devices-caption p {

        font-size: 14px;

    }

    .header-button {

        display: none;

    }

    .brand-lastname {

        font-size: 11px;

        letter-spacing: 2px;

    }

}

/* ================= REDUCED MOTION ================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    img {
        opacity: 1;
    }
}
