/* ========================================
   BALONY NA WESELE - PIXEL ART RETRO STYLES
   ======================================== */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Courier New', monospace;
    line-height: 1.6;
    background: linear-gradient(135deg, #ff6b9d 0%, #4ecdc4 50%, #45b7d1 100%);
    background-attachment: fixed;
    color: #2c3e50;
    min-height: 100vh;
}

/* Pixel Art Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER STYLES
   ======================================== */

header {
    background: #2c3e50;
    border-bottom: 4px solid #e74c3c;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    color: #ff6b9d;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    image-rendering: pixelated;
    border: 2px solid #4ecdc4;
    border-radius: 8px;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
    flex-wrap: wrap;
}

nav li {
    background: #34495e;
    border: 2px solid #4ecdc4;
    transition: all 0.3s ease;
}

nav li:hover {
    background: #4ecdc4;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

nav a {
    display: block;
    padding: 12px 16px;
    color: #ecf0f1;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

nav li:hover a {
    color: #2c3e50;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    color: #ecf0f1;
    font-size: 0.9rem;
}

.contact-info a {
    color: #ff6b9d;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    color: #4ecdc4;
}

/* ========================================
   MAIN CONTENT STYLES
   ======================================== */

main {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

/* Hero Section */
.hero {
    background: url('img/hero-balony.webp') center/cover;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 40px;
    border: 4px solid #e74c3c;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.7);
}

.hero-content {
    text-align: center;
    color: #ecf0f1;
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
    background: rgba(231, 76, 60, 0.9);
    border: 3px solid #ff6b9d;
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.5);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #fff;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    background: #4ecdc4;
    color: #2c3e50;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border: 3px solid #45b7d1;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background: #45b7d1;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Content Sections */
.content-section {
    background: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    padding: 40px;
    border: 3px solid #4ecdc4;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #ff6b9d, #4ecdc4, #45b7d1, #e74c3c);
    z-index: -1;
    border-radius: 8px;
}

.content-section h2 {
    color: #e74c3c;
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    border-bottom: 3px solid #ff6b9d;
    padding-bottom: 10px;
}

.content-section h3 {
    color: #2c3e50;
    font-size: 1.6rem;
    margin: 25px 0 15px 0;
}

.content-section h4 {
    color: #34495e;
    font-size: 1.3rem;
    margin: 20px 0 10px 0;
}

.content-section p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.content-section strong {
    color: #e74c3c;
    font-weight: bold;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border: 3px solid #4ecdc4;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-color: #ff6b9d;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid #4ecdc4;
    image-rendering: crisp-edges;
}

.service-card h3 {
    color: #e74c3c;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 3px solid #4ecdc4;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: #ff6b9d;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    image-rendering: crisp-edges;
}

/* Pricing Table */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.price-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 20px;
    border: 3px solid #4ecdc4;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: #ff6b9d;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.price-card.featured {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.price-card h3 {
    color: #e74c3c;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
}

.price-features {
    list-style: none;
    margin-bottom: 25px;
}

.price-features li {
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
    font-size: 1rem;
}

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

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border: 3px solid #4ecdc4;
    max-width: 600px;
    margin: 30px auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #4ecdc4;
    background: #fff;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b9d;
    box-shadow: 0 0 8px rgba(255, 107, 157, 0.3);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.checkbox-group label {
    flex: 1;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.checkbox-group a {
    color: #e74c3c;
    text-decoration: underline;
}

.checkbox-group a:hover {
    color: #ff6b9d;
}

.submit-button {
    background: #e74c3c;
    color: #fff;
    padding: 15px 30px;
    border: 3px solid #c0392b;
    font-size: 1.1rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    width: 100%;
}

.submit-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.submit-button:active {
    transform: translateY(0);
}

/* Hidden honeypot field */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 20px 0;
    border-top: 4px solid #e74c3c;
    margin-top: 50px;
}

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

.footer-section h3 {
    color: #ff6b9d;
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #4ecdc4;
    padding-bottom: 8px;
}

.footer-section p,
.footer-section a {
    font-size: 1rem;
    line-height: 1.6;
    color: #ecf0f1;
    text-decoration: none;
}

.footer-section a:hover {
    color: #4ecdc4;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b9d;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    background: #34495e;
    padding: 10px;
    border: 2px solid #4ecdc4;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #ecf0f1;
    font-weight: bold;
}

.social-links a:hover {
    background: #4ecdc4;
    color: #2c3e50;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    font-size: 0.9rem;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

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

.text-highlight {
    color: #e74c3c;
    font-weight: bold;
}

.pixel-border {
    border: 3px solid #4ecdc4;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.retro-box {
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid #ff6b9d;
    padding: 20px;
    margin: 20px 0;
    position: relative;
}

.retro-box::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    background: linear-gradient(45deg, #4ecdc4, #ff6b9d);
    z-index: -1;
}

/* ========================================
   RESPONSIVE HELPERS
   ======================================== */

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

    .hero p {
        font-size: 1.1rem;
    }

    .content-section {
        padding: 20px;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .pricing-table {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
        margin: 20px 10px;
    }
}
