/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Patrick Hand SC', cursive;
    line-height: 1.6;
    color: #333;
}

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

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3 {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header styles */
header {
    background-color: #9ba879;
    padding: 20px 0;
}

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

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

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

.logo h1 {
    font-size: 24px;
    margin: 0;
    color: white;
}

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

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    font-size: 18px;
    transition: opacity 0.3s;
}

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

/* Hero section */
.hero {
    padding: 50px 0;
    background-color: white;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-image {
    flex: 1;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.google-play {
    display: inline-block;
    margin-top: 20px;
}

.google-play img {
    max-width: 200px;
}

/* About section */
.about {
    padding: 50px 0;
    background-color: #9ba879;
    text-align: center;
}

.about h2 {
    font-size: 32px;
    color: white;
    margin-bottom: 30px;
}

.about-image {
    max-width: 800px;
    margin: 0 auto 30px;
}

.about p {
    max-width: 800px;
    margin: 0 auto 20px;
    color: white;
    font-size: 18px;
}

/* Advantages section */
.advantages {
    padding: 50px 0;
    background-color: white;
}

.advantages h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.advantage-item {
    border: 1px solid #e0e0e0;
    padding: 20px;
}

.advantage-icon img {
    width: 40px;
    margin-bottom: 15px;
}

.advantage-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* Download section */
.download {
    padding: 50px 0;
    background-image: url('./assets/download-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: white;
}

.download h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

/* Gallery section */
.gallery {
    padding: 50px 0;
    background-color: #9ba879;
}

.gallery h2 {
    text-align: center;
    color: white;
    font-size: 32px;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.3s;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

/* Newsletter section */
.newsletter {
    padding: 50px 0;
    background-color: white;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.newsletter-image {
    flex: 1;
}

.newsletter-form {
    flex: 1;
}

.newsletter-form h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}

input[type="email"] {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    font-family: 'Patrick Hand SC', cursive;
    font-size: 16px;
}

button[type="submit"] {
    background-color: #9ba879;
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-family: 'Patrick Hand SC', cursive;
    font-size: 18px;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #848e63;
}

/* Footer */
footer {
    padding: 20px 0;
    background-color: white;
    border-top: 1px solid #e0e0e0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #777;
}

.footer-links a {
    color: #777;
    margin-left: 20px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #9ba879;
    color: white;
    padding: 20px;
    max-width: 600px;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.cookie-popup.show {
    display: block;
}

.cookie-content h2 {
    text-align: center;
    margin-bottom: 15px;
}

.cookie-content p {
    margin-bottom: 20px;
    text-align: center;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cookie-buttons button {
    padding: 10px 30px;
    cursor: pointer;
    font-family: 'Patrick Hand SC', cursive;
    font-size: 16px;
    border: none;
    background-color: white;
    transition: background-color 0.3s;
}

.cookie-buttons button:hover {
    background-color: #f0f0f0;
}

/* Responsive styles */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px 10px;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-content {
        flex-direction: column;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
    
    .cookie-popup {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

.main-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.main-section h1 {
    font-size: 36px;
    margin-bottom: 30px;
}

html {
    scroll-behavior: smooth;
}