/*
Theme Name: Grapix Monk
Theme URI: https://www.grapixmonk.com/
Author: Grapix Monk Production
Description: Premier Luxury Photography & Cinematography WordPress Theme for Grapix Monk Studio with warm luxury cream (#EDE7DC) background, dark typography, and quick-action bar.
Version: 1.0
Text Domain: grapix-monk-theme
*/

:root {
    --bg-primary: #EDE7DC;
    --bg-secondary: #E4DDD1;
    --bg-card: #FAF7F2;
    --bg-glass: rgba(237, 231, 220, 0.96);
    
    --text-primary: #1a1816;
    --text-secondary: #4a453e;
    --text-muted: #6e675d;
    
    --border-light: #DCD4C7;
    --border-dark: #C7BCAE;
    
    --accent-dark: #0f172a;
    --accent-gold: #0f172a;
    --accent-gold-hover: #1e293b;
    --accent-gold-glow: rgba(15, 23, 42, 0.08);
    
    --whatsapp-color: #25d366;
    --call-color: #0f172a;
    --map-color: #ef4444;
    
    --font-heading: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Mulish', -apple-system, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-full: 9999px;
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --header-height: 80px;
    --bottom-bar-height: 70px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: calc(var(--bottom-bar-height) + 20px);
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.section-tag {
    display: inline-block;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* --- HEADER & WP NAVIGATION --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    background: #0f172a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff !important;
}

.brand-logo .logo-icon {
    width: 42px;
    height: 42px;
    background: #ffffff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-weight: 800;
    font-size: 1.2rem;
}

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

.nav-menu li a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff !important;
    transition: var(--transition-fast);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.nav-menu li a:hover, .nav-menu li.current-menu-item a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.18) !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-contact-quote {
    padding: 10px 22px;
    background: #ffffff !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2) !important;
}

.btn-contact-quote:hover {
    background: #f1f5f9 !important;
    color: #000000 !important;
}

/* --- PERSISTENT QUICK ACTION FLOATING BAR (Call, WhatsApp, Maps) --- */
.quick-action-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(237, 231, 220, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.action-btn.btn-call {
    background: #FAF7F2;
    color: #0f172a;
    border: 1px solid var(--border-light);
}

.action-btn.btn-call:hover {
    background: #0f172a;
    color: #ffffff;
}

.action-btn.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.action-btn.btn-whatsapp:hover {
    transform: translateY(-2px);
    background: #1eb956;
}

.action-btn.btn-map {
    background: #FAF7F2;
    color: #0f172a;
    border: 1px solid var(--border-light);
}

.action-btn.btn-map:hover {
    background: #ea4335;
    color: #ffffff;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    background: #EDE7DC !important;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.04;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 60px 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #E4DDD1;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    color: #1a1816;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: #1a1816;
}

.hero-title span {
    color: #1a1816;
    border-bottom: 3px solid #1a1816;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 14px 32px;
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #1e293b;
}

.btn-secondary {
    padding: 14px 32px;
    background: #E4DDD1;
    color: #1a1816;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-full);
}

.btn-secondary:hover {
    background: #DCD4C7;
}

/* --- STATS COUNTER BAR --- */
.stats-bar {
    padding: 40px 0;
    background: #E4DDD1 !important;
    border-bottom: 1px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1816;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- PORTFOLIO GALLERY SECTION --- */
.gallery-section {
    padding: 90px 0;
    background: #EDE7DC !important;
}

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

.gallery-card {
    background: #FAF7F2 !important;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: var(--transition-fast);
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.card-img-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.88), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 1;
    transition: var(--transition-fast);
}

.card-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #ffffff;
    color: #0f172a;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* --- SERVICES & SPOTLIGHT SECTION --- */
.services-section {
    padding: 90px 0;
    background: #E4DDD1 !important;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    padding: 90px 0;
    background: #EDE7DC !important;
}

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

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: #FAF7F2 !important;
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--border-light);
}

