/* 
   Rupvora - Fantasy RPG Blog Styles
   Theme: Epic fantasy with cinematic visuals and glowing gold elements
*/

/* ---------- Base Styles ---------- */
:root {
    /* Color Palette */
    --primary-color: #9b7025;         /* Gold */
    --primary-light: #d4af37;         /* Light Gold */
    --primary-dark: #785618;          /* Dark Gold */
    --secondary-color: #2d1c4a;       /* Deep Purple */
    --secondary-light: #4a2e7d;       /* Medium Purple */
    --secondary-dark: #1a0f2c;        /* Very Dark Purple */
    --accent-color: #c93c20;          /* Crimson */
    --dark-color: #1e1a2b;            /* Near Black */
    --light-color: #f8f5e9;           /* Off-White */
    --gray-light: #e0ddd5;            /* Light Gray */
    --gray-medium: #a9a5b0;           /* Medium Gray */
    --gray-dark: #5a5766;             /* Dark Gray */
    
    /* Fonts */
    --title-font: 'Cinzel', serif;
    --body-font: 'Raleway', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Border Radius */
    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --radius-round: 50%;
    
    /* Box Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 0 15px rgba(212, 175, 55, 0.5);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-med: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: var(--body-font);
    color: var(--dark-color);
    background-color: var(--light-color);
    line-height: 1.6;
}

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

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

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--title-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-dark);
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ---------- Button Styles ---------- */
.cta-button, 
.submit-button, 
button[type="submit"] {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--light-color);
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--title-font);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before, 
.submit-button::before, 
button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.cta-button:hover, 
.submit-button:hover, 
button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md), var(--shadow-gold);
}

.cta-button:hover::before, 
.submit-button:hover::before, 
button[type="submit"]:hover::before {
    left: 100%;
}

.cta-button:active, 
.submit-button:active, 
button[type="submit"]:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.read-more {
    display: inline-block;
    font-family: var(--title-font);
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    padding-right: 20px;
    transition: color var(--transition-fast);
}

.read-more::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform var(--transition-fast);
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more:hover::after {
    transform: translate(5px, -50%);
}

/* ---------- Header & Navigation ---------- */
header {
    background-color: rgba(30, 26, 43, 0.9);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(5px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

nav ul {
    display: flex;
    gap: var(--spacing-md);
}

nav a {
    color: var(--light-color);
    font-family: var(--title-font);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem;
    position: relative;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: width var(--transition-med), left var(--transition-med);
}

nav a:hover::before,
nav a.active::before {
    width: 100%;
    left: 0;
}

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

/* ---------- Hero Section ---------- */
.hero {
    background-image: linear-gradient(rgba(30, 26, 43, 0.8), rgba(30, 26, 43, 0.8)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    text-align: center;
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--light-color);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    color: var(--gray-light);
}

/* ---------- Featured Posts Section ---------- */
.featured-posts {
    padding: var(--spacing-lg) 0;
    background-color: var(--light-color);
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.featured-posts h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    margin: var(--spacing-sm) auto 0;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.post-card {
    background-color: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), 0 0 15px rgba(212, 175, 55, 0.3);
}

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

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

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

.post-content {
    padding: var(--spacing-md);
}

.post-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-dark);
}

.post-content p {
    color: var(--gray-dark);
    margin-bottom: var(--spacing-md);
}

/* ---------- Comparison Table Section ---------- */
.comparison-table {
    padding: var(--spacing-lg) 0;
    background-color: var(--secondary-dark);
    color: var(--light-color);
}

.comparison-table h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--light-color);
    position: relative;
}

.comparison-table h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    margin: var(--spacing-sm) auto 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

th {
    background-color: var(--primary-dark);
    color: var(--light-color);
    padding: var(--spacing-sm);
    text-align: left;
    font-family: var(--title-font);
    font-weight: 600;
}

td {
    padding: var(--spacing-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.03);
}

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

tr:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

/* ---------- CTA Section ---------- */
.cta-section {
    background-image: linear-gradient(rgba(30, 26, 43, 0.9), rgba(30, 26, 43, 0.9)), url('images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    text-align: center;
    padding: var(--spacing-lg) 0;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--light-color);
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
    color: var(--gray-light);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: var(--spacing-sm);
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--body-font);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.newsletter-form input:focus {
    border-color: var(--primary-light);
}

