/* style.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-1);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

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

.gallery-overlay h3 {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    background: var(--accent);
    color: var(--dark);
    text-align: center;
}

.testimonials h2 {
    font-family: 'Caveat', cursive;
    font-size: 4rem;
    margin-bottom: 80px;
    color: var(--secondary);
    transform: rotate(1deg);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.testimonial {
    display: none;
    padding: 40px;
    background: rgba(255,255,255,0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.testimonial blockquote {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 30px;
    font-style: italic;
    color: var(--secondary);
}

.testimonial cite {
    font-weight: 600;
    color: var(--neutral);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(114, 47, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--secondary);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

/* FAQ Section */
.faq {
    padding: 120px 0;
    background: var(--light);
}

.faq h2 {
    font-family: 'Caveat', cursive;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 80px;
    color: var(--primary);
    transform: rotate(-1deg);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--accent);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 236, 139, 0.1);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 25px 30px;
    line-height: 1.7;
    color: var(--neutral);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--gradient-1);
    color: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact h2 {
    font-family: 'Caveat', cursive;
    font-size: 4rem;
    margin-bottom: 30px;
    color: var(--accent);
    transform: rotate(-1deg);
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--accent);
    transform: rotate(1deg);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--accent);
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.9);
    font-size: 1rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(255, 236, 139, 0.5);
    transform: scale(1.02);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--gradient-2);
    color: var(--dark);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(-1deg);
}

.submit-btn:hover {
    transform: rotate(1deg) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: var(--accent);
    text-decoration: none;
    transform: rotate(-2deg);
    margin-bottom: 20px;
    display: inline-block;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-alt);
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
    transform: translateX(10px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
    text-align: center;
    opacity: 0.6;
}

/* Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--neutral);
    transition: all 0.3s ease;
}

.popup-close:hover {
    color: var(--primary);
    transform: scale(1.2);
}

.popup-content h3 {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.popup-content p {
    color: var(--neutral);
    line-height: 1.6;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes slideDown {
    from { transform: translateY(0); }
    to { transform: translateY(100%); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    
    .burger {
        display: flex !important;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .heritage-item,
    .heritage-item.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .heritage-item.reverse .heritage-content {
        order: 0;
    }
    
    .research-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .research-stats {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.wide {
        grid-column: span 1;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .section-header h2,
    .heritage h2,
    .research h2,
    .gallery h2,
    .testimonials h2,
    .faq h2,
    .contact h2 {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2,
    .heritage h2,
    .research h2,
    .gallery h2,
    .testimonials h2,
    .faq h2,
    .contact h2 {
        font-size: 2.5rem;
    }
    
    .testimonial blockquote {
        font-size: 1.4rem;
    }
    
    .research {
        transform: none;
        margin: 0;
    }
    
    .research .container {
        transform: none;
    }
}css */

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

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #D4380D;
    --secondary: #722F37;
    --accent: #FFEC8B;
    --accent-alt: #87CEEB;
    --dark: #2F1B14;
    --light: #FFF8DC;
    --neutral: #8B7355;
    --shadow: rgba(212, 56, 13, 0.3);
    --gradient-1: linear-gradient(135deg, #D4380D, #722F37);
    --gradient-2: linear-gradient(45deg, #FFEC8B, #87CEEB);
    --gradient-3: linear-gradient(180deg, #2F1B14, #8B7355);
}

body {
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
}

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

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-1);
    color: white;
    padding: 15px;
    z-index: 10000;
    transform: translateY(100%);
    animation: slideUp 0.5s forwards;
}

.cookie-notice.hidden {
    animation: slideDown 0.5s forwards;
}

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

.cookie-btn {
    background: var(--accent);
    color: var(--dark);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    background: var(--accent-alt);
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 248, 220, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10001;
    padding: 15px 0;
    border-bottom: 3px solid var(--primary);
}

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

.logo {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transform: rotate(-2deg);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: rotate(2deg) scale(1.1);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 10px;
    border: none;
    background: transparent;
    z-index: 10003;
    position: relative;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.burger:hover {
    background: rgba(212, 56, 13, 0.1);
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: white;
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: white;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--gradient-1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: all 0.3s ease;
    z-index: 10002;
}

.mobile-menu.active {
    left: 0;
}

.mobile-link {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 10px;
}

.mobile-link:hover {
    color: var(--accent);
    transform: scale(1.1) rotate(-2deg);
    background: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0.7;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: white;
}

.hero-title {
    font-family: 'Caveat', cursive;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.3);
}

.accent {
    color: var(--accent);
    text-shadow: 2px 2px 0px var(--primary);
}

.accent-alt {
    color: var(--accent-alt);
    text-shadow: 2px 2px 0px var(--secondary);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-primary {
    background: var(--gradient-2);
    color: var(--dark);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(-2deg);
}

.cta-primary:hover {
    transform: rotate(2deg) scale(1.05);
    box-shadow: 0 10px 30px var(--shadow);
}

.cta-secondary {
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    transform: rotate(2deg);
}

.cta-secondary:hover {
    background: white;
    color: var(--dark);
    transform: rotate(-2deg) scale(1.05);
}

.hero-symbols {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.symbol {
    position: absolute;
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.symbol-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.symbol-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.symbol-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Heritage Section */
.heritage {
    padding: 120px 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-family: 'Caveat', cursive;
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
    transform: rotate(-1deg);
}

.section-line {
    width: 200px;
    height: 4px;
    background: var(--gradient-2);
    margin: 0 auto;
    border-radius: 2px;
}

.heritage-grid {
    display: grid;
    gap: 80px;
}

.heritage-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.heritage-item.reverse {
    grid-template-columns: 1fr 1fr;
}

.heritage-item.reverse .heritage-content {
    order: -1;
}

.heritage-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.heritage-img:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}

.heritage-content h3 {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    transform: rotate(-1deg);
}

.heritage-content p {
    font-size: 1.1rem;
    color: var(--neutral);
    line-height: 1.8;
}

/* Research Section */
.research {
    padding: 120px 0;
    background: var(--gradient-3);
    color: white;
    transform: skewY(-2deg);
    margin: 60px 0;
}

.research .container {
    transform: skewY(2deg);
}

.research-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.research h2 {
    font-family: 'Caveat', cursive;
    font-size: 4rem;
    margin-bottom: 30px;
    color: var(--accent);
    transform: rotate(1deg);
}

.research-intro {
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.9;
    line-height: 1.7;
}

.research-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 300;
}

.research-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}

/* Gallery Section */
.gallery {
    padding: 120px 0;
    background: var(--light);
}

.gallery h2 {
    font-family: 'Caveat', cursive;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 80px;
    color: var(--primary);
    transform: rotate(-1deg);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

section {
    overflow: hidden;
}