/* ===========================
   CSS Reset & Variables
   =========================== */

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

:root {
    /* Color Palette - Elegant Artist Theme */
    --primary-color: #a0826d;
    --secondary-color: #6d82a0;
    --accent-color: #d4a373;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --text-lighter: #999;
    --bg-light: #faf8f5;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

/* ===========================
   Typography
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

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

/* ===========================
   Navigation
   =========================== */

.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.logo:hover {
    color: var(--primary-color);
}

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

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.3px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition-smooth);
    border-radius: 3px;
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: var(--section-padding);
    min-height: calc(100vh - 80px);
}

.hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.hero-portrait-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    margin-bottom: 0.5rem;
    animation: fadeInDown 1s ease;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-portrait-centered {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.portrait-glow {
    display: none;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.hero-content-centered {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-title-centered {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-subtitle-centered {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-style: italic;
    animation: fadeInUp 1s ease 0.5s backwards;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-weight: 300;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease 0.7s backwards;
}

.hero-content {
    padding: 2rem 0;
}

.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.9s backwards;
    justify-content: center;
    margin-bottom: 0;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease 0.3s backwards;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ===========================
   Buttons
   =========================== */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(160, 130, 109, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ===========================
   Featured Section
   =========================== */

.featured-section {
    padding: 0 0 2rem;
    background: var(--bg-white);
    margin-top: -10rem;
}

.section-title {
    text-align: center;
    margin-bottom: 0.25rem;
    margin-top: 0;
    position: relative;
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 0.25rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.featured-card {
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
}

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

.featured-image {
    width: 100%;
    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
    overflow: hidden;
}

.featured-image img {
    display: block !important;
    width: 100% !important;
    height: 320px !important;
    min-width: 100% !important;
    min-height: 320px !important;
    max-width: 100% !important;
    max-height: 320px !important;
    object-fit: fill !important;
    object-position: center !important;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.1);
}

.featured-info {
    padding: 0.75rem;
}

.featured-info h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.featured-info p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

/* ===========================
   Blog Preview Section
   =========================== */

.blog-preview {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

.section-header .section-title {
    margin-bottom: 0.5rem;
}

.section-header .section-subtitle {
    margin-bottom: 1.5rem;
}

.view-all {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

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

.blog-date {
    color: var(--text-lighter);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.blog-card h3 a {
    color: var(--text-dark);
}

.blog-card h3 a:hover {
    color: var(--primary-color);
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

/* ===========================
   Page Header
   =========================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 2.5rem 0 2rem;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===========================
   Gallery Page
   =========================== */

.gallery-filters {
    padding: 2rem 0;
    background: var(--bg-white);
    text-align: center;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
    font-size: 1rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.gallery-item {
    transition: var(--transition-smooth);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 400px !important;
    min-height: 400px !important;
    max-height: 400px !important;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-image img {
    display: block !important;
    width: 100% !important;
    height: 400px !important;
    min-width: 100% !important;
    min-height: 400px !important;
    max-width: 100% !important;
    max-height: 400px !important;
    object-fit: fill !important;
    object-position: center !important;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.view-btn {
    background: white;
    color: var(--text-dark);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.view-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.05);
}

.gallery-info {
    padding: 1.5rem 0;
}

.gallery-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.gallery-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* ===========================
   Lightbox
   =========================== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.lightbox-content img {
    max-height: 70vh;
    width: auto;
    margin: 0 auto;
    border-radius: 10px;
}

.lightbox-info {
    text-align: center;
    color: white;
}

.lightbox-info h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.lightbox-info p {
    color: rgba(255, 255, 255, 0.8);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    background: var(--accent-color);
    color: white;
    transform: rotate(90deg);
}

/* ===========================
   Blog Page
   =========================== */

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

.blog-list {
    max-width: 900px;
    margin: 0 auto;
}

.blog-post-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.blog-post-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 2.5rem;
}

.blog-post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.blog-category {
    background: var(--accent-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-post-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.blog-post-content h2 a {
    color: var(--text-dark);
}

.blog-post-content h2 a:hover {
    color: var(--primary-color);
}

.blog-post-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.read-more-btn {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===========================
   About Page
   =========================== */

.about-hero {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-text h1 {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 2rem;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.biography-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.biography-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.bio-content h2 {
    margin-bottom: 2rem;
}

.bio-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.bio-highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.highlight-box {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.highlight-box h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.highlight-box ul {
    list-style: none;
}

.highlight-box li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.highlight-box li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.philosophy-section {
    padding: var(--section-padding);
    background: var(--bg-white);
    text-align: center;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-section h2 {
    margin-bottom: 3rem;
}

blockquote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-color);
    margin: 2rem 0;
    padding: 2rem;
    border-left: 4px solid var(--accent-color);
    background: var(--bg-light);
    border-radius: 10px;
}

.philosophy-content p {
    color: var(--text-light);
    line-height: 1.8;
    text-align: left;
}

.contact-cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.contact-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ===========================
   Footer
   =========================== */

.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
}

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

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===========================
   Animations
   =========================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-portrait-wrapper {
        width: 200px;
        height: 200px;
    }
    
    .hero-title-centered {
        font-size: clamp(1.3rem, 5vw, 2rem);
        letter-spacing: 1.5px;
    }
    
    .hero-subtitle-centered {
        font-size: 1rem;
    }
    
    .hero-tagline {
        font-size: 0.9rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .biography-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .gallery-grid,
    .featured-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-image {
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
    }
    
    .gallery-image img {
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
    }
    
    .featured-image {
        height: 250px !important;
        min-height: 250px !important;
        max-height: 250px !important;
    }
    
    .featured-image img {
        height: 250px !important;
        min-height: 250px !important;
        max-height: 250px !important;
    }
    
    .hero {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .page-header {
        padding: 2rem 0 1.5rem;
    }
    
    .lightbox-content {
        padding: 1rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