/* ---------- Blog Page Styles ---------- */
.blog-hero {
    background-image: linear-gradient(rgba(30, 26, 43, 0.85), rgba(30, 26, 43, 0.85)), url('images/blog-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    text-align: center;
    padding: var(--spacing-lg) 0;
    position: relative;
}

.blog-hero h1 {
    color: var(--light-color);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.blog-hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.blog-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.blog-content {
    padding: var(--spacing-lg) 0;
    display: flex;
    flex-wrap: wrap;
}

.blog-grid {
    flex: 3;
    min-width: 300px;
}

.sidebar {
    flex: 1;
    min-width: 250px;
    margin-left: var(--spacing-lg);
}

.blog-card {
    display: flex;
    margin-bottom: var(--spacing-lg);
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 0 15px rgba(212, 175, 55, 0.3);
}

.blog-image {
    flex: 1;
    min-width: 200px;
    overflow: hidden;
}

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

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

.blog-text {
    flex: 2;
    padding: var(--spacing-md);
}

.blog-text h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.blog-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.blog-meta .date, 
.blog-meta .category {
    display: flex;
    align-items: center;
}

.sidebar-widget {
    background-color: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--gray-light);
    position: relative;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.categories ul li {
    margin-bottom: var(--spacing-xs);
    position: relative;
    padding-left: 20px;
}

.categories ul li::before {
    content: '>';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    transition: transform var(--transition-fast);
}

.categories ul li:hover::before {
    transform: translateX(5px);
}

.popular-posts ul li {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    gap: var(--spacing-sm);
}

.popular-posts img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.subscribe form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.subscribe input {
    padding: 10px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
}

/* ---------- About Page Styles ---------- */
.about-hero {
    background-image: linear-gradient(rgba(30, 26, 43, 0.85), rgba(30, 26, 43, 0.85)), url('images/about-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    text-align: center;
    padding: var(--spacing-lg) 0;
    position: relative;
}

.about-hero h1 {
    color: var(--light-color);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.about-hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.about-story {
    padding: var(--spacing-lg) 0;
    background-color: var(--light-color);
}

.about-columns {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.about-columns.reverse {
    flex-direction: row-reverse;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h2 {
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.about-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    margin-top: var(--spacing-xs);
}

.team-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--secondary-dark);
    color: var(--light-color);
}

.team-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--light-color);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.1rem;
}

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

.team-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    padding-bottom: var(--spacing-md);
    text-align: center;
    transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md), 0 0 20px rgba(212, 175, 55, 0.2);
}

.team-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.team-card h3 {
    margin-top: var(--spacing-sm);
    color: var(--primary-light);
}

.team-card p {
    padding: 0 var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.team-card p:nth-of-type(1) {
    color: var(--primary-light);
    font-weight: bold;
    font-family: var(--title-font);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-round);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

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

.values-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--light-color);
}

.values-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.value-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 0 15px rgba(212, 175, 55, 0.3);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-round);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--light-color);
}

/* ---------- Contact Page Styles ---------- */
.contact-hero {
    background-image: linear-gradient(rgba(30, 26, 43, 0.85), rgba(30, 26, 43, 0.85)), url('images/contact-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    text-align: center;
    padding: var(--spacing-lg) 0;
    position: relative;
}

.contact-hero h1 {
    color: var(--light-color);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.contact-hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.contact-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-content {
    padding: var(--spacing-lg) 0;
    background-color: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
}

.contact-form-container {
    background-color: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.contact-form-container h2 {
    margin-bottom: var(--spacing-md);
    position: relative;
}

.contact-form-container h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    margin-top: var(--spacing-xs);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.contact-info-container {
    background-color: var(--secondary-dark);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    color: var(--light-color);
    box-shadow: var(--shadow-md);
}

.contact-info-container h2 {
    color: var(--light-color);
    margin-bottom: var(--spacing-md);
    position: relative;
}

.contact-info-container h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    margin-top: var(--spacing-xs);
}

.contact-detail {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.contact-icon {
    color: var(--primary-light);
    min-width: 24px;
}

.contact-text h3 {
    color: var(--primary-light);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.social-connect {
    margin-top: var(--spacing-lg);
}

.social-connect h3 {
    color: var(--light-color);
    margin-bottom: var(--spacing-sm);
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-round);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

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

.map-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--gray-light);
}

.map-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

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

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

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

.close-button:hover {
    color: var(--primary-color);
}

.thank-you-content svg {
    color: var(--primary-color);
    margin: 0 auto var(--spacing-md);
}

.thank-you-content h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.thank-you-content p {
    margin-bottom: var(--spacing-md);
}

.close-modal-button {
    padding: 10px 24px;
    background-color: var(--secondary-dark);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.close-modal-button:hover {
    background-color: var(--secondary-light);
}

/* ---------- Footer ---------- */
footer {
    background-color: var(--dark-color);
    color: var(--gray-light);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.footer-logo {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.footer-logo img {
    height: 80px;
    margin: 0 auto;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.footer-logo p {
    font-family: var(--title-font);
    color: var(--primary-light);
    margin-top: var(--spacing-sm);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-column h4 {
    color: var(--light-color);
    margin-bottom: var(--spacing-md);
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    color: var(--gray-medium);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-contact {
    max-width: 400px;
    margin: 0 auto var(--spacing-lg);
}

.footer-contact h4 {
    color: var(--light-color);
    margin-bottom: var(--spacing-md);
    position: relative;
    text-align: center;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--spacing-sm);
}

.footer-contact svg {
    color: var(--primary-light);
    flex-shrink: 0;
}

.copyright {
    text-align: center;
    color: var(--gray-medium);
    font-size: 0.9rem;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Cookie Consent ---------- */
.cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-dark);
    color: var(--light-color);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

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

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

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

.cookie-button {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border: none;
}

.cookie-button.accept {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.cookie-button.customize {
    background-color: transparent;
    border: 1px solid var(--gray-medium);
    color: var(--light-color);
}

.cookie-button.decline {
    background-color: transparent;
    color: var(--gray-medium);
}

.cookie-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.cookie-link {
    margin-left: 10px;
    color: var(--primary-light);
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-columns {
        flex-direction: column;
    }
    
    .about-columns.reverse {
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .blog-card {
        flex-direction: column;
    }
    
    .blog-image {
        height: 200px;
    }
    
    .blog-content {
        flex-direction: column;
    }
    
    .sidebar {
        margin-left: 0;
        margin-top: var(--spacing-lg);
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}
