/* Glory Estate - American Style CSS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    max-width: 1180px;
    margin: 0 auto;
    background: #ffffff;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Hero Section - Block 1 */
.hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #c31432 100%);
    color: white;
    min-height: 430px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
}

.hero-section h1 {
    color: white;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-section h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta-section {
    margin-top: 3rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(238, 90, 82, 0.3);
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(238, 90, 82, 0.4);
    background: linear-gradient(45deg, #ee5a52, #ff6b6b);
}

/* Products Section - Block 3 */
.products-section {
    background: #f8f9fa;
    padding: 80px 0;
    border-bottom: 3px solid #e9ecef;
}

.products-section h2 {
    text-align: center;
    color: #1e3c72;
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 4rem;
}

.product-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #2a5298;
}

.product-card.featured {
    border: 3px solid #c31432;
    transform: scale(1.05);
}

.product-card.featured::before {
    content: 'NAJPOPULARNIEJSZY';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #c31432;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.product-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #c31432;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.product-card ul {
    list-style: none;
    text-align: left;
}

.product-card li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 25px;
}

.product-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Article Section */
.article-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px;
    border-radius: 20px;
    margin-top: 4rem;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.article-section h3 {
    color: white;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.article-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

/* Reviews Section - Block 5 */
.reviews-section {
    background: white;
    padding: 80px 0;
    border-bottom: 3px solid #e9ecef;
}

.reviews-section h2 {
    text-align: center;
    color: #1e3c72;
    margin-bottom: 3rem;
}

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

.review-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(240, 147, 251, 0.3);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-8px);
}

.review-header {
    margin-bottom: 1.5rem;
}

.review-header h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.review-role {
    font-size: 0.9rem;
    opacity: 0.9;
    font-style: italic;
}

.review-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.rating {
    font-size: 1.5rem;
    color: #ffd700;
    text-align: center;
}

/* Specialists Section - Block 4 */
.specialists-section {
    background: #f8f9fa;
    padding: 80px 0;
    border-bottom: 3px solid #e9ecef;
}

.specialists-section h2 {
    text-align: center;
    color: #1e3c72;
    margin-bottom: 3rem;
}

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

.specialist-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 5px solid #c31432;
    transition: all 0.3s ease;
}

.specialist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.specialist-card h4 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.specialist-role {
    color: #c31432;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: block;
}

.specialist-card p:last-child {
    color: #666;
    line-height: 1.7;
}

/* Newsletter Section - Block 2 */
.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.newsletter-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.newsletter-section p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.form-group input:focus {
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.subscribe-button {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(238, 90, 82, 0.3);
}

.subscribe-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(238, 90, 82, 0.4);
}

.privacy-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Contact Section - Block 6 */
.contact-section {
    background: white;
    padding: 80px 0;
    border-bottom: 3px solid #e9ecef;
}

.contact-section h2 {
    text-align: center;
    color: #1e3c72;
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.address-info {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    border-left: 5px solid #c31432;
}

.address-info h3 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
}

.address-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Footer - Block 7 */
.footer {
    background: #1e3c72;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-section {
        min-height: 500px;
    }

    .hero-section .container {
        padding: 40px 15px;
    }

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

    .product-card.featured {
        transform: none;
    }

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

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

    .contact-info {
        grid-template-columns: 1fr;
    }

    .article-section {
        padding: 30px 20px;
        margin-top: 2rem;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .subscribe-button {
        padding: 15px 40px;
        font-size: 1rem;
    }
}

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

    .hero-section h2 {
        font-size: 1.4rem;
    }

    .price {
        font-size: 2rem;
    }

    .products-section,
    .reviews-section,
    .specialists-section,
    .newsletter-section,
    .contact-section {
        padding: 60px 0;
    }

    .product-card,
    .review-card,
    .specialist-card {
        padding: 30px 20px;
    }

    .article-section {
        padding: 25px 15px;
    }
}
