/*
Theme Name: Amber Communications
Theme URI: https://ambercommunications.com.au
Author: Amber Communications
Description: Strategic Communications for Inclusive Growth. Custom theme featuring the Maasai collar motif.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: amber-theme
*/

:root {
    --burgundy: #6B2D3C;
    --burgundy-dark: #4A1F2A;
    --amber: #D4730F;
    --amber-light: #F5A623;
    --gold: #F5C542;
    --cream: #FFFBF7;
    --blush: #FFF8F5;
    --charcoal: #2C1810;
    --warm-grey: #5C4A42;
    --soft-grey: #8A7A72;
    --border: rgba(107, 45, 60, 0.1);
    --shadow: rgba(107, 45, 60, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--charcoal);
}

a { color: var(--burgundy); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--amber); }
img { max-width: 100%; height: auto; }

/* HEADER */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 251, 247, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.logo-mark { width: 44px; height: 32px; }

.site-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--burgundy);
}

.main-navigation ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0; padding: 0;
}

.main-navigation a {
    color: var(--warm-grey);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--amber);
    transition: width 0.3s;
}

.main-navigation a:hover::after { width: 100%; }

.nav-cta {
    background: var(--burgundy) !important;
    color: white !important;
    padding: 0.75rem 1.75rem !important;
    border-radius: 6px !important;
}

.nav-cta:hover {
    background: var(--burgundy-dark) !important;
    color: white !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--burgundy);
    margin: 5px 0;
}

/* HERO */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--blush) 0%, var(--cream) 100%);
}

.hero-decoration {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 200px;
    z-index: 0;
    opacity: 0.9;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.75rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.highlight { color: var(--burgundy); }

.hero-tagline {
    font-size: 1.2rem;
    color: var(--warm-grey);
    margin-bottom: 2.5rem;
    max-width: 520px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.btn-primary {
    display: inline-block;
    background: var(--burgundy);
    color: white;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--burgundy);
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 500;
    border: 1.5px solid var(--burgundy);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--burgundy);
    color: white;
}

.btn-white {
    display: inline-block;
    background: white;
    color: var(--burgundy);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    color: var(--burgundy);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--amber);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--soft-grey);
    margin-top: 0.5rem;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.collar-illustration {
    width: 100%;
    max-width: 450px;
}

/* SECTIONS */
.content-section {
    padding: 6rem 5%;
}

.bg-white { background: white; }
.bg-cream { background: var(--cream); }
.bg-blush { background: var(--blush); }
.bg-dark { background: var(--charcoal); color: white; }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: white; }
.bg-burgundy { background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%); color: white; }

.section-container { max-width: 1200px; margin: 0 auto; }
.section-container.narrow { max-width: 900px; }

.section-header { text-align: center; margin-bottom: 4rem; }

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    color: var(--amber);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.section-header h2 { font-size: clamp(2rem, 4vw, 2.75rem); }

/* DIVIDER */
.section-divider {
    width: 100%;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
}

.section-divider svg { width: 300px; height: auto; }

/* STAT BOX */
.stat-box {
    background: linear-gradient(135deg, var(--blush) 0%, var(--cream) 100%);
    padding: 2.5rem 3rem;
    border-radius: 16px;
    margin: 2rem 0;
    border-left: 4px solid var(--amber);
}

.stat-box p { font-size: 1.25rem; line-height: 1.7; }
.stat-box strong { color: var(--burgundy); }

/* CARDS */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.cards-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.cards-grid.four-col { grid-template-columns: repeat(4, 1fr); }

.card {
    background: white;
    padding: 2.25rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--burgundy) 0%, var(--amber) 50%, var(--gold) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px var(--shadow);
}

.card:hover::before { transform: scaleX(1); }

.card-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--blush) 0%, var(--cream) 100%);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--warm-grey);
    font-size: 0.9rem;
    line-height: 1.7;
}

.card.card-blush {
    background: var(--blush);
    border: none;
}

.card.card-blush::before { display: none; }

.card.card-dark {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.08);
}

.card.card-dark:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(212,115,15,0.3);
}

.card.card-dark h3, .card.card-dark h4 { color: var(--amber); }
.card.card-dark p { color: rgba(255,255,255,0.8); }

