/* 
 * InvestČR - Main Stylesheet
 * Version: 1.0
 * Last Updated: June 2024
 */

/* -----------------------------
   Table of Contents:
   1. Base Styles & Reset
   2. Typography
   3. Layout & Grid
   4. Header & Navigation
   5. Hero Section
   6. Features
   7. Countdown Timer
   8. Comparison Table
   9. Blog Posts
  10. Post Content
  11. Forms & Inputs
  12. Buttons
  13. Footer
  14. Modal
  15. Cookie Banner
  16. Utilities
  17. Media Queries
----------------------------- */

/* 1. Base Styles & Reset
----------------------------- */
:root {
    --primary-color: #2e5fd0;
    --primary-dark: #1d4bba;
    --primary-light: #4575e6;
    --secondary-color: #34c759;
    --text-color: #333333;
    --text-light: #666666;
    --text-dark: #1a1a1a;
    --background-color: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #e9ecef;
    --border-color: #dddddd;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    --border-radius-sm: 4px;
    --border-radius-md: 6px;
    --border-radius-lg: 10px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-family-sans: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-family-serif: 'Merriweather', Georgia, 'Times New Roman', serif;
    --font-family-mono: 'Roboto Mono', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

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

img, video {
    max-width: 100%;
    height: auto;
}

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

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

ul, ol {
    list-style-position: inside;
}

/* 2. Typography
----------------------------- */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

h5 {
    font-size: 1.8rem;
}

h6 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 1.5rem;
}

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

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-light {
    color: var(--text-light);
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

/* 3. Layout & Grid
----------------------------- */
.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1.5rem;
}

.col {
    flex: 1 1 0;
    padding: 0 1.5rem;
}

section {
    padding: 6rem 0;
}

.page-header {
    padding: 5rem 0;
    text-align: center;
    background-color: var(--background-light);
    margin-bottom: 3rem;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.8rem;
    max-width: 60rem;
    margin: 0 auto;
}

