:root {
    --color-primary: #ffd700;
    --color-secondary: #008080;
    --color-dark: #1f1f1f;
    --color-light: #f4f4f4;
    --color-text: #333;
    --color-cta: #ff4500;
    --font-heading: "Cinzel", serif;
    --font-body: "Roboto", sans-serif;
    --max-width: 1200px;
    --spacing-lg: 80px;
    --spacing-md: 40px;
    --header-height: 70px;
}

@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Roboto:wght@300;400;700&display=swap");

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-light);
    overflow-x: hidden;
}

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

h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 0.5em;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5em;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 10px auto 0;
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

.section-alt-bg {
    background-color: #fcfcfc;
}

.store-badge img {
    height: 60px;
    transition: transform 0.3s ease;
}

.store-badge:hover img {
    transform: scale(1.05);
}

.app-store-note {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

.main-header {
    background-color: var(--color-dark);
    color: var(--color-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: var(--header-height);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-light);
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-list {
    list-style: none;
    display: flex;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--color-light);
    font-weight: 400;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-primary);
}

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

.hero-section {
    background:
        linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
        url("img/hero-egypt-scene.webp") no-repeat center center;
    background-size: cover;
    padding: calc(var(--spacing-lg) * 1.5) 0;
    text-align: center;
    color: var(--color-dark);
}

.hero-container {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image-wrapper {
    flex: 1;
    max-width: 500px;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-title {
    font-size: 3.5rem;
    color: var(--color-secondary);
    margin-bottom: 0.2em;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--color-primary);
    font-weight: 400;
    margin-bottom: 1em;
    background: #0000007a;
    padding: 15px;
}

.hero-text {
    font-size: 1.15rem;
    margin-bottom: 15px;
}

.hero-buttons {
    margin-top: 30px;
}

.description-section {
    background-color: var(--color-light);
    border-bottom: 2px solid var(--color-primary);
}

.description-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5em;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.features-list {
    flex: 1;
    list-style: none;
    padding-left: 0;
}

.feature-item {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid var(--color-secondary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-image-wrapper {
    flex: 1;
    max-width: 500px;
}

.feature-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 40px;
    font-style: italic;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding-top: 20px;
}

.screenshot-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.03);
}

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

.how-to-use-section {
    background-color: var(--color-light);
    border-top: 2px solid var(--color-secondary);
}

.steps-list {
    list-style: none;
    counter-reset: step-counter;
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    background-color: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    padding-left: 80px;
    font-size: 1.1rem;
}

.step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: var(--color-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.cta-section {
    background-color: var(--color-dark);
    color: var(--color-light);
    text-align: center;
    padding: calc(var(--spacing-md) * 2) 0;
}

.cta-title {
    color: var(--color-cta);
    font-size: 2.8rem;
}

.cta-text {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.cta-download img {
    height: 80px;
}

.main-footer {
    background-color: #111;
    color: #bbb;
    padding: var(--spacing-lg) 0 20px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
}

.footer-title {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-link,
.contact-detail {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-secondary);
}

.footer-badge img {
    height: 50px;
    margin-top: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.85rem;
}

.copyright,
.thank-you {
    margin: 5px 0;
}

@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image-wrapper {
        order: 1;
        max-width: 80%;
        margin-bottom: 40px;
    }

    .hero-img {
        transform: rotate(0);
    }

    .features-grid {
        flex-direction: column;
    }

    .feature-image-wrapper {
        order: -1;
        margin-bottom: 30px;
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .main-header .header-container {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-list {
        padding-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: var(--spacing-md) 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-text,
    .description-content p,
    .feature-item,
    .step-item {
        font-size: 1rem;
    }

    .store-badge img {
        height: 50px;
    }

    .step-item {
        padding-left: 60px;
    }

    .step-item::before {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-download img {
        height: 60px;
    }
}
