/* GamePortraits Styles */
/* Base styles and variables */
:root {
    --primary-color: #6c5ce7;
    --primary-dark: #4834d4;
    --primary-light: #a29bfe;
    --secondary-color: #ff7675;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --background-light: #ffffff;
    --background-dark: #f1f2f6;
    --accent-color: #fdcb6e;
    --border-color: #dfe6e9;
    --success-color: #00b894;
    --error-color: #d63031;
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --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 10px 30px rgba(0,0,0,0.15);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --container-width: 1200px;
    --container-padding: 20px;
}

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

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.6rem;
}

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

ul {
    list-style: none;
}

button, input, textarea, select {
    font-family: var(--font-main);
    font-size: 1.6rem;
}

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

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-sm);
}

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

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

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

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

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

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

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

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 3rem;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.6rem;
    transition: all var(--transition-fast);
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

.hamburger-menu {
    display: none;
    cursor: pointer;
    width: 3rem;
    height: 2rem;
    position: relative;
}

.hamburger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-dark);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition-fast);
}

.hamburger-menu span:nth-child(1) {
    top: 0px;
}

.hamburger-menu span:nth-child(2) {
    top: 8px;
}

.hamburger-menu span:nth-child(3) {
    top: 16px;
}

.hamburger-menu.open span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.hamburger-menu.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger-menu.open span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    max-width: 50%;
}

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

/* Featured Posts Section */
.featured-posts {
    padding: 8rem 0;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.featured-posts h2::after {
    content: '';
    position: absolute;
    width: 6rem;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
}

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

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

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

.post-image {
    height: 20rem;
    overflow: hidden;
}

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

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

.post-content {
    padding: 2rem;
}

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

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

.read-more {
    font-weight: 600;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
}

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

.read-more:hover:after {
    margin-left: 1rem;
}

/* Quote of the Day Section */
.quote-of-the-day {
    background-color: var(--primary-color);
    padding: 6rem 0;
    color: white;
}

.quote-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-of-the-day h2 {
    margin-bottom: 3rem;
}

.quote-of-the-day blockquote {
    font-size: 2.2rem;
    line-height: 1.5;
    position: relative;
    padding: 0 4rem;
}

.quote-of-the-day blockquote::before {
    content: '"';
    font-size: 6rem;
    position: absolute;
    left: 0;
    top: -2rem;
    opacity: 0.3;
}

.quote-of-the-day blockquote::after {
    content: '"';
    font-size: 6rem;
    position: absolute;
    right: 0;
    bottom: -5rem;
    opacity: 0.3;
}

.quote-of-the-day cite {
    display: block;
    font-style: normal;
    font-weight: 500;
    margin-top: 2rem;
    font-size: 1.6rem;
    opacity: 0.8;
}

/* Poll Section */
.poll-section {
    padding: 8rem 0;
    background-color: var(--background-dark);
}

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

.poll-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.poll-container h3 {
    margin-bottom: 2.5rem;
    font-size: 2rem;
    text-align: center;
}

.poll-option {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.poll-option input[type="radio"] {
    margin-right: 1rem;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
}

.poll-option label {
    flex: 1;
    cursor: pointer;
}

.poll-btn {
    display: block;
    margin: 3rem auto 0;
}

.poll-results {
    margin-top: 3rem;
}

.poll-results h4 {
    margin-bottom: 2rem;
    text-align: center;
}

.result-bar {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.result-bar .label {
    width: 120px;
    font-weight: 500;
}

.result-bar .bar {
    flex: 1;
    height: 2rem;
    background: var(--background-dark);
    border-radius: 10rem;
    overflow: hidden;
    margin: 0 1.5rem;
}

.result-bar .fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 10rem;
}

.result-bar .percentage {
    width: 40px;
    text-align: right;
    font-weight: 600;
}

/* Newsletter Section */
.newsletter {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-dark);
}

.newsletter h2 {
    margin-bottom: 2rem;
}

.newsletter p {
    margin-bottom: 3rem;
}

#newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

#newsletter-form input {
    flex: 1;
    border: none;
    padding: 1.5rem;
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
    outline: none;
}

