/*
Theme Name: Davinci Jewellery
Theme URI: https://davincijewellery.com
Author: Davinci Jewellery
Description: Custom theme for Davinci Jewellery.
Version: 1.0
Text Domain: davinci
*/

:root {
    --black: #111111;
    --dark: #222222;
    --gray: #777777;
    --light-gray: #e8e8e8;
    --cream: #faf9f6;
    --white: #ffffff;
    --max-width: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--white);
    color: var(--black);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* =========================
   HEADER
========================= */

.site-header {
    width: 100%;
    border-bottom: 1px solid var(--light-gray);
    background: #fff;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 28px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 36px;
}

.main-navigation a {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: opacity 0.25s ease;
}

.main-navigation a:hover {
    opacity: 0.55;
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-actions a {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: opacity 0.25s ease;
}

.header-actions a:hover {
    opacity: 0.55;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    background: var(--cream);
}

.hero-inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.hero-content {
    max-width: 700px;
}

.hero-eyebrow {
    margin-bottom: 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gray);
}

.hero h1 {
    margin: 0 0 25px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(52px, 7vw, 96px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -3px;
}

.hero p {
    max-width: 500px;
    margin: 0 0 35px;
    font-size: 18px;
    color: var(--gray);
}

.hero-media {
    width: 100%;
}

.hero-media img {
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--black);
    color: white;
    border: 1px solid var(--black);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.25s ease;
}

.btn:hover {
    background: white;
    color: var(--black);
}


/* =========================
   GENERAL SECTIONS
========================= */

.section {
    padding: 110px 40px;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
}

.section-intro {
    max-width: 600px;
    color: var(--gray);
    font-size: 17px;
}

.section-eyebrow {
    margin-bottom: 18px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gray);
}


/* =========================
   HOMEPAGE COLLECTIONS
========================= */

.collections-section {
    width: 100%;
    padding: 110px 40px;
    background: var(--white);
}

.collections-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.collections-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.collections-heading .section-eyebrow {
    margin-bottom: 18px;
}

.collections-heading h2 {
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -2px;
}

.collections-heading p {
    max-width: 600px;
    margin: 0;
    color: var(--gray);
    font-size: 17px;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.collection-card {
    display: block;
}

.collection-image {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    overflow: hidden;
    background: var(--light-gray);
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-card:hover .collection-image img {
    transform: scale(1.03);
}

.collection-placeholder {
    width: 100%;
    height: 100%;
    background: #eeeeeb;
}

.collection-info {
    padding: 20px 0 0;
}

.collection-info h3 {
    margin: 0 0 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
}

.collection-info span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray);
}


/* =========================
   HOMEPAGE ABOUT
========================= */

.about-section {
    width: 100%;
    padding: 120px 40px;
    background: var(--cream);
}

.about-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
}

.about-image {
    width: 100%;
}

.about-image img {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    object-fit: cover;
}

.about-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    background: #e8e7e2;
}

.about-content {
    max-width: 570px;
}

.about-content h2 {
    margin: 0 0 25px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 5vw, 70px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -2px;
}

.about-content p {
    margin: 0 0 30px;
    color: var(--gray);
    font-size: 17px;
    line-height: 1.8;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid var(--black);
    padding-bottom: 6px;
}

.text-link span {
    font-size: 16px;
}


/* ==================================================
   ABOUT PAGE
================================================== */


/* ABOUT HERO */

.about-hero {
    width: 100%;
    background: var(--cream);
}

.about-hero-inner {
    max-width: var(--max-width);
    min-height: 520px;
    margin: 0 auto;
    padding: 110px 40px;
    display: flex;
    align-items: center;
}

.about-hero-content {
    max-width: 800px;
}

.about-hero h1 {
    margin: 0 0 30px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(64px, 8vw, 110px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -4px;
}

.about-hero p {
    max-width: 620px;
    margin: 0;
    color: var(--gray);
    font-size: 19px;
    line-height: 1.7;
}


/* OUR STORY */

.about-story {
    width: 100%;
    padding: 120px 40px;
    background: var(--white);
}

.about-story-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
}

.about-story-image {
    width: 100%;
}

.about-page-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    background: #eeeeeb;
}

.about-story-content {
    max-width: 570px;
}

.about-story-content h2 {
    margin: 0 0 30px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -2px;
}

.about-story-content p {
    margin: 0 0 22px;
    color: var(--gray);
    font-size: 17px;
    line-height: 1.8;
}


/* OUR PHILOSOPHY */

.about-philosophy {
    width: 100%;
    padding: 120px 40px;
    background: var(--cream);
}

.about-philosophy-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.about-philosophy-heading {
    max-width: 600px;
    margin-bottom: 70px;
}

.about-philosophy-heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(50px, 6vw, 80px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -3px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.philosophy-item {
    border-top: 1px solid #cfcfcf;
    padding-top: 22px;
}

.philosophy-number {
    display: block;
    margin-bottom: 25px;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--gray);
}

.philosophy-item h3 {
    margin: 0 0 15px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 400;
}

.philosophy-item p {
    margin: 0;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8;
}


/* DAVINCI DIFFERENCE */

.about-difference {
    width: 100%;
    padding: 120px 40px;
    background: var(--white);
}

.about-difference-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
}

.about-difference-content {
    max-width: 570px;
}

.about-difference-content h2 {
    margin: 0 0 30px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -2px;
}

.about-difference-content p {
    margin: 0;
    color: var(--gray);
    font-size: 17px;
    line-height: 1.8;
}

.about-difference-image {
    width: 100%;
}


