/* App Family Website - Squarespace Port */

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

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
}

/* Header & Navigation */
header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
}

nav {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 80px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

nav ul li a:hover {
    opacity: 0.7;
}

nav ul li:last-child a {
    border: 2px solid white;
    padding: 0.5rem 1.2rem;
    border-radius: 0;
}

nav ul li:last-child a:hover {
    background-color: white;
    color: #333;
}

/* Hero Sections */

/* Hero subtitle (italic "Get in touch", "Learn more", "Apps for") */
.hero-subtitle {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 300;
    color: inherit;
}

/* Simple hero for pages using grass background */
.hero-simple {
    position: relative;
    background: url('images/hero-background.jpg') center bottom / cover no-repeat;
    color: #333;
    text-align: center;
    padding: 8rem 2rem 4rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-simple > * {
    position: relative;
    z-index: 1;
}

.hero-simple h1 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.hero-simple p {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
    color: white;
    font-weight: 300;
    line-height: 1.6;
}

/* Dark overlay hero for contact/about pages */
.hero-dark {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 8rem 2rem 4rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-dark > * {
    position: relative;
    z-index: 1;
}

.hero-dark h1 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-dark p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
}

.hero-dark .hero-subtitle {
    color: rgba(255,255,255,0.9);
}

/* Contact page hero - dark space gradient */
.hero-contact {
    background: radial-gradient(ellipse at center bottom, #1a2a4a 0%, #0a0a1a 70%, #000 100%);
}

/* Hero text block (below hero image, white background) */
.hero-text {
    text-align: center;
    padding: 0 0 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 1.6rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 1rem;
    white-space: nowrap;
}

.hero-text p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    font-weight: 300;
}

/* Content Sections */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
}

.section {
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.section p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #555;
}

/* Homepage Image Cards */
.homepage-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

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

.homepage-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 1.5rem;
}

.homepage-card h2 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #5f9ea0;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.homepage-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.homepage-card a {
    font-family: Georgia, 'Times New Roman', serif;
    color: #5f9ea0;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
}

.homepage-card a:hover {
    opacity: 0.7;
}

/* Game/App Items */
.game-item, .app-item {
    background: #fff;
    padding: 1.5rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    border-bottom: 1px solid #ddd;
    text-align: left;
    max-width: 800px;
    width: 100%;
}

.game-item:last-child, .app-item:last-child {
    border-bottom: none;
}

