/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-accent: #e22658;
    --color-primary: #000000;
    --color-secondary: #6d6d6d;
    --color-background: #ffffff;
    --color-text: #000000;
    --color-border: #dbdbdb;
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --max-width: 1200px;
    --spacing-unit: 1rem;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-accent);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-unit);
    color: var(--color-primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-unit);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #cd2653;
}

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

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Header */
.site-header {
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem var(--spacing-unit);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.site-logo a {
    color: var(--color-primary);
    text-decoration: none;
}

.logo-text {
    display: inline-block;
    max-width: 120px;
    height: auto;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Navigation */
.primary-navigation {
    width: 100%;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-menu.active {
    max-height: 500px;
    margin-top: 1rem;
}

.nav-menu li {
    border-bottom: 1px solid var(--color-border);
}

.nav-menu li:last-child {
    border-bottom: none;
}

.nav-menu a {
    display: block;
    padding: 0.75rem 0;
    color: var(--color-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-accent);
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero-section {
    padding: 3rem var(--spacing-unit);
    text-align: center;
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto 2rem;
}

.hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-image {
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Page Header */
.page-header {
    padding: 3rem var(--spacing-unit) 2rem;
    text-align: center;
    background-color: #f8f8f8;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 0;
}

/* Content Section */
.content-section {
    padding: 3rem var(--spacing-unit);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-text {
    font-size: 1.125rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.content-column {
    padding: 1.5rem;
    background-color: #f8f8f8;
    border-radius: 8px;
}

/* Blog Posts */
.blog-posts {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post {
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.post-meta {
    color: var(--color-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Contact */
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    padding: 0.5rem 1rem;
    background-color: var(--color-accent);
    color: white;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #cd2653;
}

/* Footer */
.site-footer {
    background-color: #f8f8f8;
    border-top: 1px solid var(--color-border);
    padding: 2rem var(--spacing-unit);
    margin-top: 4rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-social {
    width: 100%;
}

.social-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.social-menu a {
    display: block;
    color: var(--color-secondary);
    transition: color 0.3s ease;
}

.social-menu a:hover {
    color: var(--color-accent);
}

.social-menu svg {
    width: 24px;
    height: 24px;
}

.footer-text {
    text-align: center;
    color: var(--color-secondary);
    font-size: 0.9rem;
}

/* Tablet Styles */
@media (min-width: 768px) {
    html {
        font-size: 17px;
    }

    .header-titles-wrapper {
        width: auto;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .primary-navigation {
        width: auto;
    }

    .nav-menu {
        flex-direction: row;
        max-height: none;
        gap: 2rem;
        margin: 0;
    }

    .nav-menu li {
        border-bottom: none;
    }

    .nav-menu a {
        padding: 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-section {
        padding: 4rem var(--spacing-unit);
    }

    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-title {
        font-size: 3rem;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    :root {
        --spacing-unit: 2rem;
    }

    html {
        font-size: 18px;
    }

    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-section {
        padding: 5rem var(--spacing-unit);
    }

    .content-section {
        padding: 4rem var(--spacing-unit);
    }

    .page-header {
        padding: 4rem var(--spacing-unit) 3rem;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .hero-title {
        font-size: 4rem;
    }
}

