/* Modern CSS for Fényképes Naptár Website */
/* Colors: Red (#DC143C), White (#FFFFFF), Gray (#F5F5F5, #333333) */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F5F5F5;
}

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

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(220, 20, 60, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-container .logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-container .nav-menu {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 8px 12px;
        height: 60px;
    }

    .logo {
        flex: 1;
    }

    .logo-icon {
        font-size: 1.5rem;
        animation: none;
    }

    .logo-text h1 {
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .logo-text p {
        font-size: 0.65rem;
        line-height: 1;
    }
}

.logo-icon {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: block;
}

.nav-menu a {
    display: block;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 12px 16px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.nav-menu a:hover::before {
    left: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    align-items: center;
    gap: 8px;
}

.menu-text {
    display: none;
    font-size: 1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
        flex-shrink: 0;
    }

    .menu-text {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        max-height: 0;
        background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 8px 25px rgba(0,0,0,0.4);
        overflow: hidden;
        z-index: 998;
        border-radius: 0 0 15px 15px;
    }

    .nav-menu.active {
        max-height: 600px;
        opacity: 1;
        visibility: visible;
        padding: 15px 0;
    }

    .nav-menu li {
        display: block !important;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block !important;
        padding: 16px 25px;
        border-radius: 0;
        font-size: 1.05rem;
        transition: all 0.3s ease;
        color: white !important;
        text-decoration: none;
    }

    .nav-menu a:hover {
        background: rgba(255,255,255,0.2);
        transform: none;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 50%, #8B0000 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 80px;
    display: flex;
    align-items: center;
    min-height: 70vh;
}

@media (max-width: 768px) {
    .hero {
        margin-top: 60px;
        padding: 80px 0 60px;
        min-height: 60vh;
    }
}

.hero-content {
    flex: 1;
    padding: 0 40px;
    max-width: 600px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    opacity: 0.95;
    font-weight: 500;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: #DC143C;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background: #F5F5F5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #DC143C;
}

.price-highlight {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.highlight-price {
    color: #DC143C;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 10px;
}

.hero-image {
    flex: 1;
    padding: 0 40px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: rotate(-2deg);
}

/* Products Section */
.products {
    padding: 80px 0;
    background: white;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #DC143C;
    margin-bottom: 50px;
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #E0E0E0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #DC143C;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.product-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

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

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.1rem;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #DC143C;
}

.savings {
    color: #28a745;
    font-weight: 600;
    font-size: 0.95rem;
}

.highlight {
    color: #FFFFFF;
    font-weight: 700;
    font-style: italic;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}

.product-card.special {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    color: white;
    grid-column: 1 / -1;
    text-align: center;
}

.product-card.special h3,
.product-card.special p {
    color: white;
}

.product-card.special .current-price {
    color: #FFD700;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #F8F8F8;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #DC143C;
    margin-bottom: 50px;
    font-weight: 700;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

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

.feature {
    padding: 20px;
    background: #F5F5F5;
    border-radius: 10px;
    border-left: 4px solid #DC143C;
}

.feature h4 {
    color: #DC143C;
    margin-bottom: 10px;
    font-weight: 600;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
    background: white;
}

.advantages h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #DC143C;
    margin-bottom: 50px;
    font-weight: 700;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.advantage {
    text-align: center;
    padding: 30px;
    background: #F8F8F8;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.advantage:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.advantage h4 {
    color: #DC143C;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Inspiration Section */
.inspiration {
    padding: 80px 0;
    background: linear-gradient(135deg, #F5F5F5 0%, #E0E0E0 100%);
    text-align: center;
}

.inspiration h2 {
    font-size: 2.5rem;
    color: #DC143C;
    margin-bottom: 30px;
    font-weight: 700;
}

.inspiration p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.cta-section {
    margin-top: 40px;
}

.btn.large {
    padding: 18px 40px;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px rgba(220,20,60,0.3);
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #DC143C;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 10px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul a {
    color: #CCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: #DC143C;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 80px 0 60px;
    }

    .hero-content,
    .hero-image {
        padding: 0 20px;
    }

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

    .cta-buttons {
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .products h2,
    .about h2,
    .advantages h2,
    .inspiration h2 {
        font-size: 2rem;
    }

    .product-actions {
        flex-direction: column;
        gap: 8px;
    }

    .btn {
        width: 100%;
    }
}