.game-item h3, .app-item h3 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.game-icon {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.game-content, .app-content {
    flex: 1;
}

.game-content p, .app-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.app-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Game Categories */
.game-category {
    margin-bottom: 3rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-category > h3 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
    font-weight: 400;
    line-height: 1.4;
}

/* Platform Links - text style like original */
.platforms {
    display: flex;
    gap: 0;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.platforms .platform-link + .platform-link::before {
    content: "-";
    color: #5f9ea0;
    margin: 0 0.3rem;
}

.platform-link {
    display: inline-block;
    padding: 0.2rem 0;
    background-color: transparent;
    color: #5f9ea0;
    text-decoration: none;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
    border: none;
}

.platform-link:hover {
    opacity: 0.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.btn:hover {
    background-color: #555;
}

.btn-center {
    text-align: center;
    margin-top: 2rem;
}

/* Contact Page Content */
.contact-intro {
    text-align: center;
    padding: 3rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.contact-intro h2 {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    text-transform: none;
    letter-spacing: 0;
}

.turkish-notice {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
    margin-top: 2rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.contact-cards-vertical {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
}

.contact-cards-vertical .contact-card {
    display: flex;
    flex-direction: column;
}

.contact-cards-vertical .contact-card p {
    flex: 1;
}


.contact-card {
    text-align: center;
    padding: 1rem;
}

.contact-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    color: #333;
}

.contact-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Outlined button style matching old Squarespace */
.btn-dark {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: transparent;
    color: #333;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s;
    border: 2px solid #333;
}

.btn-dark:hover {
    background-color: #333;
    color: white;
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-intro h2 {
        font-size: 1.2rem;
    }
}

/* Footer */
footer {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #333;
    color: white;
    padding: 2.5rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #555;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: 0.95rem;
}

.footer-social a:hover {
    background-color: #777;
}

.footer-info {
    text-align: center;
    color: #aaa;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-info p {
    margin-bottom: 0.3rem;
}

.footer-info a {
    color: #aaa;
    text-decoration: none;
}

.footer-info a:hover {
    color: white;
}

/* Features List */
.features-list {
    list-style: disc;
    margin: 1rem 0 1rem 1.5rem;
    text-align: left;
}

.features-list li {
    padding: 0.3rem 0;
    color: #555;
    font-size: 0.95rem;
}

/* Testimonial Section */
.testimonial {
    padding: 0 0 2rem;
    margin: 0 0 2rem;
    text-align: center;
}

.testimonial::before {
    content: "\201C";
    display: block;
    font-size: 4rem;
    color: #ccc;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
}

.testimonial p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial p strong {
    font-style: normal;
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #888;
}

/* Screenshot Gallery */
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.screenshot-gallery img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Store Badges */
.store-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.store-badges img {
    height: 40px;
    width: auto;
}

/* Sidebar Layout (About Us, Educational Apps) */
.page-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: start;
}

.page-sidebar {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    position: sticky;
    top: 2rem;
}

.page-sidebar h3 {
    font-family: Georgia, 'Times New Roman', serif;
    color: #333;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.sidebar-nav {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    list-style: none;
    text-align: center;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    color: #5f9ea0;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.3s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: #5f9ea0;
    font-weight: 600;
}

.page-content {
    text-align: left;
}

/* Edu layout - alias for backward compat */
.edu-layout {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 3rem;
    align-items: start;
    text-align: left;
}

.edu-sidebar {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    position: sticky;
    top: 2rem;
}

.edu-sidebar h3 {
    font-family: Georgia, 'Times New Roman', serif;
    color: #333;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.4;
    text-align: left;
    font-weight: 400;
}

/* App Showcase */
.app-showcase {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.app-showcase-left {
    flex-shrink: 0;
    text-align: center;
}

.app-showcase-icon {
    width: 150px;
    height: 150px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.store-badges-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.store-badges-vertical img {
    width: 135px;
    height: auto;
}

.app-showcase-right {
    flex: 1;
}

.app-showcase-right h2 {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.app-showcase-right p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.app-showcase-right .features-list {
    margin: 1rem 0;
}

.app-showcase-right .features-list li {
    color: #666;
    font-size: 0.9rem;
}

.view-details-link {
    display: inline-block;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #5f9ea0;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    font-weight: 400;
    margin-top: 1rem;
    transition: opacity 0.3s;
}

.view-details-link:hover {
    opacity: 0.7;
}

/* Tutorial/guide images */
.guide-image {
    max-width: 100%;
    margin: 1rem auto;
    display: block;
}

/* About Us mission text */
.mission-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        position: relative;
        background: #333;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    nav ul li:last-child a {
        border: none;
        padding: 0;
    }

    .hero-simple {
        min-height: 200px;
        padding: 4rem 1rem 2rem;
    }

    .hero-simple h1 {
        font-size: 1.8rem;
    }

    .hero-dark {
        min-height: 250px;
        padding: 4rem 1rem 2rem;
    }

    .hero-dark h1 {
        font-size: 2rem;
    }

    .homepage-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .game-item, .app-item {
        flex-direction: column;
        text-align: left;
    }

    .game-icon, .app-icon {
        margin-bottom: 1rem;
    }

    .page-layout,
    .edu-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-sidebar,
    .edu-sidebar {
        position: static;
    }

    .app-showcase {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .app-showcase-right {
        text-align: left;
    }

    .hero-text h1 {
        white-space: normal;
    }

    .footer-social {
        flex-wrap: wrap;
    }
}