/* 4. Header & Navigation
----------------------------- */
header {
    padding: 2rem 0;
    background-color: var(--background-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 4rem;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

nav a {
    font-weight: 500;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}

nav a:hover:after,
nav a.active:after {
    width: 100%;
}

nav a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* 5. Hero Section
----------------------------- */
.hero {
    padding: 8rem 0;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero h1 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 2rem;
    margin-bottom: 3rem;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* 6. Features
----------------------------- */
.features {
    background-color: var(--background-light);
}

.features h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 3rem;
}

.feature {
    background-color: var(--background-color);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
    text-align: center;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(46, 95, 208, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.feature h3 {
    margin-bottom: 1.5rem;
}

.feature p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* 7. Countdown Timer
----------------------------- */
.countdown {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.countdown h2 {
    color: white;
    margin-bottom: 3rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius-md);
    min-width: 10rem;
}

.countdown-item span:first-child {
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.2;
}

.countdown-item span:last-child {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

/* 8. Comparison Table
----------------------------- */
.comparison {
    background-color: var(--background-color);
}

.comparison h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.table-container {
    overflow-x: auto;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-md);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

thead th {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    text-align: left;
}

thead th:first-child {
    border-top-left-radius: var(--border-radius-md);
}

thead th:last-child {
    border-top-right-radius: var(--border-radius-md);
}

tbody tr {
    border-bottom: 1px solid var(--border-color);
}

tbody tr:last-child {
    border-bottom: none;
}

tbody td {
    padding: 1.5rem;
}

tbody tr:nth-child(even) {
    background-color: var(--background-light);
}

/* 9. Blog Posts
----------------------------- */
.recent-posts, .related-posts, .blog-posts {
    background-color: var(--background-light);
}

.recent-posts h2, .related-posts h2, .blog-posts h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
    gap: 3rem;
}

.full-grid {
    grid-template-columns: 1fr;
}

.post {
    background-color: var(--background-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.post:hover {
    transform: translateY(-5px);
}

.post-img {
    height: 24rem;
    overflow: hidden;
}

.post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.post:hover .post-img img {
    transform: scale(1.05);
}

.post-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-content h3 {
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.post-date {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.post-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.read-more {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.read-more:after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

.read-more:hover:after {
    transform: translateX(3px);
}

.center {
    text-align: center;
    margin-top: 4rem;
}

/* 10. Post Content
----------------------------- */
.blog-post {
    padding: 4rem 0;
}

.post-header {
    text-align: center;
    max-width: 80rem;
    margin: 0 auto 4rem;
}

.post-header h1 {
    margin-bottom: 1.5rem;
}

.post-meta {
    color: var(--text-light);
    font-size: 1.6rem;
}

.post-meta span {
    display: inline-block;
    margin: 0 1rem;
}

.post-featured-image {
    margin-bottom: 4rem;
    text-align: center;
}

.post-featured-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 100%;
}

.post-content {
    max-width: 80rem;
    margin: 0 auto;
}

.post-content h2,
.post-content h3 {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 1rem;
}

.post-content img {
    display: block;
    margin: 3rem auto;
    max-width: 100%;
    border-radius: var(--border-radius-md);
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem 2rem;
    background-color: var(--background-light);
    margin: 2rem 0;
    font-style: italic;
}

.post-tags {
    margin-top: 4rem;
    text-align: center;
}

.post-tags span {
    display: inline-block;
    margin-right: 1rem;
    font-weight: 700;
}

.post-tags a {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.5rem 1.5rem;
    background-color: var(--background-light);
    border-radius: 2rem;
    font-size: 1.4rem;
    color: var(--text-color);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

.share-post {
    margin-top: 4rem;
    text-align: center;
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius-lg);
}

.share-post h3 {
    margin-bottom: 1.5rem;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-share a {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--background-color);
    color: var(--text-color);
    border-radius: var(--border-radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.social-share a svg {
    margin-right: 1rem;
}

.social-share a:hover {
    transform: translateY(-3px);
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

/* 11. Forms & Inputs
----------------------------- */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-family: var(--font-family-sans);
    font-size: 1.6rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 95, 208, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-details {
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    margin-bottom: 3rem;
}

.contact-icon {
    margin-right: 2rem;
    width: 4rem;
    height: 4rem;
    background-color: rgba(46, 95, 208, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.contact-text h3 {
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: var(--text-light);
    margin-bottom: 0;
}

.social-contact {
    margin-top: 4rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--background-light);
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Map section */
.map {
    padding-top: 0;
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    border: none;
}

/* FAQ Accordion */
.accordion {
    margin-top: 4rem;
}

.accordion-item {
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-header {
    padding: 2rem;
    background-color: var(--background-light);
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.accordion-header:after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.4rem;
}

.accordion-header.active:after {
    content: '-';
}

.accordion-content {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    background-color: white;
}

.accordion-content p {
    padding: 2rem 0;
}

/* Newsletter */
.newsletter {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.newsletter h2,
.newsletter p {
    color: white;
}

.newsletter p {
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.newsletter .form-group {
    display: flex;
    max-width: 60rem;
    margin: 0 auto;
}

.newsletter input {
    flex: 1;
    margin-right: 1rem;
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
}

.newsletter button {
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

/* Team section */
.about-intro {
    padding-bottom: 4rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-top: 3rem;
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.values {
    background-color: var(--background-light);
}

.values h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 3rem;
}

.value {
    background-color: var(--background-color);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.value-icon {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(46, 95, 208, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.team {
    padding: 8rem 0;
}

.team h2 {
    text-align: center;
    margin-bottom: 5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
    gap: 4rem;
}

.team-member {
    text-align: center;
    background-color: var(--background-light);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 5px solid white;
    box-shadow: var(--shadow-md);
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.testimonials {
    background-color: var(--background-color);
    padding: 8rem 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 5rem;
}

.testimonial-slider {
    max-width: 80rem;
    margin: 0 auto;
}

.testimonial {
    text-align: center;
}

.testimonial-content {
    background-color: var(--background-light);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    position: relative;
}

.testimonial-content:after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    border: 1rem solid transparent;
    border-top-color: var(--background-light);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.8rem;
    line-height: 1.6;
}

.testimonial-author {
    margin-top: 4rem;
}

.testimonial-author h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.testimonial-author p {
    color: var(--text-light);
}

/* 12. Buttons
----------------------------- */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    border-radius: var(--border-radius-md);
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: white;
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background-color: var(--background-light);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--background-dark);
    color: var(--text-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

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

/* 13. Footer
----------------------------- */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 6rem 0 2rem;
}

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

.footer-logo img {
    height: 4rem;
    margin-bottom: 1.5rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h3,
.footer-legal h3,
.footer-contact h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 1rem;
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: white;
    text-decoration: none;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact .icon {
    margin-right: 1rem;
    display: inline-flex;
    align-items: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-bottom .social-icons {
    margin-top: 0;
}

.footer-bottom .social-icons a {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom .social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.4rem;
    margin-bottom: 0;
}

/* 14. Modal
----------------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--background-color);
    margin: 10% auto;
    padding: 4rem;
    border-radius: var(--border-radius-lg);
    max-width: 50rem;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
}

.thank-you-content {
    text-align: center;
}

.check-icon {
    color: var(--success-color);
    margin-bottom: 2rem;
}

.thank-you-content h2 {
    margin-bottom: 1.5rem;
}

.thank-you-content p {
    margin-bottom: 3rem;
    color: var(--text-light);
}

/* 15. Cookie Banner
----------------------------- */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.cookie-content {
    max-width: 120rem;
    margin: 0 auto;
}

.cookie-buttons {
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-info {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* 16. Utilities
----------------------------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mt-5 { margin-top: 5rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mb-5 { margin-bottom: 5rem; }

.p-0 { padding: 0; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }
.p-4 { padding: 4rem; }
.p-5 { padding: 5rem; }

.hidden { display: none !important; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.rounded { border-radius: var(--border-radius-md); }
.rounded-lg { border-radius: var(--border-radius-lg); }

/* 17. Media Queries
----------------------------- */
@media (max-width: 1200px) {
    html {
        font-size: 60%;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem 6rem;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    .feature-grid,
    .post-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 56%;
    }
    
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 2rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 3.6rem;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .post-header h1 {
        font-size: 3rem;
    }
    
    .newsletter .form-group {
        flex-direction: column;
    }
    
    .newsletter input {
        margin-right: 0;
        margin-bottom: 1rem;
        border-radius: var(--border-radius-md);
    }
    
    .newsletter button {
        border-radius: var(--border-radius-md);
    }
}

@media (max-width: 576px) {
    html {
        font-size: 54%;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .post-meta span {
        display: block;
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .feature-grid,
    .post-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Merriweather:wght@400;700&display=swap');
