/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    /* Logo styles moved to correct location */
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
header {
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 80px; /* Fixed header height */
}

nav {
    height: 100%;
    display: flex;
    align-items: center;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: #2c3e50;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

.logo {
    height: 180%;
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
}

.header-logo {
    max-height: 100%;
    width: auto;
    transition: transform 0.3s ease;
    padding: 0.5rem 0;
}

.header-logo:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #3498db;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
#home {
    height: 100vh;
    position: relative;
}

.hero-section {
    height: 100%;
    width: 100%;
    background-image: url('https://i.ibb.co/YT4BfwPY/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.main-logo {
    width: auto;
    height: 280px;
    margin-bottom: 0.5rem;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.image-button {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.image-button:hover {
    transform: scale(1.05);
}

.button-image {
    max-width: 200px;
    height: auto;
}

/* Keep the original cta-button style for other buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #c0392b;
}

.car-button {
    background-color: #2980b9;
    margin-top: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.car-button:hover {
    background-color: #2471a3;
}

/* Features Section */
#features {
    padding: 5rem 1rem;
    background-color: #f9f9f9;
}

#features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-img {
    margin-bottom: 1rem;
}

.feature-img img {
    width: 100%;
    border-radius: 5px;
}

.feature-card h3 {
    margin: 1.5rem 0;
    color: #2c3e50;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
}

.feature-card p {
    text-align: center;
    color: #34495e;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 1.2rem 0;
    font-weight: 400;
    padding: 0 1rem;
}

.car-button-container {
    text-align: center;
    margin: 1rem 0;
}

.car-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #2980b9;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.car-button:hover {
    background-color: #2471a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Store Section */
#about {
    padding: 5rem 1rem;
    position: relative;
}

.language-switcher {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.flags-top-right {
    display: flex;
    gap: 10px;
}

.flag {
    width: 30px;
    height: 20px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.3s ease;
}

.flag:hover {
    transform: scale(1.1);
}

.flag.selected {
    border-color: #3498db;
}

.store-info {
    max-width: 1200px;
    margin: 0 auto;
}

.store-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.store-text {
    color: #2c3e50;
}

.store-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.store-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.store-text ul {
    list-style: none;
    padding: 0;
}

.store-text li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.store-text li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
}

.store-map {
    width: 100%;
}

.store-map h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.map-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: transform 0.3s ease;
}

.map-image:hover {
    transform: scale(1.02);
}

.lang-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.lang-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Section */
#contact {
    padding: 5rem 1rem;
    background-color: #f9f9f9;
}

#contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 0 1rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item strong {
    display: block;
    color: #3498db;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item p {
    color: #2c3e50;
    font-size: 1.1rem;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3498db;
    outline: none;
}

.contact-form button[type="submit"] {
    position: relative;
}

.contact-form button[type="submit"].loading {
    color: transparent;
}

.contact-form button[type="submit"].loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #fff;
    border-radius: 50%;
    border-right-color: transparent;
    animation: rotate 0.8s linear infinite;
}

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

[data-en-placeholder][data-gr-placeholder] {
    transition: placeholder 0.3s ease;
}

.form-feedback {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-feedback.success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.form-feedback.error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 1rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
/* Tablet Devices */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    /* Navigation */
    header {
        height: 70px; /* Slightly smaller on mobile */
    }
    
    nav {
        justify-content: center;
        padding: 0 1rem;
    }

    .logo {
        height: 50px;
        padding: 0;
    }

    .header-logo {
        height: 35px; /* Slightly smaller logo on mobile */
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
        display: none; /* Will be shown with JavaScript */
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

.mobile-menu-btn {
    display: block;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1001;
}    /* Hero Section */
    .hero-content {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Features Section */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    /* Store Section */
    .store-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .language-switcher {
        top: 1rem;
        right: 1rem;
    }

    .store-text h2 {
        font-size: 2rem;
    }

    .store-map {
        order: -1;
    }

    .map-image {
        max-width: 100%;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    /* Contact Section */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 2rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    #features h2,
    #about h2,
    #contact h2 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 1rem;
    }
}

/* Handle device orientation */
@media (orientation: landscape) and (max-height: 500px) {
    #hero {
        height: auto;
        min-height: 100vh;
        padding: 6rem 1rem 2rem;
    }

    .hero-content {
        margin: 2rem 0;
    }
}
