/* ============================================
   Fényképes Ajándéktárgyak - Modern CSS
   Színpaletta: Krém, Bézs, Púderrózsaszín, Korall
   ============================================ */

:root {
    /* Főszínek */
    --bg-cream: #FFF9F0;
    --bg-white: #FFFFFF;
    --beige: #E8DCC4;
    --sand: #D4C5A9;
    
    /* Kiegészítő színek */
    --powder-pink: #F4D7DA;
    --light-blue: #D4E4F7;
    --sage-green: #C8D5B9;
    
    /* Akcentusszín (CTA) */
    --coral: #FF8674;
    --coral-hover: #FF6B56;
    --orange: #FF9966;
    
    /* Szövegszínek */
    --text-dark: #3A3A3A;
    --text-medium: #6B6B6B;
    --text-light: #999999;
    
    /* Árnyékok */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    
    /* Átmenetek */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   Reset és Alapstílusok
   ============================================ */

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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ============================================
   Header és Navigáció
   ============================================ */

.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform var(--transition-medium);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 80px;
    width: auto;
    transition: transform var(--transition-medium);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coral);
    display: none;
}

/* Desktop Navigáció */
.nav-desktop {
    display: none;
}

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

.nav-menu li a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 0.7rem 1.3rem;
    border-radius: 12px;
    transition: all var(--transition-medium);
    position: relative;
    letter-spacing: 0.3px;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--coral), var(--orange));
    border-radius: 3px;
    transition: transform var(--transition-medium);
}

.nav-menu li a:hover {
    color: var(--coral);
    background: linear-gradient(135deg, rgba(255, 134, 116, 0.1), rgba(255, 153, 102, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 134, 116, 0.2);
}

.nav-menu li a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

/* Hamburger Menü */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1003;
    position: relative;
    transition: transform var(--transition-medium);
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--coral);
    border-radius: 3px;
    transition: all var(--transition-medium);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menü */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: #FFFFFF;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    padding: 6rem 2rem 2rem;
    transition: right var(--transition-medium);
    overflow-y: auto;
    z-index: 1002;
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-mobile-list li a {
    display: block;
    padding: 1rem;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    border-radius: 8px;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.nav-mobile-list li a:hover,
.nav-mobile-list li a:active,
.nav-mobile-list li a:focus {
    background: var(--bg-cream);
    border-left-color: var(--coral);
    transform: translateX(8px);
    outline: none;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-medium), visibility var(--transition-medium);
    z-index: 1001;
    pointer-events: none;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--powder-pink) 0%, var(--bg-cream) 100%);
    padding: 3rem 1rem;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition-medium);
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: var(--coral);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--coral-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--coral);
    border: 2px solid var(--coral);
}

.btn-secondary:hover {
    background: var(--coral);
    color: white;
    transform: translateY(-3px);
}

/* ============================================
   Product Grid
   ============================================ */

.products-section {
    padding: 3rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
    background: var(--beige);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--coral);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

.product-content {
    padding: 1rem;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--coral);
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sage-green);
    font-weight: 700;
}

/* ============================================
   Price Table
   ============================================ */

.price-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    min-width: 600px;
}

.price-table thead {
    background: var(--coral);
    color: white;
}

.price-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.price-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--beige);
}

.price-table tbody tr:hover {
    background: var(--bg-cream);
}

.price-table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================
   Features Section
   ============================================ */

.features-section {
    background: var(--bg-white);
    padding: 3rem 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    background: var(--bg-cream);
    transition: all var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--text-medium);
}

/* ============================================
   Contact Section
   ============================================ */

.contact-section {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-card {
    background: var(--bg-white);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-card p,
.contact-card a {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    display: block;
}

.contact-card a:hover {
    color: var(--coral);
}

.business-hours table {
    width: 100%;
    margin-top: 1rem;
}

.business-hours td {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--beige);
}

.business-hours tr:last-child td {
    border-bottom: none;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 1rem 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--powder-pink);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--coral);
}

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

/* ============================================
   Responsive Design - Tablet
   ============================================ */

@media (min-width: 768px) {
    .logo-img {
        height: 90px;
    }
    
    .header-container {
        padding: 1rem 2rem;
    }
    
    .hero {
        padding: 4rem 2rem;
    }
    
    .products-section {
        padding: 4rem 2rem;
    }
    
    .features-section {
        padding: 4rem 2rem;
    }
    
    .contact-section {
        padding: 4rem 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .product-content {
        padding: 1.5rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
        padding: 0;
    }
    
    .hero-container {
        padding: 0;
    }
    
    .hero-cta {
        gap: 1rem;
    }
    
    .btn {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .footer {
        padding: 3rem 2rem 1rem;
    }
}

/* ============================================
   Responsive Design - Desktop
   ============================================ */

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
    
    .nav-desktop {
        display: block;
    }
    
    .logo-img {
        height: 85px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

/* ============================================
   Utility Classes
   ============================================ */

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden {
    display: none;
}

/* ============================================
   Animációk
   ============================================ */

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Scroll animációk */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
