/*
Theme Name: DK Expressions Rebrand - Gold Edition
Template: Divi
Author: DK Expressions
Version: 1.0.0
Description: Custom child theme for DK Expressions with gold/orange brand colors. Preserves all posts and plugins while applying the new design system.
*/

/* ============================================
   DK EXPRESSIONS - GOLD/ORANGE BRAND SYSTEM
   ============================================ */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* Root Variables - Gold/Orange */
:root {
    --dk-black: #0a0a0a;
    --dk-charcoal: #1a1a1a;
    --dk-gold: #d4a853;
    --dk-gold-light: #e8c87a;
    --dk-orange: #e85d04;
    --dk-cream: #f5f0e8;
    --dk-gray: #6b7280;
    --dk-gray-light: #9ca3af;

    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

/* ============================================
   GLOBAL RESETS & BASE STYLES
   ============================================ */

body {
    font-family: var(--font-sans);
    background-color: var(--dk-black);
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dk-black);
}
::-webkit-scrollbar-thumb {
    background: var(--dk-gold);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--dk-gold-light);
}

/* Selection Color */
::selection {
    background: var(--dk-gold);
    color: var(--dk-black);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

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

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

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

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

p {
    line-height: 1.7;
    color: var(--dk-gray-light);
}

a {
    color: var(--dk-gold);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dk-gold-light);
}

/* Gradient Text Utility */
.gradient-text {
    background: linear-gradient(135deg, var(--dk-gold) 0%, var(--dk-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   DIVI HEADER / NAVIGATION OVERRIDE
   ============================================ */

/* Main Header */
#main-header {
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(212, 168, 83, 0.1) !important;
    box-shadow: none !important;
}

#main-header.et-fixed-header {
    background: rgba(10, 10, 10, 0.95) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

/* Logo */
#logo {
    max-height: 50px !important;
}

/* Navigation Links */
#top-menu-nav > ul > li > a {
    font-family: var(--font-sans) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: var(--dk-gray-light) !important;
    padding: 0 15px !important;
    position: relative !important;
    transition: color 0.3s ease !important;
}

#top-menu-nav > ul > li > a:hover {
    color: var(--dk-gold) !important;
}

/* Active Link Indicator */
#top-menu-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 15px;
    width: 0;
    height: 2px;
    background: var(--dk-gold);
    transition: width 0.3s ease;
}

#top-menu-nav > ul > li > a:hover::after {
    width: calc(100% - 30px);
}

/* Mobile Menu */
.et_mobile_menu {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(212, 168, 83, 0.1) !important;
}

.et_mobile_menu li a {
    color: var(--dk-gray-light) !important;
    font-family: var(--font-sans) !important;
}

.et_mobile_menu li a:hover {
    color: var(--dk-gold) !important;
    background: rgba(212, 168, 83, 0.05) !important;
}

/* ============================================
   DIVI BUTTONS
   ============================================ */

.et_pb_button {
    font-family: var(--font-sans) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    padding: 14px 32px !important;
    border-radius: 50px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Primary Button - Gold Gradient */
.et_pb_button.et_pb_bg_layout_light {
    background: linear-gradient(135deg, var(--dk-gold) 0%, var(--dk-orange) 100%) !important;
    color: var(--dk-black) !important;
    box-shadow: 0 4px 15px rgba(212, 168, 83, 0.3) !important;
}

.et_pb_button.et_pb_bg_layout_light:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(212, 168, 83, 0.4) !important;
}

/* Secondary Button - Outline */
.et_pb_button.et_pb_bg_layout_dark {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.et_pb_button.et_pb_bg_layout_dark:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--dk-gold) !important;
    color: var(--dk-gold) !important;
}

/* ============================================
   DIVI SECTIONS & MODULES
   ============================================ */

/* Section Backgrounds */
.et_pb_section {
    background-color: var(--dk-black) !important;
}

.et_pb_section:nth-child(even) {
    background-color: var(--dk-charcoal) !important;
}

/* Text Modules */
.et_pb_text {
    color: var(--dk-gray-light) !important;
}

.et_pb_text h1,
.et_pb_text h2,
.et_pb_text h3,
.et_pb_text h4 {
    color: #ffffff !important;
}

