/* ============================================
   Samaa K Jewelers — Brand Styles
   Palette: Emerald (#0F5132) + Cream (#FAF8F5)
   ============================================ */

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

:root {
    --emerald: #0F5132;
    --emerald-deep: #0A3D26;
    --emerald-light: #14673F;
    --cream: #FAF8F5;
    --cream-dark: #F3EFE9;
    --cream-mid: #F9F6F1;
    --text-dark: #1A1A1A;
    --text-mid: #4A4A4A;
    --text-light: #7A7A7A;
    --text-muted: #A0A0A0;
    --white: #FFFFFF;
    --border: rgba(15, 81, 50, 0.12);
    --border-light: rgba(15, 81, 50, 0.06);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav__logo-mark {
    font-size: 14px;
    color: var(--emerald);
    letter-spacing: 0.1em;
}

.nav__logo-text {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--emerald);
    letter-spacing: 0.02em;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav__link {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-mid);
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--emerald);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--emerald);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    color: var(--emerald);
    border: 1px solid var(--emerald);
    padding: 8px 20px;
    transition: var(--transition);
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background: var(--emerald);
    color: var(--white);
}

/* Mobile toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle-line {
    width: 22px;
    height: 1.5px;
    background: var(--emerald);
    transition: var(--transition);
    transform-origin: center;
}

.nav__toggle.active .nav__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav__toggle.active .nav__toggle-line:nth-child(2) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.mobile-menu__link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-dark);
    transition: var(--transition);
}

.mobile-menu__link:hover {
    color: var(--emerald);
}

.mobile-menu__link--cta {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald);
    border: 1px solid var(--emerald);
    padding: 12px 32px;
    margin-top: 8px;
}

.mobile-menu__contact {
    margin-top: 16px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 2;
}

.mobile-menu__contact a {
    color: var(--emerald);
    transition: var(--transition);
}

.mobile-menu__contact a:hover {
    color: var(--emerald-deep);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 32px;
    border: 1.5px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn--primary {
    background: var(--emerald);
    color: var(--white);
    border-color: var(--emerald);
}

.btn--primary:hover {
    background: var(--emerald-deep);
    border-color: var(--emerald-deep);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--emerald);
    border-color: var(--emerald);
}

.btn--outline:hover {
    background: var(--emerald);
    color: var(--white);
    transform: translateY(-1px);
}

.btn--full {
    width: 100%;
}

/* ============================================
   Section shared
   ============================================ */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 520px;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 72px 0 0;
    background: var(--cream);
    overflow: hidden;
}

.hero__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    width: 100%;
    align-items: center;
    min-height: calc(100vh - 72px);
}

.hero__content {
    padding-right: 64px;
}

.hero__eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 24px;
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.hero__subheadline {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero__trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__trust-value {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--emerald);
    line-height: 1;
}

.hero__trust-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero__trust-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero__image {
    position: relative;
}

.hero__image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.hero__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__image-wrapper:hover img {
    transform: scale(1.03);
}

.hero__image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--emerald);
    border-radius: 2px;
    opacity: 0.2;
    pointer-events: none;
}

/* ============================================
   Divider
   ============================================ */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.divider__diamond {
    font-size: 10px;
    color: var(--emerald);
    opacity: 0.4;
    letter-spacing: 0.4em;
}

/* ============================================
   Collections
   ============================================ */
.collections {
    padding: 120px 0;
    background: var(--cream);
}

.collections__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.collection-card {
    background: var(--white);
    border-radius: 2px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.collection-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.collection-card--wide {
    grid-column: 1 / -1;
}

.collection-card__image {
    overflow: hidden;
    aspect-ratio: 3/2;
}

.collection-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card:hover .collection-card__image img {
    transform: scale(1.05);
}

.collection-card__body {
    padding: 28px 28px 32px;
}

.collection-card__title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.collection-card__desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 20px;
}

.collection-card__link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald);
    transition: var(--transition);
}

