/* ==========================================
   VARIABLES
   ========================================== */
:root {
    --primary-color: #000000;
    --secondary-color: #536878;
    --paynes-gray: #536878;
    --light-grey: #CCCCCC;
    --mid-grey: #888888;
    --text-dark: #1a1a1a;
    --text-light: #888888;
    --text-white: #ffffff;
    --bg-light: #F2F2F2;
    --bg-dark: #1A1A1A;
    --border-color: #DDDDDD;
    --shadow: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-hover: 0 8px 40px rgba(83,104,120,0.3);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

/* ==========================================
   RESET
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    color: #1a1a1a;
    background-color: #F2F2F2;
    line-height: 1.6;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #000000;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid #333333;
}

.navbar.scrolled {
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #536878;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #CCCCCC;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #536878;
    transition: all 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

#cart-count {
    background-color: #536878;
    color: #ffffff;
    border-radius: 50%;
    padding: 0.1rem 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 3px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    height: 100vh;
    background-color: #000000;
    background-image: linear-gradient(
        135deg,
        #000000 0%,
        #1A1A1A 50%,
        #536878 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    color: #CCCCCC;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: #536878;
    color: #ffffff;
    border-color: #536878;
}

.btn-primary:hover {
    background-color: transparent;
    color: #536878;
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(83,104,120,0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: #536878;
    border-color: #536878;
}

.btn-outline:hover {
    background-color:#536878;
    color: #ffffff;
    transform: translateY(-3px);
}

/* ==========================================
   CONTAINERS AND SECTIONS
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #000000;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-header p {
    color: #888888;
    font-size: 1.1rem;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Section label */
.section-label {
    color: #536878;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Gold divider line */
.divider {
    width: 60px;
    height: 3px;
    background-color: #536878;
    margin: 1rem 0 2rem 0;
}

.divider.center {
    margin: 1rem auto 2rem auto;
}

/* ==========================================
   FEATURED ARTWORK SECTION
   ========================================== */
.featured-section {
    background-color: #ffffff;
}

.artwork-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.artwork-card {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #DDDDDD;
}

.artwork-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background-color: #F2F2F2;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.artwork-card:hover .card-image img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #536878;
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-info {
    padding: 1.5rem;
}

.card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.card-info p {
    color: #888888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #536878;
}

.btn-cart {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
}

.btn-cart:hover {
    background-color: #536878;
    color: #ffffff;
}

/* ==========================================
   ARTIST INTRO SECTION
   ========================================== */
.artist-intro {
    background-color: #1A1A1A;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

.label {
    color: #536878;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.intro-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.intro-text p {
    color: #CCCCCC;
    line-height: 1.9;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: #000000;
    color: #888888;
    padding: 4rem 0 2rem;
    border-top: 1px solid #333333;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #536878;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-brand p {
    color: #888888;
    line-height: 1.8;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #1A1A1A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CCCCCC;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 1px solid #333333;
}

.social-links a:hover {
    background-color: #536878;
    color: #ffffff;
    border-color: #536878;
}

.footer-links h4,
.footer-contact h4 {
    color: #536878;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #888888;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #536878;
    padding-left: 5px;
}

.footer-contact p {
    color: #888888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.footer-contact i {
    color: #536878;
    width: 15px;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 2rem;
    text-align: center;
    color: #555555;
    font-size: 0.9rem;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .artwork-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #000000;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid #333333;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .artwork-grid {
        grid-template-columns: 1fr;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
