/* 
 * VytepujSi.sk - Modern Design System
 * Lokálna požičovňa Bratislava
 * Design: Clean, professional with eco-friendly accent
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Bricolage+Grotesque:wght@600;700;800&display=swap');

:root {
    /* Colors - Eco-friendly & Professional */
    --primary: #2D6A4F;
    --primary-light: #40916C;
    --primary-dark: #1B4332;
    --accent: #F9C80E;
    --accent-light: #FFF4C2;
    
    --text-dark: #1A1A1A;
    --text-body: #4A4A4A;
    --text-light: #757575;
    
    --bg-white: #FFFFFF;
    --bg-cream: #FEFEF8;
    --bg-light: #F5F7F6;
    --bg-green-soft: #E8F3EE;
    
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    
    /* Typography */
    --font-display: 'Bricolage Grotesque', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--bg-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    line-height: 1.3;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--text-body);
    margin-bottom: 0.75rem;
}

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

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-accent {
    background: var(--accent);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
    background: #E8B800;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Sticky Header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.sticky-header.hidden {
    transform: translateY(-100%);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.logo img {
    width: 50px;
    height: 50px;
}

.phone-sticky {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.125rem;
    transition: all var(--transition-base);
    text-decoration: none;
}

.phone-sticky:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    color: white;
}

.phone-icon {
    font-size: 1.25rem;
}

/* Hero Section */
.hero {
    min-height: 55vh;
    display: flex;
    align-items: center;
    padding: 4.5rem 2rem 1.5rem;
    background: linear-gradient(135deg, var(--bg-green-soft) 0%, var(--bg-cream) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.05;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, -30px) rotate(5deg); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    max-width: 700px;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: white;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.hero h1 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p.lead {
    font-size: 0.9375rem;
    color: var(--text-body);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Grid Cards - Main Navigation */
.grid-cards {
    padding: 1.5rem 2rem;
    background: var(--bg-cream);
}

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

.grid-cards-container h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.grid-cards-container > .text-center {
    margin-bottom: 1.5rem;
}

.grid-cards-container > .text-center p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    border: 3px solid var(--primary);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.15);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 32px rgba(45, 106, 79, 0.25);
    border-color: var(--accent);
    background: linear-gradient(135deg, white 0%, var(--bg-green-soft) 100%);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--bg-green-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all var(--transition-base);
}

.card:hover .card-icon {
    background: var(--primary);
    transform: scale(1.1) rotate(5deg);
}

.card:hover .card-icon svg,
.card:hover .card-icon i {
    color: white;
}

.card h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
    font-weight: 800;
    position: relative;
    padding-bottom: 0.5rem;
}

/*.card h3::after {
    content: '→';
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 1.5rem;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-base);
}*/

.card:hover h3 {
    color: var(--primary);
}

.card:hover h3::after {
    opacity: 1;
    transform: translateX(0);
}

.card p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Floating Contact Buttons */
.floating-contacts {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 900;
    animation: slideInRight 0.6s ease-out 0.5s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.floating-btn.facebook {
    background-color: #0084ff;
}

.floating-btn.facebook:hover {
    background-color: #0070d8;
}
.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.floating-btn.phone {
    background: var(--primary);
}

.floating-btn.whatsapp {
    background: #25D366;
}

.floating-btn-tooltip {
    position: absolute;
    right: calc(100% + 1rem);
    background: var(--text-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.floating-btn:hover .floating-btn-tooltip {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 30vh;
        padding: 6rem 1.5rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.375rem;
    }
    
    .hero p.lead {
        font-size: 0.875rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .card {
        padding: 1.25rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
    }
    
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .phone-sticky {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }
    
    .floating-contacts {
        bottom: 1rem;
        right: 1rem;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .floating-btn-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Product Page Styles */
.product-hero {
    padding: 5.5rem 2rem 2.5rem;
    background: linear-gradient(135deg, var(--bg-green-soft) 0%, white 100%);
}

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

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-image img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.product-info h1 {
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
    line-height: 1.2;
}

.product-info p.lead {
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-price {
    display: inline-flex;
    gap: 0rem;
    background: var(--accent-light);
    padding: 0rem 1rem;
    width: 32%;
    border-radius: var(--radius-md);
    margin: 1rem 0;
    flex-direction: column;
    align-items: center;
}

.product-price .price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.product-price .period {
    font-size: 0.9375rem;
    color: var(--text-light);
}

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

.features-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9375rem;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list .icon {
    color: var(--primary);
    font-size: 1.125rem;
    flex-shrink: 0;
}

/* Pricing Cards */
.pricing-section {
    padding: 4rem 2rem;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured::before {
    content: 'ZĽAVA';
    position: absolute;
    top: -12px;
    right: 2rem;
    background: var(--accent);
    color: var(--text-dark);
    padding: 0.25rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 700;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.pricing-title {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.pricing-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.pricing-period {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 2rem;
    background: var(--bg-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-green-soft);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-body);
    line-height: 1.8;
}

/* Form Styles */
.form-section {
    padding: 4rem 2rem;
    background: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--bg-green-soft);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .product-grid,
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-hero {
        padding: 4.5rem 1.5rem 2rem;
    }
    
    .product-info h1 {
        font-size: 1.5rem;
    }
    
    .product-price .price {
        font-size: 1.75rem;
    }
    
    .features-list li {
        padding: 0.5rem 0;
        font-size: 0.875rem;
    }
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.eco-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-green-soft);
    color: var(--primary-dark);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
}
