/* KB Bespoke - Luxury Jewelry Website Styles */
/* Inspired by Arielle Ratner aesthetic */

/* ===== CSS VARIABLES ===== */
:root {
    /* Color Palette */
    --color-teal: #96b3b9;
    --color-cream: #f5f1ed;
    --color-peach: #e5ceb8;
    --color-charcoal: #2a2a2a;
    --color-white: #ffffff;
    --color-light-gray: #f8f8f8;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --container-max-width: 1150px;
    --section-padding: 80px 20px;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--color-charcoal);
    background-color: var(--color-cream);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-teal);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: 0.03em;
    font-weight: 300;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: 0.03em;
    font-weight: 300;
}

h3 {
    font-size: 1.8rem;
    font-weight: 400;
}

h4 {
    font-size: 1.4rem;
    font-weight: 400;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    font-weight: 300;
}

/* ===== LAYOUT ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding);
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.logo {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-charcoal);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-social a {
    color: var(--color-charcoal);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.header-social a:hover {
    color: var(--color-teal);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 0;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0.03em;
}

.dropdown-menu a:hover {
    background-color: var(--color-cream);
}

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

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-charcoal);
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 57vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-light-gray);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-charcoal);
    padding: 3rem 4rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--color-charcoal);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 2px solid var(--color-charcoal);
    background-color: transparent;
    color: var(--color-charcoal);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--color-charcoal);
    color: var(--color-white);
}

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

.btn-primary:hover {
    background-color: #7a9fa5;
    border-color: #7a9fa5;
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
}

/* ===== GRID LAYOUTS ===== */
.grid {
    display: grid;
    gap: 2rem;
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ===== CARDS ===== */
.card {
    background-color: var(--color-white);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    margin-bottom: 0.8rem;
}

.card-content p {
    font-size: 0.95rem;
    color: #666;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 0.9rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid #ddd;
    background-color: var(--color-white);
    color: var(--color-charcoal);
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-teal);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--color-teal);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #666;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    border-color: var(--color-teal);
    background-color: var(--color-teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    font-size: 0.85rem;
    color: #999;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1.2rem 1.5rem;
    }

    .nav-right {
        gap: 1rem;
    }

    .header-social {
        display: flex;
        order: 2;
    }

    .menu-toggle {
        order: 1;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        order: 3;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--color-cream);
    }

    .nav-menu > li > a {
        display: block;
        padding: 1rem;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: var(--color-cream);
        margin: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 60vh;
    }

    .hero-content {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    section {
        padding: 50px 15px;
    }

    .hero p {
        font-size: 1rem;
    }
}
