/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #27AE60;
    --secondary-color: #2ECC71;
    --accent-color: #16A085;
    --dark-color: #2C3E50;
    --light-color: #ECF0F1;
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --gradient-primary: linear-gradient(135deg, #27AE60 0%, #2ECC71 100%);
    --gradient-secondary: linear-gradient(135deg, #2ECC71 0%, #16A085 100%);
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.25);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Header yüksekliği kadar offset */
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.nav-logo:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.nav-logo:hover .logo-icon {
    transform: rotate(10deg);
}

.logo-icon {
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.05"/><circle cx="10" cy="90" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.highlight {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::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.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Hero Phones Showcase */
.hero-phones-showcase {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: absolute;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.phone-left {
    left: -60px;
    top: -20px;
    z-index: 2;
    transform: rotate(-5deg) scale(0.95);
}

.phone-right {
    right: -60px;
    top: 20px;
    z-index: 3;
    transform: rotate(8deg) scale(1.05);
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: linear-gradient(135deg, #333 0%, #666 100%);
    border-radius: 3px;
    z-index: 10;
}

.phone-frame::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, #444 0%, #222 100%);
    border-radius: 50%;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    transition: all 0.3s ease;
}

/* Hover Effects */
.phone-mockup:hover {
    transform: rotate(0deg) scale(1.02) translateY(-10px);
    z-index: 10;
}

.phone-left:hover {
    transform: rotate(0deg) scale(1.02) translateY(-10px);
}

.phone-right:hover {
    transform: rotate(0deg) scale(1.08) translateY(-10px);
}

.phone-mockup:hover .phone-frame {
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 12px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    animation: floatAnimation 6s ease-in-out infinite;
}

.delivery-icon {
    top: 10%;
    left: -10%;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    animation-delay: 0s;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.pizza-icon {
    top: 60%;
    right: -5%;
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    animation-delay: -2s;
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.3);
}

.star-icon {
    top: 20%;
    right: 10%;
    background: linear-gradient(135deg, #FDBB2D 0%, #22C1C3 100%);
    animation-delay: -4s;
    box-shadow: 0 10px 30px rgba(253, 187, 45, 0.3);
}

.heart-icon {
    bottom: 20%;
    left: 5%;
    background: linear-gradient(135deg, #FA709A 0%, #FEE140 100%);
    animation-delay: -1s;
    box-shadow: 0 10px 30px rgba(250, 112, 154, 0.3);
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) rotate(-3deg);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-25px) rotate(2deg);
        opacity: 1;
    }
}

/* Responsive adjustments for phones */
@media (max-width: 768px) {
    .hero-phones-showcase {
        max-width: 350px;
        height: 400px;
        transform: scale(0.8);
    }
    
    .phone-frame {
        width: 200px;
        height: 400px;
    }
    
    .phone-left {
        left: -40px;
        top: -10px;
    }
    
    .phone-right {
        right: -40px;
        top: 10px;
    }
    
    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Extra small devices (portrait phones) */
@media (max-width: 480px) {
    .hero-phones-showcase {
        max-width: 280px;
        height: 300px;
        transform: scale(0.7);
    }
    
    .phone-frame {
        width: 160px;
        height: 320px;
        border-radius: 30px;
        padding: 8px;
    }
    
    .phone-frame::before {
        width: 80px;
        height: 4px;
        top: 15px;
    }
    
    .phone-frame::after {
        width: 12px;
        height: 12px;
        top: 25px;
    }
    
    .phone-screen {
        border-radius: 24px;
    }
    
    .phone-left {
        left: -30px;
        top: -5px;
    }
    
    .phone-right {
        right: -30px;
        top: 5px;
    }
    
    .floating-icon {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.features-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* About Image Showcase */
.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-app-showcase {
    position: relative;
    max-width: 300px;
}

.about-main-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
}

.about-main-image:hover {
    transform: scale(1.05) rotateY(5deg);
}

.showcase-overlay {
    position: absolute;
    top: -20px;
    right: -20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.showcase-badge {
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-medium);
    animation: pulse 2s ease-in-out infinite;
}

.showcase-stats {
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-icon {
    font-size: 1.2rem;
}

/* About Features Section */
.about-features-section {
    margin-top: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
}

/* Feature Card Styles */

/* App Section */
.app {
    padding: 8rem 0;
    background: var(--white);
}

.app-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

.app-info-and-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.app-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.app-features {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.app-feature:hover {
    background: white;
    box-shadow: var(--shadow-light);
}

.app-feature i {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 60px;
}

.app-feature h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.app-feature p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--dark-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    min-width: 160px;
    border: 2px solid transparent;
}

.store-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.store-button.google-play:hover {
    background: linear-gradient(135deg, #34A853 0%, #4285F4 100%);
}

.store-button.app-store:hover {
    background: linear-gradient(135deg, #000000 0%, #434343 100%);
}

.store-icon {
    font-size: 2rem;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1;
}

.store-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.app-preview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.app-showcase {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 100%;
}

.phone-mockup {
    width: 250px;
    height: 500px;
    background: linear-gradient(145deg, #2C3E50, #34495E);
    border-radius: 30px;
    padding: 20px;
    position: relative;
    box-shadow: var(--shadow-heavy);
    flex-shrink: 0;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #5D6D7E;
    border-radius: 2px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.app-features-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 350px;
}

.visual-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.visual-feature:hover {
    transform: translateY(-5px);
}

.feature-preview {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-light);
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-info h4 {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.feature-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* Visual Feature Active State */
.visual-feature.active {
    background: var(--light-color);
    border-left: 4px solid var(--primary-color);
    transform: translateX(10px);
}

.visual-feature.active .feature-info h4 {
    color: var(--primary-color);
}

/* Gallery Active State */
.gallery-item.active {
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.gallery-item.active .gallery-screenshot {
    transform: scale(1.05);
}

/* Menu Section */
.menu {
    padding: 8rem 0;
    background: var(--light-color);
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.menu-card:hover::before {
    transform: scaleX(1);
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.menu-image {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--light-color);
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-image:hover .category-image {
    transform: scale(1.1);
}

.menu-icon-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.menu-card:hover .menu-icon-overlay {
    transform: scale(1.1);
    background: var(--primary-color);
    color: white;
}

/* Fallback için icon stilini güncelle */
.menu-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

/* Image loading state */
.category-image {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.category-image.loaded {
    opacity: 1;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(231, 76, 60, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 80%, rgba(243, 156, 18, 0.05) 0%, transparent 20%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    background: white;
    box-shadow: var(--shadow-light);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 45px;
}

.contact-item h4 {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.85rem;
}

.contact-info {
    gap: 0.5rem;
}

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
    color: var(--text-dark);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-light);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    align-self: flex-start;
    margin-top: 0.5rem;
}

/* Form Message Styles */
.form-message {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 600;
    z-index: 10000;
    animation: slideInRight 0.3s ease;
}

.form-message.success {
    background: var(--accent-color);
}

.form-message.error {
    background: var(--primary-color);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Opening Hours Styles */
.opening-hours {
    margin-top: 0.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row .day {
    font-weight: 600;
    color: var(--dark-color);
    flex: 1;
}

.hours-row .time {
    color: var(--primary-color);
    font-weight: 500;
}

.hours-row .time.closed {
    color: #999;
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-logo:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.footer-logo:hover .logo-icon {
    transform: rotate(-10deg);
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-apps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-store-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

.footer-store-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* Modern Phone Loading Animation */
.app-screenshot {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.app-screenshot.loaded {
    opacity: 1;
}

.phone-frame.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: phoneLoadingSpin 1s linear infinite;
    z-index: 100;
}

@keyframes phoneLoadingSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Download Buttons Center */
.download-buttons-center {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-color);
    width: 100%;
}

.download-buttons-center .download-buttons {
    justify-content: center;
    margin-bottom: 1rem;
}

.download-text {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
}

/* Menu Loading Styles */
.menu-loading {
    text-align: center;
    padding: 4rem 0;
    display: block;
}

.menu-loading.hidden {
    display: none;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-spinner i {
    font-size: 3rem;
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

.loading-spinner p {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Menu Error State */
.menu-error {
    text-align: center;
    padding: 4rem 0;
    color: var(--primary-color);
}

.menu-error i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.menu-error h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Menu Count Style */
.menu-count {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-color);
}

.menu-count span {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Image Placeholder */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    color: var(--text-light);
    border: 2px dashed rgba(189, 195, 199, 0.5);
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.image-placeholder p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.7;
}

/* Load More Button Styles */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
}

.load-more-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0 auto;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.load-more-btn:active {
    transform: translateY(-1px);
}

.load-more-btn::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.6s;
}

.load-more-btn:hover::before {
    left: 100%;
}

.load-more-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.load-more-btn:hover i {
    transform: rotate(90deg);
}

.load-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

/* Loading state for load more button */
.load-more-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.load-more-btn.loading i {
    animation: spin 1s linear infinite;
}

/* All Loaded Message */
.all-loaded-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    background: rgba(46, 204, 113, 0.1);
    border: 2px solid rgba(46, 204, 113, 0.3);
    border-radius: 50px;
    margin: 0 auto;
    max-width: 300px;
    animation: fadeInScale 0.5s ease;
}

.all-loaded-message i {
    font-size: 1.3rem;
    animation: bounce 0.6s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Pagination Styles */
.pagination-container {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(44, 62, 80, 0.1);
}

.pagination-info {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pagination-btn {
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--light-color);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 110px;
    justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-number {
    width: 45px;
    height: 45px;
    border: 2px solid var(--light-color);
    background: white;
    color: var(--text-dark);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-number:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.pagination-number.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
}

.pagination-number.active:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.pagination-dots {
    color: var(--text-light);
    font-weight: bold;
    padding: 0 0.5rem;
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .pagination-controls {
        gap: 0.5rem;
    }
    
    .pagination-btn {
        padding: 0.7rem 1.2rem;
        min-width: 90px;
        font-size: 0.9rem;
    }
    
    .pagination-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .pagination-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pagination-numbers {
        order: -1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }    .app-info-and-preview {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-main-image {
        max-width: 280px;
    }

    .showcase-overlay {
        position: static;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        justify-content: center;
    }    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-row input {
        margin-bottom: 1rem;
    }
    
    .form-row input:last-child {
        margin-bottom: 0;
    }

    .menu-categories {
        grid-template-columns: 1fr;
    }    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .app-preview {
        flex-direction: column;
        gap: 2rem;
    }

    .app-showcase {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .app-features-visual {
        max-width: 100%;
    }

    .visual-feature {
        justify-content: center;
        text-align: center;
    }

    .visual-feature:hover {
        transform: translateY(-5px);
    }

    .download-buttons {
        justify-content: center;
    }

    .store-button {
        min-width: 140px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        padding-top: 120px;
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    .contact-form button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
      .contact-item {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .contact-item i {
        font-size: 1.25rem;
        min-width: 35px;
    }
    
    .contact-item h4 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .contact-item p {
        font-size: 0.85rem;
    }

    .pizza-container {
        width: 200px;
        height: 200px;
    }

    .pizza-slice {
        font-size: 2.5rem;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }
}

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-fill-mode: both;
}

/* Load more kategoriler için özel animasyon */
.menu-card.fade-in-up {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Image Loading States */
.hero-app-screenshot,
.feature-screenshot,
.app-screenshot,
.gallery-screenshot {
    opacity: 0;
    transition: all 0.6s ease;
}

.hero-app-screenshot.loaded,
.feature-screenshot.loaded,
.app-screenshot.loaded,
.gallery-screenshot.loaded {
    opacity: 1;
}

/* Image Hover Effects */
.hero-app-screenshot {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.hero-app-screenshot:hover {
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4));
}

/* =================================
   CATEGORY MODAL STYLES
   ================================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(50px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.modal-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.modal-title-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 2;
    position: relative;
}

.modal-category-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.modal-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.modal-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0.5rem 0 0 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
    position: relative;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    padding: 2rem;
    max-height: 65vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-color);
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Modal Items Grid - Ana grid tanımlaması */
.modal-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    padding: 0.5rem;
}

/* Responsive Grid System */

/* Extra Large Desktop - 4 columns for very wide screens (1400px+) */
@media (min-width: 1400px) {
    .modal-items-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.3rem;
    }
}

/* Large Desktop - 3 columns (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .modal-items-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

/* Medium Desktop - 3 columns (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .modal-items-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

/* Tablet Large - 3 columns (769px - 991px) */
@media (min-width: 769px) and (max-width: 991px) {
    .modal-items-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .modal-item-card {
        padding: 1rem;
        min-height: 260px;
    }
    
    .modal-item-name {
        font-size: 0.9rem;
    }
    
    .modal-item-price {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
    }
    
    .modal-item-description {
        font-size: 0.8rem;
    }
    
    .modal-item-image {
        height: 85px;
    }
}

/* Tablet Medium - 2 columns (641px - 768px) */
@media (min-width: 641px) and (max-width: 768px) {
    .modal-items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.8rem;
    }
    
    .modal-item-card {
        padding: 1.1rem;
        min-height: 240px;
    }
    
    .modal-item-name {
        font-size: 0.95rem;
    }
    
    .modal-item-price {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }
    
    .modal-item-description {
        font-size: 0.82rem;
    }
    
    .modal-item-image {
        height: 90px;
    }
}

/* Mobile Large - 2 columns (481px - 640px) */
@media (min-width: 481px) and (max-width: 640px) {
    .modal-items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .modal-item-card {
        padding: 1rem;
        min-height: 220px;
    }
    
    .modal-item-name {
        font-size: 0.9rem;
    }
    
    .modal-item-price {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
    
    .modal-item-description {
        font-size: 0.8rem;
    }
    
    .modal-item-image {
        height: 80px;
    }
}

/* Mobile Medium - 1 column (361px - 480px) */
@media (min-width: 361px) and (max-width: 480px) {
    .modal-items-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 0 0.3rem;
    }
    
    .modal-item-card {
        padding: 1rem;
        min-height: auto;
    }
    
    .modal-item-name {
        font-size: 1rem;
    }
    
    .modal-item-price {
        font-size: 0.85rem;
        padding: 0.3rem 0.8rem;
    }
    
    .modal-item-description {
        font-size: 0.85rem;
    }
    
    .modal-item-image {
        height: 100px;
    }
}

/* Mobile Small - 1 column (360px and below) */
@media (max-width: 360px) {
    .modal-items-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        padding: 0 0.2rem;
    }
    
    .modal-item-card {
        padding: 0.8rem;
        min-height: auto;
    }
    
    .modal-item-name {
        font-size: 0.95rem;
    }
    
    .modal-item-price {
        font-size: 0.8rem;
        padding: 0.25rem 0.7rem;
    }
    
    .modal-item-description {
        font-size: 0.8rem;
    }
    
    .modal-item-image {
        height: 90px;
    }
}

.modal-item-card {
    background: white;
    border: 2px solid var(--light-color);
    border-radius: 15px;
    padding: 1.2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

/* Modal item content wrapper */
.modal-item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.modal-item-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.modal-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.05), transparent);
    transition: left 0.6s ease;
}

.modal-item-card:hover::before {
    left: 100%;
}

.modal-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    gap: 0.5rem;
}

.modal-item-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.modal-item-price {
    background: var(--gradient-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 50px;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.modal-item-description {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.modal-item-image {
    width: 100%;
    height: 100px;
    background: var(--light-color);
    border-radius: 10px;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.modal-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modal-item-card:hover .modal-item-image img {
    transform: scale(1.1);
}

.modal-item-placeholder {
    color: var(--text-light);
    font-size: 2rem;
}

/* Modal Footer */
.modal-footer {
    background: var(--light-color);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(44, 62, 80, 0.1);
    gap: 2rem;
}

.modal-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.modal-item-count,
.modal-price-range {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
}

.modal-item-count {
    position: relative;
    padding-left: 1.5rem;
}

.modal-item-count::before {
    content: '📋';
    position: absolute;
    left: 0;
    top: 0;
}

.modal-price-range {
    position: relative;
    padding-left: 1.5rem;
}

.modal-price-range::before {
    content: '💰';
    position: absolute;
    left: 0;
    top: 0;
}

/* Modal Download Section */
.modal-download-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.modal-download-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    text-align: right;
}

.modal-store-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.modal-store-btn {
    background: var(--dark-color);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
    min-width: 140px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.modal-store-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.modal-store-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.modal-store-btn:hover::before {
    left: 100%;
}

.store-btn-icon {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.store-btn-label {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 400;
}

.store-btn-name {
    font-size: 1rem;
    font-weight: 700;
}

/* Google Play specific styling */
.modal-store-btn:first-child {
    background: linear-gradient(135deg, #34A853 0%, #4285F4 100%);
}

.modal-store-btn:first-child:hover {
    background: linear-gradient(135deg, #2E7D32 0%, #1976D2 100%);
}

/* App Store specific styling */
.modal-store-btn:last-child {
    background: linear-gradient(135deg, #000000 0%, #434343 100%);
}

.modal-store-btn:last-child:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
}

.modal-item-count::before {
    content: '📋';
    position: absolute;
    left: 0;
    top: 0;
}

.modal-price-range {
    position: relative;
    padding-left: 1.5rem;
}

.modal-price-range::before {
    content: '💰';
    position: absolute;
    left: 0;
    top: 0;
}

/* Extra Small Mobile (iPhone SE, older phones) */
@media (max-width: 360px) {
    .modal-items-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        padding: 0 0.2rem;
    }
    
    .modal-store-buttons {
        gap: 0.3rem;
    }
    
    .modal-store-btn {
        max-width: 120px;
        padding: 0.4rem 0.5rem;
        border-radius: 6px;
    }
    
    .store-btn-icon {
        font-size: 1rem;
    }
    
    .store-btn-name {
        font-size: 0.7rem;
    }
    
    .store-btn-label {
        font-size: 0.55rem;
    }
    
    .modal-download-title {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
}

/* Hero Image Loading States */
.hero-loading-spinner {
    animation: heroLoadingSpin 1s linear infinite;
}

@keyframes heroLoadingSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-app-preview {
    position: relative;
    overflow: hidden;
}

/* Image Loading Error State */
.hero-app-screenshot.error {
    background: linear-gradient(135deg, #fee, #fdd);
    border: 2px dashed #f56565;
    color: #e53e3e;
}