/* 
   FinnCasino - Social Casino Games Website
   Main Stylesheet
*/

/* ===== BASE STYLES ===== */
:root {
    --primary-color: #005EB8; /* Finnish blue */
    --secondary-color: #FFFFFF; /* White */
    --accent-color: #FFCD00; /* Finnish gold */
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #666666;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --font-family: 'Poppins', sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

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

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

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

a:hover {
    color: #004a8f; /* Darker blue for hover state */
}

ul {
    list-style-type: none;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--dark-gray);
    text-align: center;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: #004a8f;
    color: white;
}

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

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

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(0, 94, 184, 0.8), rgba(0, 94, 184, 0.8)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

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

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* ===== LATEST POSTS SECTION ===== */
.latest-posts {
    padding: 80px 0;
}

.latest-posts h2 {
    text-align: center;
    margin-bottom: 50px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background-color: white;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.post-image {
    height: 200px;
    overflow: hidden;
}

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

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

.post-content {
    padding: 20px;
}

.post-content h3 {
    margin-bottom: 10px;
}

.post-date {
    color: var(--dark-gray);
    font-size: 0.875rem;
    margin-bottom: 15px;
}

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

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(rgba(0, 94, 184, 0.9), rgba(0, 94, 184, 0.9)), url('images/2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    color: white;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.125rem;
    margin-bottom: 30px;
}

.cta .btn-primary {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.cta .btn-primary:hover {
    background-color: #e6b800;
}

/* ===== FOOTER ===== */
footer {
    background-color: #222;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    grid-column: span 2;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-links h3, .footer-social h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
}

.footer-social .social-icons a {
    color: #ccc;
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-social .social-icons a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

address {
    font-style: normal;
    margin-top: 15px;
    line-height: 1.8;
}

address a {
    color: #ccc;
}

address a:hover {
    color: white;
}

/* ===== BLOG PAGE ===== */
.page-header {
    background: linear-gradient(rgba(0, 94, 184, 0.8), rgba(0, 94, 184, 0.8)), url('images/3.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
}

.page-header h2 {
    color: white;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.125rem;
}

.page-header p a {
    color: white;
    text-decoration: underline;
}

.blog-content {
    padding-bottom: 80px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background-color: white;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-text {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-text h3 {
    margin-bottom: 10px;
}

.blog-meta {
    color: var(--dark-gray);
    font-size: 0.875rem;
    margin-bottom: 15px;
}

.blog-text p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-text .btn-secondary {
    align-self: flex-start;
    margin-top: auto;
}

/* ===== BLOG POST PAGE ===== */
.blog-post {
    padding-bottom: 80px;
}

.blog-post .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.post-content {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.post-header {
    padding: 30px 30px 0;
}

.post-header h2 {
    margin-bottom: 15px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: var(--dark-gray);
    font-size: 0.875rem;
}

.post-categories {
    display: flex;
    gap: 10px;
}

.category {
    background-color: var(--light-gray);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.post-featured-image {
    margin-bottom: 30px;
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-body {
    padding: 0 30px 30px;
}

.post-body h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-body p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.post-body ul, .post-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-body ul li, .post-body ol li {
    margin-bottom: 10px;
}

.post-body ul {
    list-style-type: disc;
}

.post-body ol {
    list-style-type: decimal;
}

.post-share {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    border-top: 1px solid var(--medium-gray);
}

.post-share p {
    margin-right: 15px;
    margin-bottom: 0;
    font-weight: 500;
}

.social-share {
    display: flex;
    gap: 15px;
}

.social-share a {
    color: var(--dark-gray);
    transition: var(--transition);
}

.social-share a:hover {
    color: var(--primary-color);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    border-top: 1px solid var(--medium-gray);
}

.nav-previous, .nav-next {
    max-width: 45%;
}

.nav-previous a, .nav-next a {
    display: flex;
    flex-direction: column;
}

.nav-label {
    font-size: 0.875rem;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.nav-title {
    font-weight: 500;
}

.nav-previous a {
    align-items: flex-start;
}

.nav-next a {
    align-items: flex-end;
    text-align: right;
}

.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
}

.recent-posts li, .categories li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--light-gray);
}

.recent-posts li:last-child, .categories li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-form input {
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
}

.related-posts {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-card h3 {
    padding: 20px 20px 10px;
    margin-bottom: 0;
}

.related-card p {
    padding: 0 20px;
    margin-bottom: 20px;
}

.related-card .btn-secondary {
    margin: 0 20px 20px;
}

/* Additional blog post styling elements */
.info-box, .quote-box, .disclaimer-box {
    margin: 30px 0;
    padding: 25px;
    border-radius: var(--border-radius);
}

.info-box {
    background-color: #e6f7ff;
    border-left: 4px solid var(--info-color);
}

.quote-box {
    background-color: var(--light-gray);
    font-style: italic;
}

.quote-box blockquote {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.quote-box cite {
    display: block;
    text-align: right;
    font-weight: 500;
}

.disclaimer-box {
    background-color: #fff8e6;
    border-left: 4px solid var(--warning-color);
}

.disclaimer-box p {
    margin-bottom: 10px;
}

.disclaimer-box p:last-child {
    margin-bottom: 0;
}

.game-highlight, .community-highlight {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

.game-highlight h4, .community-highlight h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.game-screenshot {
    margin: 30px 0;
}

.game-screenshot img {
    width: 100%;
    border-radius: var(--border-radius);
}

.caption {
    font-size: 0.875rem;
    color: var(--dark-gray);
    text-align: center;
    margin-top: 10px;
}

.comparison-table {
    margin: 30px 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    text-align: left;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--light-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.benefit-item {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.benefit-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.feature-item {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.game-features {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.game-features h4 {
    margin-bottom: 15px;
}

.game-features ul {
    list-style-type: disc;
    padding-left: 20px;
}

.game-features li {
    margin-bottom: 10px;
}

.announcement-box {
    background-color: #e6f0ff;
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 25px 0;
    border-left: 4px solid var(--primary-color);
}

.announcement-box h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.tip-card {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
}

.tip-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.tip-card h4 {
    margin-bottom: 10px;
}

.self-assessment {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 30px 0;
}

.self-assessment h3 {
    margin-bottom: 15px;
}

.self-assessment ul {
    list-style-type: disc;
    padding-left: 25px;
}

.intro-box {
    background-color: #f0f8ff;
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

.intro-box h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* ===== ABOUT PAGE ===== */
.about-intro {
    padding: 50px 0 80px;
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
}

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

.mission-values {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.mission-values h2 {
    text-align: center;
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.value-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.team-section {
    padding: 80px 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 15px;
}

.section-intro {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 50px;
    font-size: 1.125rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
}

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

.team-member img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
}

.team-member h3 {
    margin-bottom: 5px;
}

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

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.member-social a {
    color: var(--dark-gray);
}

.member-social a:hover {
    color: var(--primary-color);
}

.disclaimer-section {
    background-color: #fff8e6;
    padding: 60px 0;
}

.disclaimer-content h2 {
    text-align: center;
    margin-bottom: 30px;
}

.disclaimer-box {
    max-width: 900px;
    margin: 0 auto;
}

.join-team {
    padding: 80px 0;
    text-align: center;
    background-color: var(--light-gray);
}

.join-content {
    max-width: 700px;
    margin: 0 auto;
}

.join-content h2 {
    margin-bottom: 20px;
}

.join-content p {
    margin-bottom: 30px;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    padding: 50px 0 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3, .contact-form-container h3 {
    margin-bottom: 25px;
}

.contact-info p {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.info-content h4 {
    margin-bottom: 5px;
}

.info-content p {
    margin-bottom: 5px;
}

.info-box {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 30px;
}

.info-box h4 {
    margin-bottom: 10px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.map-section {
    padding-bottom: 80px;
}

.map-section h3 {
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-section {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.faq-section h3 {
    text-align: center;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.faq-item h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    position: relative;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
}

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

.thank-you-message svg {
    color: var(--success-color);
    font-size: 3rem;
    margin-bottom: 20px;
}

.thank-you-message h2 {
    margin-bottom: 15px;
}

.thank-you-message p {
    margin-bottom: 30px;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    flex: 1 1 300px;
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    border: none;
    font-family: var(--font-family);
    transition: var(--transition);
}

.accept {
    background-color: var(--success-color);
    color: white;
}

.accept:hover {
    background-color: #218838;
}

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

.customize:hover {
    background-color: #004a8f;
}

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

.decline:hover {
    background-color: #d3d3d3;
}

.cookie-policy-link {
    margin-left: 20px;
    text-decoration: underline;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        grid-row: 1;
        margin-bottom: 30px;
    }
    
    .about-text {
        grid-row: 2;
    }
    
    .blog-post .container {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 15px;
    }
    
    .hero {
        padding: 70px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .features, .latest-posts, .cta {
        padding: 60px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        grid-column: span 1;
    }
    
    .contact-form-container {
        order: -1;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero h2 {
        font-size: 1.75rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-categories {
        margin-top: 10px;
    }
}

/* Additional page-specific styles for About and Contact pages */
.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px;
    border: none;
    border-radius: var(--border-radius);
}

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

.social-links a:hover {
    text-decoration: underline;
}