/* FEATURED BOX */
.featured-box {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    padding: 3.5rem 4rem;
    border-radius: 24px;
    color: white;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.featured-box::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 300px; height: 300px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20,80 Q100,20 180,80' stroke='%23D4730F' stroke-width='8' fill='none' opacity='0.3'/%3E%3Ccircle cx='60' cy='55' r='8' fill='%23F5A623' opacity='0.4'/%3E%3Ccircle cx='100' cy='35' r='10' fill='%23F5A623' opacity='0.5'/%3E%3Ccircle cx='140' cy='55' r='8' fill='%23F5A623' opacity='0.4'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    opacity: 0.6;
}

.featured-box h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: white;
    position: relative;
}

.featured-box > p {
    font-size: 1.05rem;
    opacity: 0.9;
    line-height: 1.8;
    max-width: 700px;
    margin-bottom: 1.5rem;
    position: relative;
}

.featured-box ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem 2rem;
    list-style: none;
    padding: 0; margin: 0;
    position: relative;
}

.featured-box li {
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

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

/* TEAM GRID */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.team-member {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
}

.team-photo {
    width: 200px;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.team-photo::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--burgundy) 0%, var(--amber) 50%, var(--gold) 100%);
    z-index: 10;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--blush) 0%, white 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--soft-grey);
    font-size: 0.75rem;
    text-align: center;
    padding: 1rem;
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--amber);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-info p {
    color: var(--warm-grey);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.credential {
    background: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--warm-grey);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.credential:hover {
    border-color: var(--amber);
    color: var(--burgundy);
}

/* CTA */
.cta-section {
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 200px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20,90 Q200,10 380,90' stroke='%23D4730F' stroke-width='6' fill='none' opacity='0.2'/%3E%3Cpath d='M40,90 Q200,25 360,90' stroke='%23F5A623' stroke-width='4' fill='none' opacity='0.15'/%3E%3Ccircle cx='120' cy='60' r='8' fill='%23F5A623' opacity='0.2'/%3E%3Ccircle cx='200' cy='35' r='12' fill='%23F5A623' opacity='0.25'/%3E%3Ccircle cx='280' cy='60' r='8' fill='%23F5A623' opacity='0.2'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.cta-container {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1.25rem;
    color: white;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2.25rem;
    line-height: 1.7;
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form { max-width: 100%; }

.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--charcoal);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--amber);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: 0.5rem;
}

.contact-item p, .contact-item a {
    color: var(--warm-grey);
    line-height: 1.6;
}

/* FOOTER */
.site-footer {
    padding: 4rem 5% 2rem;
    background: var(--charcoal);
    color: white;
}

.footer-decoration {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 2rem;
    text-align: center;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand .site-title {
    color: white;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.7;
    max-width: 260px;
}

.footer-column h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: white;
}

.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column li { margin-bottom: 0.6rem; }
.footer-column a { color: rgba(255,255,255,0.65); font-size: 0.85rem; }
.footer-column a:hover { color: var(--amber); }

.footer-bottom {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* WORDPRESS EDITOR */
.entry-content h2 { margin: 2rem 0 1rem; font-size: 1.75rem; }
.entry-content h3 { margin: 1.75rem 0 0.75rem; font-size: 1.35rem; }
.entry-content p { margin-bottom: 1rem; color: var(--warm-grey); }
.entry-content ul, .entry-content ol { margin-bottom: 1rem; padding-left: 1.5rem; color: var(--warm-grey); }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content strong { color: var(--charcoal); }
.entry-content a { color: var(--burgundy); text-decoration: underline; }
.entry-content a:hover { color: var(--amber); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-tagline { margin: 0 auto 2.5rem; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .cards-grid, .cards-grid.four-col { grid-template-columns: repeat(2, 1fr); }
    .featured-box ul { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .team-member { grid-template-columns: 150px 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .site-header { padding: 1rem 5%; }
    .main-navigation { display: none; }
    .menu-toggle { display: block; }
    .cards-grid, .cards-grid.two-col, .cards-grid.four-col { grid-template-columns: 1fr; }
    .team-member { grid-template-columns: 1fr; text-align: center; }
    .team-photo { margin: 0 auto; }
    .credentials { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
    .featured-box { padding: 2rem 1.5rem; }
}