.author-name {
    font-weight: 700;
    color: #1a1816;
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- FOOTER --- */
.site-footer {
    background: #E4DDD1 !important;
    color: var(--text-primary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-light);
}

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

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 12px;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: #1a1816;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: #1a1816;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* --- GLOBAL WARM CREAM (#EDE7DC) BACKGROUND OVERRIDES --- */
html, body, #page, #primary, .site-main, .hero-section, .gallery-section, .testimonials-section, .portrait-page-content, .action-sports-page-content, .wedding-page-content, .product-page-content, .prints-page-content {
    background-color: #EDE7DC !important;
    color: #1a1816 !important;
}

.stats-bar, .services-section, .site-footer {
    background-color: #E4DDD1 !important;
}

h1, h2, h3, h4, h5, h6, .hero-title, .section-title, .author-name, .footer-title {
    color: #1a1816 !important;
}

.section-subtitle, .hero-description, .testimonial-text, .testimonial-role, p, span, li, label {
    color: #4a453e !important;
}

.gallery-card, .testimonial-card, .modal-content {
    background-color: #FAF7F2 !important;
    border: 1px solid #DCD4C7 !important;
}

/* --- DARK NAVIGATION MENU HEADER BAR WITH WHITE FONT --- */
.site-header {
    background: #0f172a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.site-header .brand-logo, 
.site-header .brand-logo span {
    color: #ffffff !important;
}

.site-header .nav-menu li a {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.site-header .nav-menu li a:hover, 
.site-header .nav-menu li.current-menu-item a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.18) !important;
}

.site-header .btn-contact-quote {
    background: #ffffff !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2) !important;
}

.site-header .btn-contact-quote:hover {
    background: #f1f5f9 !important;
    color: #000000 !important;
}

/* --- CENTERED EDITORIAL STACKED HEADER --- */
.editorial-header {
    height: auto !important;
    padding: 14px 0;
}

.header-stacked-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.centered-logo {
    margin: 0 auto;
}

.header-nav-row {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 10px;
}

.centered-menu {
    justify-content: center !important;
    gap: 28px !important;
}

/* --- EDITORIAL SPLIT 2-COLUMN HERO --- */
.editorial-hero-section {
    padding: 140px 0 80px 0;
    background-color: #EDE7DC !important;
}

.hero-split-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.editorial-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 8px solid #FAF7F2;
}

.editorial-frame img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.frame-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: #ffffff !important;
}

.frame-caption h4 {
    color: #ffffff !important;
    font-size: 1.1rem;
}

.caption-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
    color: #ffffff !important;
}

.hero-split-text {
    text-align: left;
}

.editorial-title {
    font-size: clamp(2.8rem, 5vw, 4.2rem) !important;
    line-height: 1.15;
    margin: 16px 0 24px 0;
    color: #1a1816 !important;
}

.editorial-title span {
    font-style: italic;
    color: #0f172a !important;
}

/* --- EDITORIAL SERVICES CARDS --- */
.editorial-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-editorial-card {
    background: #FAF7F2 !important;
    border: 1px solid #DCD4C7 !important;
    padding: 36px 28px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.service-editorial-card .service-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 20px auto;
}

.service-editorial-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #1a1816 !important;
}

.service-editorial-card p {
    color: #4a453e !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- ASYMMETRIC 2-COLUMN EDITORIAL PORTFOLIO GRID --- */
.asymmetric-portfolio-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}

.featured-large .card-img-wrapper {
    height: 550px !important;
}

.stacked-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stacked-cards .card-img-wrapper {
    height: 260px !important;
}

@media (max-width: 992px) {
    .hero-split-container, .asymmetric-portfolio-grid, .editorial-services-grid {
        grid-template-columns: 1fr !important;
    }
    .featured-large .card-img-wrapper {
        height: 350px !important;
    }
}