#newsletter-form button {
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    padding: 0 2.5rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 5rem 0 2rem;
}

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

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

.footer-logo p {
    opacity: 0.7;
    font-size: 1.4rem;
}

.footer-links h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

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

.footer-links ul li a {
    color: white;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.footer-links ul li a:hover {
    opacity: 1;
}

.footer-contact h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.footer-contact p {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 1rem;
    font-size: 1.8rem;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all var(--transition-medium);
}

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

.footer-bottom {
    text-align: center;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 1.4rem;
    opacity: 0.6;
}

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

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

.cookie-content p {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

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

.cookie-btn {
    padding: 1rem 2rem;
    font-size: 1.4rem;
}

.cookie-more-info {
    font-size: 1.3rem;
    opacity: 0.8;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

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

.page-header p {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    font-size: 1.8rem;
}

/* Blog Styles */
.blog-content {
    padding: 8rem 0;
    background-color: var(--background-light);
}

.blog-content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.blog-post {
    display: flex;
    background: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-medium);
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-post .post-image {
    width: 35%;
    height: auto;
}

.blog-post .post-content {
    flex: 1;
    padding: 3rem;
}

.post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.4rem;
}

/* Sidebar Styles */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.sidebar-widget {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

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

.search-form {
    display: flex;
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    outline: none;
    transition: border var(--transition-fast);
}

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

.search-button {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    transition: color var(--transition-fast);
}

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

.categories-widget ul li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.categories-widget ul li:last-child {
    margin-bottom: 0;
}

.categories-widget ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

.categories-widget ul li a:hover {
    color: var(--primary-color);
}

.categories-widget ul li a span {
    color: var(--text-light);
    font-size: 1.3rem;
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.popular-post {
    display: flex;
    gap: 1.5rem;
}

.popular-post-image {
    width: 8rem;
    height: 8rem;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

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

.popular-post:hover .popular-post-image img {
    transform: scale(1.1);
}

.popular-post-content {
    flex: 1;
}

.popular-post-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.popular-post-content h4 a {
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

.popular-post-content h4 a:hover {
    color: var(--primary-color);
}

.popular-post-date {
    color: var(--text-light);
    font-size: 1.3rem;
}

.quote-widget blockquote {
    font-style: italic;
    color: var(--text-dark);
    font-size: 1.6rem;
    line-height: 1.5;
    position: relative;
    padding: 0 2rem;
}

.quote-widget blockquote::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    left: 0;
    top: -2rem;
    opacity: 0.1;
    font-family: serif;
}

.quote-widget cite {
    display: block;
    margin-top: 1.5rem;
    font-style: normal;
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--text-light);
    text-align: right;
}

/* Gallery Styles */
.gallery-filters {
    padding: 3rem 0;
    background-color: var(--background-dark);
}

.gallery-filters .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background-color: white;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.search-sort {
    display: flex;
    gap: 1.5rem;
}

.search-gallery {
    position: relative;
}

.search-gallery input {
    padding: 1rem 4rem 1rem 1.5rem;
    border-radius: var(--border-radius-md);
    border: none;
    width: 250px;
    outline: none;
}

.search-btn {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
}

.sort-select {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-md);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232d3436' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5rem;
    padding-right: 4rem;
    cursor: pointer;
}

.gallery-grid {
    padding: 8rem 0;
}

.gallery-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem;
}

.gallery-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    aspect-ratio: 1 / 1;
}

.gallery-item-link {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%);
    opacity: 0;
    transition: opacity var(--transition-medium);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    color: white;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

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

.overlay-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    opacity: 0.8;
    font-size: 1.4rem;
    margin-bottom: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 6rem;
    gap: 0.5rem;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: var(--border-radius-md);
    background: white;
    color: var(--text-dark);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.pagination a:hover,
.pagination a.active {
    background-color: var(--primary-color);
    color: white;
}

.pagination a.next {
    width: auto;
    padding: 0 1.5rem;
}

.submit-artwork {
    padding: 6rem 0;
    background-color: var(--primary-color);
    color: white;
}

.submit-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.submit-content h2 {
    margin-bottom: 2rem;
}

.submit-content p {
    margin-bottom: 3rem;
    opacity: 0.9;
}

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

.submit-content .btn:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

/* Contact Styles */
.contact-content {
    padding: 8rem 0;
}

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

.contact-info, .contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info h2, .contact-form-container h2 {
    margin-bottom: 3rem;
}

.contact-details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 2rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
}