.et_pb_text h2 span {
    background: linear-gradient(135deg, var(--dk-gold) 0%, var(--dk-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Blurb Modules */
.et_pb_blurb {
    background: rgba(26, 26, 26, 0.5) !important;
    border: 1px solid rgba(212, 168, 83, 0.1) !important;
    border-radius: 16px !important;
    padding: 32px !important;
    transition: all 0.5s ease !important;
}

.et_pb_blurb:hover {
    border-color: rgba(212, 168, 83, 0.3) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.et_pb_blurb .et_pb_blurb_content {
    max-width: 100% !important;
}

.et_pb_blurb .et_pb_main_blurb_image {
    margin-bottom: 24px !important;
}

.et_pb_blurb .et_pb_module_header {
    font-family: var(--font-serif) !important;
    color: #ffffff !important;
    font-size: 1.25rem !important;
    margin-bottom: 12px !important;
}

.et_pb_blurb .et_pb_blurb_description {
    color: var(--dk-gray) !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
}

/* Icon Styling */
.et_pb_blurb .et-pb-icon {
    color: var(--dk-gold) !important;
    font-size: 32px !important;
}

/* ============================================
   BLOG / POST STYLING
   ============================================ */

/* Blog Grid */
.et_pb_blog_grid .et_pb_post {
    background: rgba(26, 26, 26, 0.5) !important;
    border: 1px solid rgba(212, 168, 83, 0.1) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: all 0.5s ease !important;
}

.et_pb_blog_grid .et_pb_post:hover {
    border-color: rgba(212, 168, 83, 0.3) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.et_pb_blog_grid .et_pb_post .entry-title a {
    font-family: var(--font-serif) !important;
    color: #ffffff !important;
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
}

.et_pb_blog_grid .et_pb_post .entry-title a:hover {
    color: var(--dk-gold) !important;
}

.et_pb_blog_grid .et_pb_post .post-meta {
    color: var(--dk-gray) !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
}

.et_pb_blog_grid .et_pb_post .post-content {
    color: var(--dk-gray-light) !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
}

/* Post Thumbnail */
.et_pb_blog_grid .et_pb_post .et_pb_image_container img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.et_pb_blog_grid .et_pb_post:hover .et_pb_image_container img {
    transform: scale(1.05) !important;
}

/* Single Post Page */
.single-post #main-content {
    background: var(--dk-black) !important;
}

.single-post .et_pb_post .entry-title {
    font-family: var(--font-serif) !important;
    font-size: 2.5rem !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
}

.single-post .et_pb_post .post-meta {
    color: var(--dk-gold) !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 30px !important;
}

.single-post .et_pb_post .post-content {
    color: var(--dk-gray-light) !important;
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
}

.single-post .et_pb_post .post-content h2,
.single-post .et_pb_post .post-content h3 {
    font-family: var(--font-serif) !important;
    color: #ffffff !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
}

.single-post .et_pb_post .post-content a {
    color: var(--dk-gold) !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(212, 168, 83, 0.3) !important;
    text-underline-offset: 4px !important;
}

.single-post .et_pb_post .post-content a:hover {
    text-decoration-color: var(--dk-gold) !important;
}

/* ============================================
   FORMS
   ============================================ */

.et_pb_contact_form {
    background: rgba(26, 26, 26, 0.7) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(212, 168, 83, 0.1) !important;
    border-radius: 16px !important;
    padding: 40px !important;
}

.et_pb_contact_form input,
.et_pb_contact_form textarea,
.et_pb_contact_form select {
    background: rgba(10, 10, 10, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-family: var(--font-sans) !important;
    padding: 14px 18px !important;
    transition: border-color 0.3s ease !important;
}

.et_pb_contact_form input:focus,
.et_pb_contact_form textarea:focus,
.et_pb_contact_form select:focus {
    border-color: var(--dk-gold) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1) !important;
}

.et_pb_contact_form input::placeholder,
.et_pb_contact_form textarea::placeholder {
    color: var(--dk-gray) !important;
}

.et_pb_contact_form label {
    color: var(--dk-gray-light) !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.et_pb_contact_submit {
    background: linear-gradient(135deg, var(--dk-gold) 0%, var(--dk-orange) 100%) !important;
    color: var(--dk-black) !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 16px 40px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.et_pb_contact_submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(212, 168, 83, 0.4) !important;
}

/* ============================================
   FOOTER
   ============================================ */

#main-footer {
    background: var(--dk-black) !important;
    border-top: 1px solid rgba(212, 168, 83, 0.1) !important;
}

#main-footer .et_pb_widget {
    color: var(--dk-gray-light) !important;
}

#main-footer .et_pb_widget h4 {
    font-family: var(--font-serif) !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    margin-bottom: 20px !important;
}

#main-footer .et_pb_widget a {
    color: var(--dk-gray) !important;
    transition: color 0.3s ease !important;
}

#main-footer .et_pb_widget a:hover {
    color: var(--dk-gold) !important;
}

#footer-bottom {
    background: rgba(0, 0, 0, 0.3) !important;
    border-top: 1px solid rgba(212, 168, 83, 0.05) !important;
    padding: 20px 0 !important;
}

#footer-info {
    color: var(--dk-gray) !important;
    font-size: 0.85rem !important;
}

/* ============================================
   SIDEBAR & WIDGETS
   ============================================ */

.et_pb_widget_area {
    background: rgba(26, 26, 26, 0.5) !important;
    border: 1px solid rgba(212, 168, 83, 0.1) !important;
    border-radius: 16px !important;
    padding: 30px !important;
}

.et_pb_widget_area .widgettitle {
    font-family: var(--font-serif) !important;
    color: #ffffff !important;
    font-size: 1.1rem !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(212, 168, 83, 0.2) !important;
}

.et_pb_widget_area li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 10px 0 !important;
}

.et_pb_widget_area li a {
    color: var(--dk-gray-light) !important;
    transition: color 0.3s ease !important;
}

.et_pb_widget_area li a:hover {
    color: var(--dk-gold) !important;
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.et_pb_section.et_pb_section_animated .et_pb_row {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Image Hover Zoom */
.et_pb_image img,
.et_pb_post .et_pb_image_container img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.et_pb_image:hover img,
.et_pb_post:hover .et_pb_image_container img {
    transform: scale(1.05) !important;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 980px) {
    #main-header {
        background: rgba(10, 10, 10, 0.98) !important;
    }

    .et_pb_section {
        padding: 60px 0 !important;
    }

    .et_pb_blurb {
        padding: 24px !important;
    }

    .single-post .et_pb_post .entry-title {
        font-size: 2rem !important;
    }
}

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

    h2 {
        font-size: 1.75rem !important;
    }

    .et_pb_button {
        padding: 12px 24px !important;
        font-size: 12px !important;
    }

    .et_pb_contact_form {
        padding: 24px !important;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.dk-glass {
    background: rgba(26, 26, 26, 0.7) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(212, 168, 83, 0.1) !important;
}

.dk-gradient-bg {
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.1) 0%, rgba(232, 93, 4, 0.1) 100%) !important;
}

.dk-text-gold {
    color: var(--dk-gold) !important;
}

.dk-text-orange {
    color: var(--dk-orange) !important;
}
