/* Abu Simbel Temple Theme - Egyptian Colors and Design */
:root {
    --temple-sand: #D2B48C; /* Sandy color of Abu Simbel */
    --temple-gold: #CD7F32; /* Gold accent representing ancient Egyptian gold */
    --temple-dark: #3E2723; /* Dark brown representing stone shadows */
    --temple-blue: #1A237E; /* Dark blue/purple for mystical shadows */
    --temple-lapis: #283593; /* Lapis lazuli blue */
    --temple-ruby: #B71C1C; /* Ruby red for accents */
    --temple-text: #333;
    --temple-light: #F5F5DC; /* Light sand for contrast */
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--temple-text);
    background-color: var(--temple-light);
    background-image: 
        radial-gradient(var(--temple-sand) 1px, transparent 1px),
        radial-gradient(var(--temple-sand) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--temple-dark), var(--temple-blue));
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.brand-container {
    display: flex;
    align-items: center;
}

.brand-icon {
    height: 1.5rem;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--temple-gold);
    text-decoration: none;
    font-family: 'Georgia', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: transparent;
    border: none;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Navigation styles */
.nav-menu {
    display: flex;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

nav a:hover {
    color: var(--temple-gold);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.main-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('images/hero.png') center/cover no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.main-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(205, 127, 50, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(183, 28, 28, 0.2) 0%, transparent 40%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.main-banner h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    color: var(--temple-gold);
    font-family: 'Georgia', serif;
}

.main-banner p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Container */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.info-section {
    background-color: white;
    text-align: center;
}

.info-section h2 {
    font-size: 2.5rem;
    color: var(--temple-dark);
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.info-section p {
    font-size: 1.2rem;
    color: var(--temple-text);
    max-width: 800px;
    margin: 0 auto;
}

/* Game Section */
.play-area {
    background: linear-gradient(to bottom, var(--temple-light), var(--temple-sand));
    text-align: center;
}

.play-area h2 {
    font-size: 2.5rem;
    color: var(--temple-dark);
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.play-area p {
    font-size: 1.2rem;
    color: var(--temple-text);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.game-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.game-display img {
    max-width: 350px;
    height: auto;
}

.action-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--temple-gold), var(--temple-ruby));
    color: white;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.questions-section {
    background-color: white;
}

.questions-section h2 {
    font-size: 2.5rem;
    color: var(--temple-dark);
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Georgia', serif;
}

.question-item {
    background-color: var(--temple-light);
    border: 1px solid var(--temple-gold);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.question-item:hover {
    background-color: #f0e6d2;
}

.question-item h3 {
    color: var(--temple-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question-item h3::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--temple-gold);
    transition: transform 0.3s ease;
}

.question-item p {
    color: var(--temple-text);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding-top 0.3s ease;
    margin-top: 0;
}

.question-item.active {
    background-color: white;
}

.question-item.active h3::after {
    transform: rotate(45deg);
}

.question-item.active p {
    max-height: 500px;
    padding-top: 1rem;
    margin-bottom: 0;
}

/* Reviews Section */
.testimonials {
    background: linear-gradient(to bottom, var(--temple-blue), var(--temple-dark));
    color: white;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-family: 'Georgia', serif;
    color: var(--temple-gold);
}

.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--temple-gold);
    border-radius: 8px;
    padding: 2rem;
    width: 300px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.testimonial-card h3 {
    color: var(--temple-gold);
    margin-bottom: 1rem;
}

.testimonial-card p {
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-card span {
    font-weight: bold;
    color: var(--temple-light);
}

/* Contact Section */
.reach-out {
    background-color: white;
    text-align: center;
}

.reach-out h2 {
    font-size: 2.5rem;
    color: var(--temple-dark);
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.reach-out p {
    font-size: 1.2rem;
    color: var(--temple-text);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.inquiry-form {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: left;
}

.inquiry-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.inquiry-form input,
.inquiry-form textarea {
    padding: 1rem;
    border: 2px solid var(--temple-gold);
    border-radius: 4px;
    font-size: 1rem;
}

.inquiry-form textarea {
    height: 150px;
    resize: vertical;
}

.inquiry-form button {
    background: linear-gradient(135deg, var(--temple-gold), var(--temple-ruby));
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.inquiry-form button:hover {
    transform: translateY(-2px);
}

.contact-details {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    text-align: left;
    background-color: var(--temple-light);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--temple-gold);
}

.contact-details h3 {
    color: var(--temple-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--temple-dark), var(--temple-blue));
    color: white;
    padding: 2rem 0 0;
}

.warning {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--temple-ruby);
    margin-bottom: 2rem;
    border: 2px solid #ff8a8a;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.warning h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.warning p {
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

.bottom-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 2rem;
    gap: 2rem;
}

.bottom-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bottom-links a {
    color: var(--temple-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.bottom-links a:hover {
    color: var(--temple-gold);
}

.bottom-contact p {
    margin-bottom: 0.5rem;
}

.rights {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid var(--temple-gold);
    margin-top: 2rem;
}

/* Game Page Specific */
.play-page {
    padding: 2rem 0;
}

.play-page h1 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--temple-dark);
    margin-bottom: 2rem;
    font-family: 'Georgia', serif;
}

.game-frame {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border: 4px solid var(--temple-gold);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Policy Pages */
.data-protection,
.legal-terms,
.tracking-policy {
    background-color: white;
    padding: 3rem 0;
}

.data-protection h1,
.legal-terms h1,
.tracking-policy h1 {
    font-size: 2.5rem;
    color: var(--temple-dark);
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.data-protection h2,
.legal-terms h2,
.tracking-policy h2 {
    color: var(--temple-dark);
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.8rem;
}

.data-protection p,
.legal-terms p,
.tracking-policy p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hamburger menu styles */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--temple-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    nav ul {
        display: block;
        list-style: none;
    }
    
    nav ul li {
        padding: 1rem 0;
    }
    
    nav ul li a {
        display: block;
        font-size: 1.2rem;
        padding: 0.75rem 1rem;
    }
    
    nav ul li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--temple-gold);
    }
    
    nav ul li a.active {
        background-color: var(--temple-gold);
        color: white;
    }
    
    /* Header styles for mobile */
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 2rem;
    }
    
    .brand-container {
        order: 1;
    }
    
    .nav-menu {
        order: 2;
        width: 100%;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .menu-toggle {
        order: 3;
    }
    
    .main-banner h1 {
        font-size: 2.5rem;
    }
    
    .main-banner p {
        font-size: 1.2rem;
    }
    
    .content-wrapper {
        padding: 2rem 1rem;
    }
    
    .contact-layout {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .bottom-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .testimonial-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-card {
        width: 100%;
        max-width: 350px;
    }
}

/* Abu Simbel specific decorative elements */
.temple-border {
    border: 4px solid var(--temple-gold);
    border-image: linear-gradient(to bottom, var(--temple-gold), var(--temple-ruby)) 1;
    position: relative;
}

.temple-border::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--temple-lapis);
    pointer-events: none;
    border-radius: 8px;
}

/* Cookie Consent Popup */
.cookie-popup {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background-color: var(--temple-light);
    border: 2px solid var(--temple-gold);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    font-family: Arial, sans-serif;
}

.cookie-content {
    padding: 1.5rem;
}

.cookie-content h3 {
    color: var(--temple-dark);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.cookie-content p {
    color: var(--temple-text);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

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

.accept-btn, .decline-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.accept-btn {
    background-color: var(--temple-gold);
    color: white;
}

.accept-btn:hover {
    background-color: #b86d29;
}

.decline-btn {
    background-color: var(--temple-ruby);
    color: white;
}

.decline-btn:hover {
    background-color: #9a1616;
}

/* Mobile responsive for cookie popup */
@media (max-width: 768px) {
    .cookie-popup {
        width: calc(100% - 40px);
        bottom: 10px;
        right: 10px;
        left: 10px;
    }
}