@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Roboto+Mono:wght@400;500;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #f59536 #1a1a1a;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    animation: fadeIn 0.5s forwards;
    
    /* Background pattern - less visible version */
    background-color: #1d1d1d;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 0);
    background-size: 40px 40px;
    background-position: -5px -5px;
    position: relative;
    z-index: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #f59536;
    border: 2px solid #1a1a1a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f5953698;
}

/* Header */
header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('tlo.jpeg') no-repeat center center;
    background-size: cover;
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #f59536;
    box-shadow: 0 0 8px rgba(245, 149, 54, 0.4);
}

header h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

header p {
    font-size: 1.8em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.header-buttons {
    display: flex;
    justify-content: center;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background-color: #f59536;
    color: #1a1a1a;
    border: 2px solid #f59536;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #ff9f3c;
    border-color: #ff9f3c;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    background-color: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 5px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

nav.scrolled .nav-container {
    background-color: rgba(10, 10, 10, 0.9);
}

nav a {
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    text-align: center;
    margin: 0 3px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: rgba(245, 149, 54, 0.2);
    color: #f59536;
}

nav a.active {
    background-color: #f59536;
    color: #0a0a0a;
}

/* Sections - increased size */
section {
    padding: 60px 30px;
    max-width: 1400px; /* Increased from 1200px */
    width: 95%; /* Added to ensure sections take up more horizontal space */
    margin: 0 auto 30px; /* Increased bottom margin from 25px */
    background-color: #0f0f0f;GtaUniverse
Najlepszy serwer FiveM w Polsce!
    border-radius: 10px; /* Slightly increased from 8px */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
    transition: transform 0.3s ease;
    position: relative;
}

section:first-of-type {
    margin-top: 25px;
}

section:hover {
    transform: translateY(-5px);
}

/* Enhanced Section Titles - Orange Line Style */
section h2 {
    font-size: 2em;
    color: #f59536;
    margin-bottom: 30px;
    padding-bottom: 0;
    border-bottom: none;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #f59536, transparent);
}

section h2 i {
    font-size: 0.9em;
    color: #f59536;
    margin-right: 5px;
}

/* Features section - Card Style */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-column {
    background-color: rgba(20, 20, 20, 0.8);
    padding: 25px;
    border-radius: 8px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-column:hover {
    transform: translateY(-5px);
    background-color: rgba(30, 30, 30, 0.8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(245, 149, 54, 0.3);
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-title-icon {
    color: #f59536;
    font-size: 1.8em;
    margin-right: 15px;
}

.feature-column h3 {
    color: #f59536;
    font-size: 1.2em;
    margin: 0;
}

.feature-column p {
    color: #e0e0e0;
    font-size: 0.95em;
    line-height: 1.6;
}

/* Section descriptions */
.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #cccccc;
    font-size: 1.05em;
    line-height: 1.7;
}

/* Improved Description Section */
.description-section {
    text-align: center;
    background-color: #0f0f0f;
    position: relative;
}

.description-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f59536, transparent);
    border-radius: 50%;
}

.highlight {
    font-size: 1.5em;
    color: #f59536;
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Server Info */
.server-info {
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.server-info p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #e0e0e0;
}

/* Join Section */
.join-section {
    position: relative;
    overflow: hidden;
}

.join-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.step {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px 20px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.08);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #f59536;
    color: #1a1a1a;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step h3 {
    color: #f59536;
    margin: 15px 0 10px;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-column {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px; /* Increased from 20px */
    border-left: 3px solid #f59536;
    border-radius: 0 5px 5px 0;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
}

.feature-column:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-title-icon {
    color: #f59536;
    font-size: 1.2em;
    margin-right: 8px;
    vertical-align: middle;
}

.feature-column h3 {
    color: #f59536;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* Stats Section */
.stats-section {
    text-align: center;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-box {
    background-color: rgba(20, 20, 20, 0.8);
    padding: 30px 20px; 
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-box:hover {
    transform: translateY(-5px);
    background-color: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(245, 149, 54, 0.3);
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #f59536;
    margin-bottom: 15px;
    font-family: 'Roboto Mono', monospace;
    display: block;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.95em;
    max-width: 90%;
    margin: 0 auto;
}

/* Gallery Section */
.gallery-section {
    text-align: center;
    overflow: hidden; /* Prevent layout shifts */
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 auto;
    width: 100%;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 16/9;
    height: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transition: bottom 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    bottom: 0;
}

.gallery-caption h3 {
    color: #f59536;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.gallery-caption p {
    font-size: 0.9em;
    margin: 0;
}

/* Features Details - Better alignment */
.feature-details-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 20px;
}

.feature-detail {
    display: flex;
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
}

.feature-detail:hover {
    transform: translateY(-5px);
    background-color: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(245, 149, 54, 0.3);
}

.feature-icon {
    color: #f59536;
    font-size: 2em;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

.feature-info h3 {
    color: #f59536;
    margin-bottom: 12px;
    font-size: 1.2em;
}

/* Testimonials */
.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.testimonial {
    flex: 1;
    min-width: 280px;
    max-width: 380px; /* Increased from 350px */
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px; /* Increased from 25px */
    border-radius: 8px;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    background-color: rgba(245, 149, 54, 0.05);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(245, 149, 54, 0.1);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar i {
    font-size: 1.8em;
    color: #f59536;
}

.testimonial-author h4 {
    color: #f59536;
    margin-bottom: 5px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1em;
}

.faq-toggle {
    color: #f59536;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 15px;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

/* Contact Section */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.contact-method {
    flex: 1;
    min-width: 250px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    background-color: rgba(245, 149, 54, 0.05);
}

.contact-method i {
    font-size: 2em;
    color: #f59536;
    margin-bottom: 15px;
}

.contact-method h3 {
    color: #f59536;
    margin-bottom: 10px;
}

.btn-contact {
    display: inline-block;
    color: white;
    padding: 8px 16px;
    border: 1px solid #f59536;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-contact:hover {
    background-color: #f59536;
    color: #1a1a1a;
}

/* Footer */
footer {
    background-color: #000;
    margin-top: auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.footer-column {
    flex: 1;
    padding: 0 15px;
}

.footer-column h3 {
    color: #f59536;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-column h4 {
    color: #f59536;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-column p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-column ul li a:hover {
    color: #f59536;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #f59536;
}

.footer-bottom {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #222;
    font-size: 0.85rem;
}

.footer-bottom p {
    color: #999;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Player count */
.player-count {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9em;
}

.player-count img {
    width: 16px;
    height: 16px;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.gallery-modal.active {
    display: flex;
}

.modal-content {
    max-width: 80%;
    max-height: 80vh;
}

.modal-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2em;
    cursor: pointer;
}

.modal-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
}

.modal-prev, .modal-next {
    color: white;
    font-size: 3em;
    cursor: pointer;
    background: none;
    border: none;
}

/* Connect Button */
.connect-container {
    position: relative;
}

.btn-primary.connect-button {
    background-color: #1a1a1a;
    color: #f59536;
    border: 1px solid #f59536;
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
    text-transform: lowercase;
    padding: 12px 25px;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.btn-primary.connect-button:hover {
    background-color: #0a0a0a;
    color: #f59536;
    border-color: #f59536;
}

.copy-tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(10, 10, 10, 0.9);
    color: #f59536;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.9em;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(10, 10, 10, 0.9) transparent transparent transparent;
}

.copy-tooltip.show {
    opacity: 1;
}

/* Trevor Image - Fixed positioning */
.trevor-container {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: -2; /* Send Trevor further back behind background */
    pointer-events: none; /* Ensure it doesn't interfere with clicks */
    width: 0; /* Don't affect layout */
    height: 0; /* Don't affect layout */
    overflow: visible;
}

.trevor-image {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 90vh;
    max-height: 900px;
    width: auto;
    transform: translateX(-15%);
    opacity: 0.4; /* Make more subtle */
    filter: brightness(0.7) contrast(1.1); /* Better blend with background */
    transition: transform 0.5s ease-out, opacity 0.3s ease;
}

/* Fix stacking context */
body {
    position: relative;
    z-index: 0;
}

header, section, footer {
    position: relative;
    z-index: 1; /* Ensure content is above Trevor */
    background-color: #0f0f0f; /* Ensure backgrounds are solid */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); /* Enhanced shadow to separate from background */
}

header {
    /* Override background to ensure header keeps its background image */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('tlo.jpeg') no-repeat center center;
    background-size: cover;
}

nav, .player-count {
    z-index: 1001; /* Keep navigation above everything */
}

/* X (Twitter) Icon Fallback */
.fa-x-twitter::before {
    content: "\f099"; /* This is the Font Awesome code for the Twitter icon */
    font-family: 'Font Awesome 5 Brands';
}

/* Replace X icon styling with X letter styling */
.x-letter-icon {
    width: 2em;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.5em;
    font-weight: bold;
    color: #f59536;
    font-family: Arial, sans-serif;
}

.x-letter-icon-small {
    font-size: 1.2em;
    font-weight: bold;
    font-family: Arial, sans-serif;
    transition: color 0.3s ease;
}

.social-icons a:hover .x-letter-icon-small {
    color: #f59536;
}

/* Media Queries */
@media (max-width: 1200px) {
    section {
        padding: 55px 25px;
        width: 92%;
    }
    
    .footer-content {
        width: 92%;
    }
    
    .gallery-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    /* Hide watermark on smaller screens to avoid cluttering */
    body::before {
        opacity: 0.01;
        right: -250px;
    }
}

@media (max-width: 992px) {
    header h1 {
        font-size: 3em;
    }
    
    header p {
        font-size: 1.5em;
    }
    
    .feature-details-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .highlight {
        font-size: 1.3em;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Further reduce watermark visibility on medium screens */
    body::before {
        opacity: 0.01;
        right: -300px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav a {
        margin: 5px;
    }
    
    .header-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary.connect-button {
        font-size: 0.9em;
    }
    
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 45px 20px;
        width: 90%;
    }
    
    .footer-content {
        width: 90%;
    }
    
    section h2 {
        font-size: 1.8em;
    }
    
    .highlight {
        font-size: 1.2em;
    }
    
    .feature-box {
        padding: 25px 20px;
    }
    
    .feature-icon-top {
        width: 60px;
        height: 60px;
    }
    
    /* Hide watermark completely on mobile */
    body::before {
        display: none;
    }
}

@media (max-width: 480px) {
    section {
        padding: 30px 15px;
    }
    
    header h1 {
        font-size: 2.5em;
    }
    
    header p {
        font-size: 1.2em;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
    }
    
    .gallery-caption {
        padding: 15px 10px;
    }
    
    .gallery-caption h3 {
        font-size: 1em;
    }
    
    .gallery-caption p {
        font-size: 0.8em;
    }
}

@media (max-width: 360px) {
    .gallery-container {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Main page watermark positioned higher in bottom right corner */
body::before {
    content: "";
    position: fixed;
    top: auto;
    bottom: 0px; /* Moved higher from -180px to 0px */
    left: auto;
    right: -100px; /* Adjusted right position for better visibility */
    width: 700px;
    height: 700px;
    background-image: url('logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.025;
    z-index: -1;
    pointer-events: none;
    filter: brightness(1.5);
    transform: rotate(15deg);
    transition: all 0.5s ease;
}