/* ABOUT CTA */

.about-cta {
    width: 100%;
    padding: 130px 40px;
    background: var(--black);
    color: var(--white);
    text-align: center;
}

.about-cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.about-cta .section-eyebrow {
    color: #aaaaaa;
}

.about-cta h2 {
    margin: 0 0 40px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(52px, 7vw, 90px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -3px;
}

.about-cta .btn {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.about-cta .btn:hover {
    background: transparent;
    color: var(--white);
}


/* =========================
   FOOTER
========================= */

.site-footer {
    border-top: 1px solid var(--light-gray);
    background: #fff;
    padding: 70px 40px 30px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.footer-brand {
    max-width: 350px;
}

.footer-brand h2 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
}

.footer-brand p {
    margin: 0;
    color: var(--gray);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 150px);
    gap: 12px 40px;
}

.footer-links a {
    font-size: 13px;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 60px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
    color: var(--gray);
    font-size: 12px;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 900px) {

    .hero-inner,
    .about-inner,
    .about-story-inner,
    .about-difference-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-inner {
        padding: 80px 30px;
    }

    .hero-media {
        max-width: 700px;
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-story-inner,
    .about-difference-inner {
        gap: 60px;
    }
}


@media (max-width: 768px) {

    .header-container {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }

    .site-logo {
        font-size: 24px;
    }

    .main-navigation {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    .main-navigation a {
        font-size: 11px;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner {
        padding: 70px 20px;
        gap: 45px;
    }

    .hero h1 {
        font-size: 54px;
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 16px;
    }

    .collections-section,
    .about-section,
    .about-story,
    .about-philosophy,
    .about-difference {
        padding: 75px 20px;
    }

    .collections-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .collections-heading h2 {
        font-size: 44px;
    }

    .about-content h2,
    .about-story-content h2,
    .about-difference-content h2 {
        font-size: 48px;
    }

    .about-hero-inner {
        min-height: auto;
        padding: 80px 20px;
    }

    .about-hero h1 {
        font-size: 64px;
        letter-spacing: -3px;
    }

    .about-hero p {
        font-size: 17px;
    }

    .about-cta {
        padding: 90px 20px;
    }

    .about-cta h2 {
        font-size: 54px;
    }

    .footer-inner {
        flex-direction: column;
        padding: 0 20px;
    }

    .site-footer {
        padding: 60px 20px 25px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 480px) {

    .hero h1 {
        font-size: 46px;
    }

    .about-hero h1 {
        font-size: 54px;
    }

    .collections-heading h2 {
        font-size: 38px;
    }

    .about-content h2,
    .about-story-content h2,
    .about-difference-content h2 {
        font-size: 42px;
    }

    .about-cta h2 {
        font-size: 46px;
    }
}
/* =========================================================
   COLLECTIONS PAGE
========================================================= */

.collections-page {
    width: 100%;
}


/* =========================
   COLLECTIONS HERO
========================= */

.collections-page .collections-hero {
    background: var(--cream);
    width: 100%;
}

.collections-page .collections-hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px 40px 110px;
}

.collections-page .collections-hero-content {
    max-width: 850px;
}

.collections-page .collections-hero .section-eyebrow {
    margin-bottom: 22px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gray);
}

.collections-page .collections-hero h1 {
    margin: 0 0 30px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 8vw, 108px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -4px;
}

.collections-page .collections-hero p {
    max-width: 620px;
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray);
}


/* =========================
   COLLECTIONS GRID
========================= */

.collections-page .collections-page-section {
    padding: 110px 40px 120px;
    background: var(--white);
}

.collections-page .collections-page-section .collections-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.collections-page .collections-page-section .collections-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 70px 32px;
}


/* =========================
   COLLECTION CARD
========================= */

.collections-page .collection-card {
    display: block;
    width: 100%;
}

.collections-page .collection-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--light-gray);
}

.collections-page .collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collections-page .collection-card:hover .collection-image img {
    transform: scale(1.035);
}

.collections-page .collection-placeholder {
    width: 100%;
    height: 100%;
    background: #eeeeeb;
}


/* =========================
   COLLECTION INFO
========================= */

.collections-page .collection-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 24px 0 0;
}

.collections-page .collection-info h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.1;
}

.collections-page .collection-info span {
    flex-shrink: 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray);
    transition: color 0.25s ease;
}

.collections-page .collection-card:hover .collection-info span {
    color: var(--black);
}


/* =========================
   COLLECTIONS CTA
========================= */

.collections-page .collections-cta {
    background: var(--cream);
    width: 100%;
}

.collections-page .collections-cta-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px 40px;
    text-align: center;
}

.collections-page .collections-cta .section-eyebrow {
    margin-bottom: 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gray);
}

.collections-page .collections-cta h2 {
    margin: 0 0 35px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -2px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .collections-page .collections-hero-inner {
        padding: 80px 20px 75px;
    }

    .collections-page .collections-hero h1 {
        font-size: 54px;
        letter-spacing: -2px;
    }

    .collections-page .collections-hero p {
        font-size: 16px;
    }

    .collections-page .collections-page-section {
        padding: 70px 20px 80px;
    }

    .collections-page .collections-page-section .collections-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .collections-page .collection-info {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding-top: 18px;
    }

    .collections-page .collection-info h2 {
        font-size: 28px;
    }

    .collections-page .collections-cta-inner {
        padding: 80px 20px;
    }

    .collections-page .collections-cta h2 {
        font-size: 48px;
        letter-spacing: -1.5px;
    }
}