/*
Theme Name: Dearmouring Arts
Theme URI: https://dearmouringarts.com
Description: Custom theme for Dearmouring Arts - Clean, fast, and completely independent of Divi
Version: 1.0.0
Author: Dearmouring Arts
Author URI: https://dearmouringarts.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dearmouring-arts
*/

/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #9e844c;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #7a6638;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* ========================================
   LAYOUT
   ======================================== */

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER
   ======================================== */

/* Secondary Navigation (Top Bar) */
.secondary-header {
    background: #9e844c;
    padding: 8px 0;
}

.secondary-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.secondary-navigation ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.secondary-navigation a {
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 400;
    padding: 6px 15px;
    display: block;
    transition: opacity 0.3s ease;
}

.secondary-navigation a:hover {
    opacity: 0.8;
}

/* Main Header */
.site-header {
    background: #fff;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    padding: 15px 0;
}

.site-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: #333;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 28px 18px;
    display: block;
    transition: color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: #9e844c;
}

/* Dropdown Menus */
.main-navigation ul li {
    position: relative;
}

.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 10px 0;
    flex-direction: column;
}

.main-navigation ul li:hover > ul {
    display: flex;
}

.main-navigation ul ul li {
    width: 100%;
}

.main-navigation ul ul a {
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
    color: #666;
}

.main-navigation ul ul a:hover {
    background: #f9f9f9;
    color: #9e844c;
}

/* Dropdown indicators */
.main-navigation .menu-item-has-children > a::after {
    content: '▾';
    margin-left: 6px;
    font-size: 10px;
}

/* Third level dropdowns */
.main-navigation ul ul ul {
    left: 100%;
    top: 0;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    background: #222;
    color: #aaa;
    padding: 40px 0 20px;
    margin-top: 0;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin-bottom: 20px;
}

.footer-menu a {
    color: #aaa;
    font-size: 14px;
}

.footer-menu a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: #666;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* ========================================
   HERO SECTION
   ======================================== */

.page-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px 120px;
    text-align: center;
    color: #fff;
    position: relative;
}

.page-hero h1 {
    font-size: 70px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-hero .subtitle {
    font-family: 'PT Serif', serif;
    font-size: 23px;
    font-style: italic;
    opacity: 0.95;
}

/* ========================================
   PAGE CONTENT
   ======================================== */

.page-content {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.page-content h2 {
    color: #333;
    margin-top: 40px;
}

.page-content h3 {
    color: #9e844c;
    margin-top: 30px;
}

.page-content ul,
.page-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.page-content li {
    margin-bottom: 10px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 20px 80px;
    }

    .page-hero h1 {
        font-size: 48px;
    }

    .page-hero .subtitle {
        font-size: 18px;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }

    .footer-menu {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
