/* ========================================
        Base & Typography Styles
        ======================================== */
:root {
    /* Light Theme Colors */
    --bg-primary: #d6eaff;
    --bg-secondary: #ffffff;
    --bg-accent: rgba(91, 155, 213, 0.1);
    --text-primary: #374151;
    --text-secondary: #8c92ac;
    --text-accent: #5b9bd5;
    --border-primary: #e5e7eb;
    --border-secondary: #c9d1d9;
    --border-accent: #5b9bd5;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

body.dark {
    /* Dark Theme Colors */
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-accent: rgba(91, 155, 213, 0.15);
    --text-primary: #d1d5db;
    --text-secondary: #b0b8d8;
    --text-accent: #7eb4e6;
    --border-primary: #374151;
    --border-secondary: #4b5563;
    --border-accent: #7eb4e6;
    --shadow-color: rgba(0, 0, 0, 0.4);
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s, color 0.3s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    color: var(--text-accent);
}

.brand-name {
    font-family: "Cinzel Decorative", cursive;
    font-weight: 700;
}

p {
    line-height: 1.6;
}

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

.container {
    width: 90%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* ========================================
        Component & Layout Styles
        ======================================== */
/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 50;
    box-shadow: 0 1px 2px 0 var(--shadow-color);
    padding-block: 1rem;
    transition: top 0.3s;
    position: sticky;
    top: 0;
}

body.dark .header {
    background-color: rgba(31, 41, 55, 0.8);
}

body.dark .header-logo {
    filter: invert(95%);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-primary);
}

.header-logo {
    height: 5rem;
    margin-bottom: 0.25rem;
}

.brand-name {
    font-size: 1.25rem;
    line-height: 1;
}

/* Navigation */

.header-controls {
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Theme Toggle */
.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.5rem;
    border-radius: 9999px;
}

.theme-toggle-btn:hover {
    color: var(--text-accent);
}

.theme-toggle-btn .theme-icon {
    width: 1.5rem;
    height: 1.5rem;
}

#moon-icon {
    display: none;
}

body.dark #sun-icon {
    display: none;
}

body.dark #moon-icon {
    display: block;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px var(--shadow-color),
        0 2px 4px -1px var(--shadow-color);
    transform: scale(1);
    transition: transform 0.3s;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-primary {
    background-color: var(--border-accent);
    color: var(--bg-secondary);
}

body.dark .btn-primary {
    color: #111827;
}

.btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--border-accent);
    border: 2px solid var(--border-accent);
}

.btn-secondary:hover {
    background-color: var(--bg-primary);
}

/* Generic Section Styling */
.section {
    padding-block: 5rem;
}

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

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
}
/* Hero Section */
.hero-section {
    text-align: center;
    padding: 5rem 1.5rem;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        var(--bg-primary) 100%
    );
}

body.dark .hero-section {
    background: linear-gradient(
        180deg,
        rgba(17, 24, 39, 0) 0%,
        var(--bg-primary) 100%
    );
}

.hero-title {
    font-size: 2.25rem;
    line-height: 1.1;
    font-weight: 700;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-secondary);
    padding: 1rem 0.5rem;
    text-align: center;
    color: var(--text-secondary);
}

.footer-logo {
    height: 7rem;
}

body.dark .footer-logo {
    filter: invert(95%);
}

/* ========================================
        Responsive Styles
        ======================================== */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}
