/*
Theme Name: Sovereign Editorial
Author: Antigravity
Description: Custom WordPress theme built for a Law Firm based on the provided design.
Version: 1.0.1
Text Domain: sovereign-editorial
*/

:root {
  --primary-color: #c49a5b;
  --primary-dark: #b88a4c;
  --secondary-color: #0a1f33;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

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

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style-type: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: none;
  text-align: center;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-dark {
    background-color: var(--secondary-color);
    color: #fff;
}
.btn-dark:hover {
    background-color: #06121d;
}

.text-gold { color: var(--primary-color); }
.text-center { text-align: center; }
.section-padding { padding: 80px 0; }

/* Global Header */
.site-header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 100;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.site-logo .logo-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-dark);
    margin: 0;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}
.header-menu {
    display: flex;
    gap: 25px;
}
.header-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}
.header-menu a:hover {
    color: var(--primary-color);
}
.contact-phone {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}
.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Global Footer */
.site-footer {
    background: #fbfbfb;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}
.site-footer .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-logo-area .footer-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 15px;
}
.footer-logo-area p {
    font-size: 14px;
    max-width: 300px;
}
.footer-widget h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: var(--font-body);
}
.footer-widget ul li {
    margin-bottom: 12px;
}
.footer-widget ul li a {
    font-size: 14px;
    color: var(--text-light);
}
.footer-widget ul li a:hover {
    color: var(--primary-color);
}
.footer-contact p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    font-size: 12px;
    color: var(--text-light);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}
.mobile-menu-close {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-dark);
    cursor: pointer;
    position: absolute;
    top: 25px;
    right: 25px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }
    .site-header .container {
        flex-direction: row; /* Keep logo and toggle side-by-side */
    }
    .header-nav {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 320px;
        max-width: 100%;
        height: 100vh;
        background: #fff;
        z-index: 9999;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 40px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.15);
        transition: transform 0.3s ease;
    }
    .header-nav.active {
        transform: translateX(0);
    }
    .mobile-menu-close {
        display: block;
    }
    .header-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin-bottom: 40px;
    }
    .header-cta {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .header-cta > div {
        text-align: left;
    }
    .site-footer .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-footer .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .hero { padding: 60px 0; }
    .section-padding { padding: 40px 0; }
}