.contact-text {
    flex: 1;
}

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

.contact-text p {
    color: var(--text-light);
    margin-bottom: 0.3rem;
    font-size: 1.5rem;
}

.social-connect {
    margin-top: 3rem;
}

.social-connect h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.form-group {
    flex: 0 0 calc(50% - 1rem);
}

.form-group.full-width {
    flex: 0 0 100%;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    outline: none;
    transition: border var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

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

.checkbox-group input {
    width: auto;
    margin-top: 0.3rem;
}

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

.submit-btn {
    margin-top: 2rem;
    width: 100%;
}

.map-section {
    padding: 5rem 0 8rem;
}

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

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



.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-medium);
}

.map-overlay:hover {
    background: rgba(0,0,0,0.2);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1500;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
}

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

.checkmark {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: block;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--success-color);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke: var(--success-color);
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

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

.thank-you-content p {
    margin-bottom: 2.5rem;
}

.close-btn {
    min-width: 150px;
}

/* About Page Styles */
.about-story {
    padding: 8rem 0;
}

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

.about-content h2 {
    margin-bottom: 2.5rem;
}

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

.mission-vision {
    padding: 8rem 0;
    background-color: var(--background-dark);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.mission-box, .vision-box {
    background: white;
    padding: 4rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-medium);
}

.mission-box:hover, .vision-box:hover {
    transform: translateY(-10px);
}

.box-icon {
    width: 8rem;
    height: 8rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-section {
    padding: 8rem 0;
}

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

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
    color: var(--text-light);
    font-size: 1.8rem;
}

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

.team-member {
    text-align: center;
    transition: transform var(--transition-medium);
}

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

.team-member img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

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

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

.team-member p:last-of-type {
    font-size: 1.5rem;
    color: var(--text-light);
}

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

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: var(--background-dark);
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

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

.values-section {
    padding: 8rem 0;
    background-color: var(--background-dark);
}

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

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

.value-card {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-medium);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.join-team {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.join-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.join-content h2 {
    margin-bottom: 2rem;
}

.join-content p {
    margin-bottom: 3rem;
    opacity: 0.9;
}

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

.join-content .btn:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1200px) {
    html {
        font-size: 60%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content, .hero-image {
        max-width: 100%;
    }
    
    .about-grid, 
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-content .container {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 56%;
    }
    
    header .container {
        height: 7rem;
    }
    
    nav {
        position: fixed;
        top: 7rem;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow-md);
        padding: 2rem;
        transform: translateY(-100%);
        transition: transform var(--transition-medium);
        z-index: 900;
    }
    
    nav.open {
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 2rem;
    }
    
    nav ul li {
        margin-left: 0;
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 1rem 0;
        font-size: 1.8rem;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .blog-post {
        flex-direction: column;
    }
    
    .blog-post .post-image {
        width: 100%;
        height: 25rem;
    }
    
    .contact-grid {
        gap: 4rem;
    }
    
    #newsletter-form {
        flex-direction: column;
    }
    
    #newsletter-form input {
        border-radius: var(--border-radius-md);
    }
    
    #newsletter-form button {
        border-radius: var(--border-radius-md);
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 54%;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .gallery-filters .container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-sort {
        flex-direction: column;
        width: 100%;
    }
    
    .search-gallery {
        width: 100%;
    }
    
    .search-gallery input {
        width: 100%;
    }
    
    .sort-select {
        width: 100%;
    }
    
    .filter-options {
        justify-content: center;
    }
    
    .contact-form {
        gap: 1.5rem;
    }
    
    .form-group {
        flex: 0 0 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}
