/* 
 * Main stylesheet for aidoggystyleporngame.love
 * Color scheme: Blue/Cyan with dark accents
 * Layout: Mobile-first with top navigation and grid layout
 */

:root {
    --primary-color: #0288D1;
    --secondary-color: #26C6DA;
    --dark-color: #102027;
    --light-color: #f9f9f9;
    --text-color: #263238;
    --text-light: #607D8B;
    --bg-color: #ffffff;
    --card-bg: #f5f5f5;
    --card-shadow: 0 4px 10px rgba(2, 136, 209, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Dark mode styles - will be toggled via JS */
body.dark-mode {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-color: #e0e0e0;
    --text-light: #aaaaaa;
    --card-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

h2 span {
    color: var(--primary-color);
}

h3 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.4);
    color: white;
}

.primary-button svg {
    margin-left: 8px;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.action-button {
    background: transparent;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.action-button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 100vh;
    gap: 0;
}

/* Header with Top Navigation */
.site-header {
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(2, 136, 209, 0.1);
}

.site-header .container {
    width: 100%;
    max-width: 1200px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 48px;
    height: 48px;
}

.site-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-color);
}

.site-title span {
    color: var(--secondary-color);
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.nav-link:not(.active)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-button {
    background: var(--gradient);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 15px;
    box-shadow: 0 4px 10px rgba(2, 136, 209, 0.2);
}

.nav-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(2, 136, 209, 0.3);
    color: white;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s linear;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--bg-color);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        padding: 80px 20px 30px;
        transition: right 0.3s ease;
        z-index: 5;
    }
    
    body.menu-open .main-nav {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-button {
        margin: 15px 0 0;
        width: 100%;
        text-align: center;
    }
}

/* Hero Section */
.hero-section {
    padding: 60px 0;
    overflow: hidden;
    position: relative;
    background-color: var(--light-color);
    background-image: linear-gradient(135deg, rgba(2, 136, 209, 0.05), rgba(38, 198, 218, 0.1));
}

.hero-section .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-title span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(2, 136, 209, 0.3);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(2, 136, 209, 0.4);
    color: white;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: rgba(2, 136, 209, 0.1);
    transform: translateY(-3px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(2, 136, 209, 0.2));
}

@media (min-width: 992px) {
    .hero-section .container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.section-title span {
    color: var(--primary-color);
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 8px;
    transition: var(--transition);
}

.feature-item:hover {
    background-color: rgba(2, 136, 209, 0.05);
    transform: translateY(-5px);
}

.feature-icon {
    flex-shrink: 0;
}

.feature-content h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
    font-size: 1.2rem;
}

.feature-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Gameplay Section */
.gameplay-section {
    padding: 80px 0;
    background-color: var(--light-color);
    background-image: linear-gradient(135deg, rgba(2, 136, 209, 0.03), rgba(38, 198, 218, 0.06));
}

.gameplay-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.gameplay-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
}

.gameplay-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(2, 136, 209, 0.15);
}

.card-icon {
    margin-bottom: 20px;
}

.gameplay-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.gameplay-card p {
    color: var(--text-light);
}

.gameplay-demo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 60px;
}

.demo-controls {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--card-shadow);
}

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

.control-group h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

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

.control-btn {
    padding: 8px 16px;
    border: 1px solid rgba(2, 136, 209, 0.3);
    border-radius: 20px;
    background-color: transparent;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.control-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.control-btn:hover:not(.active) {
    background-color: rgba(2, 136, 209, 0.1);
}

.slider-control {
    width: 100%;
}

.slider-control input {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    outline: none;
    margin-bottom: 10px;
}

.slider-control input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
}

.demo-preview {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-placeholder {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 30px;
}

.preview-action {
    margin-top: 20px;
}

@media (min-width: 992px) {
    .gameplay-demo {
        grid-template-columns: 1fr 2fr;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(2, 136, 209, 0.2);
}

.gallery-image {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-action {
    text-align: center;
    margin-top: 30px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content h2 span {
    position: relative;
    display: inline-block;
}

.cta-content h2 span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: white;
    border-radius: 2px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    background: var(--dark-color);
    color: white;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-branding {
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo svg {
    flex-shrink: 0;
}

.footer-logo span {
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-tagline {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav h3,
.footer-legal h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-nav ul,
.footer-legal ul {
    padding: 0;
    margin: 0;
}

.footer-nav li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-nav a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        align-items: start;
    }
}

.link-group h4 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 40px;
    background: var(--gradient);
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.link-group ul li a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pulse-element {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media screen and (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
    
    .hero-content {
        text-align: left;
        margin: 0;
    }
    
    .hero-section .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .hero-content {
        flex: 1;
    }
    
    .hero-visual {
        flex: 1;
        margin-top: 0;
    }
    
    .bottom-nav {
        display: none;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-links {
        flex: 1;
        justify-content: flex-end;
    }
}

@media screen and (min-width: 992px) {
    .site-header {
        padding: 20px 0;
    }
    
    .site-title h1 {
        font-size: 1.6rem;
    }
    
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