.collection-card__link:hover {
    color: var(--emerald-deep);
    letter-spacing: 0.15em;
}

/* ============================================
   About
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--cream-dark);
}

.about__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__image {
    overflow: hidden;
    border-radius: 2px;
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.about__content {
    padding: 16px 0;
}

.about__text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about__values {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about__value {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about__value-icon {
    font-size: 1rem;
    color: var(--emerald);
    opacity: 0.6;
    flex-shrink: 0;
    margin-top: 4px;
}

.about__value strong {
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.about__value span {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 300;
    line-height: 1.6;
}

/* ============================================
   Craft / Process
   ============================================ */
.craft {
    padding: 120px 0;
    background: var(--cream);
}

.craft__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.craft__step {
    text-align: center;
    padding: 32px 20px;
    position: relative;
}

.craft__step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 52px;
    right: -16px;
    width: 32px;
    height: 1px;
    background: var(--border);
}

.craft__step-number {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--emerald);
    opacity: 0.3;
    display: block;
    margin-bottom: 16px;
    line-height: 1;
}

.craft__step-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.craft__step-desc {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.75;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
    padding: 120px 0;
    background: var(--emerald);
}

.testimonials .section-eyebrow {
    color: rgba(255,255,255,0.6);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    padding: 36px 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.testimonial-card__text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 300;
    font-style: italic;
    color: rgba(255,255,255,0.9);
    line-height: 1.75;
    margin-bottom: 24px;
}

.testimonial-card__author {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

/* ============================================
   Visit / Contact
   ============================================ */
.visit {
    padding: 120px 0;
    background: var(--cream-dark);
}

.visit__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.visit__desc {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 40px;
}

.visit__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.visit__detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.visit__detail-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--emerald);
    flex-shrink: 0;
}

.visit__detail strong {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.visit__detail p,
.visit__detail a {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.6;
}

.visit__detail a:hover {
    color: var(--emerald);
}

/* Form */
.visit__form-wrapper {
    position: sticky;
    top: 100px;
}

.visit__form-card {
    background: var(--white);
    border-radius: 2px;
    padding: 40px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.visit__form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.visit__form-desc {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 2px;
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--emerald);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(15, 81, 50, 0.08);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A7A7A' stroke-width='2' aria-hidden='true'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 12px;
}

.form-success__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--emerald);
    color: var(--white);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success p {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--white);
    display: block;
    margin-top: 8px;
}

.footer__brand-desc {
    font-size: 0.85rem;
    font-weight: 300;
    margin-top: 12px;
    line-height: 1.7;
    max-width: 280px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--white);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 300;
}

.footer__contact a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer__contact a:hover {
    color: var(--white);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.78rem;
    font-weight: 300;
}

.footer__bottom a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer__bottom a:hover {
    color: var(--white);
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero__split {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        padding: 0 32px;
    }
    
    .hero__content {
        padding-right: 32px;
    }
    
    .about__split,
    .visit__split {
        gap: 48px;
    }
    
    .craft__steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .craft__step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        display: none;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .hero {
        padding-top: 72px;
    }
    
    .hero__split {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 48px 24px 64px;
        gap: 40px;
    }
    
    .hero__content {
        padding-right: 0;
        order: 2;
    }
    
    .hero__image {
        order: 1;
    }
    
    .hero__image-wrapper {
        aspect-ratio: 4/3;
    }
    
    .hero__actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero__trust {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .collections__grid {
        grid-template-columns: 1fr;
    }
    
    .collection-card--wide {
        grid-column: auto;
    }
    
    .about__split,
    .visit__split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about__image {
        order: -1;
    }
    
    .testimonials__grid {
        grid-template-columns: 1fr;
    }
    
    .craft__steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .visit__form-wrapper {
        position: static;
    }
    
    .visit__form-card {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .hero__headline {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .collections,
    .about,
    .craft,
    .testimonials,
    .visit {
        padding: 80px 0;
    }
}
