@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&family=Merriweather:wght@300;400;700&display=swap');
@import url('utils/animations.css');
@import url('components/buttons.css');
@import url('base/typography.css');
@import url('components/forms.css');
@import url('components/logos.css');
@import url('layout/header.css');
@import url('layout/hero.css');
@import url('layout/footer.css');
@import url('layout/navigation.css');
@import url('layout/copilot.css');

:root {
    --primary-color: #007bff; /* Primary color */
    --secondary-color: #0056b3; /* Secondary color */
    --background-color: #1a1a1a; /* Dark background color */
    --text-color: #f8f9fa; /* Light text color */
    transition: color 0.3s ease, background-color 0.3s ease; /* Smooth transition */
}

.container {
    max-width: 1200px; /* Max width */
    margin: 0 auto; /* Center horizontally */
    padding: 0 20px; /* Padding */
}

/* Add responsive design for larger screens */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px; /* Increase max-width for larger screens */
    }
}

section {
    padding: 4rem 0; /* Padding */
    position: relative; /* Position relative */
}

#dlaczego-my {
    display: flex; /* Use flexbox */
    justify-content: space-between; /* Space between content and image */
    align-items: flex-start; /* Align items to the top */
}

.section-content {
    flex: 0 0 60%; /* Take up 60% of the container width */
    text-align: left; /* Left-align text */
}

.section-image {
    flex: 0 0 35%; /* Take up 35% of the container width */
}

.section-content ul {
    list-style-type: none; /* Remove bullets */
    padding-left: 0; /* Remove default padding */
}

.section-content li {
    margin-bottom: 1rem; /* Add some space between list items */
}

section h2 {
    font-size: 2.5rem; /* Font size */
    margin-bottom: 1rem; /* Bottom margin */
    color: var(--primary-color); /* Color */
    text-align: center; /* Center the text */
    width: 100%; /* Ensure full width */
}

.offer-grid, .trainers-grid, .testimonial-grid {
    display: grid; /* Grid layout */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Auto-fit grid columns */
    gap: 2rem; /* Grid gap */
    margin-top: 2rem; /* Top margin */
}

.offer-item, .trainer-card, .testimonial-card {
    background-color: #2a2a2a; /* Slightly lighter than the background */
    color: var(--text-color);
    border-radius: 10px; /* Border radius */
    padding: 2rem; /* Padding */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Box shadow */
    transition: transform 0.3s ease; /* Smooth transform */
}

.offer-item:hover, .trainer-card:hover, .testimonial-card:hover {
    transform: translateY(-5px); /* Hover transform */
}

.offer-icon {
    font-size: 3rem; /* Font size */
    color: var(--primary-color); /* Color */
    margin-bottom: 1rem; /* Bottom margin */
}

.trainer-photo {
    width: 150px; /* Width */
    height: 150px; /* Height */
    border-radius: 50%; /* Border radius */
    object-fit: cover; /* Object fit */
    margin-bottom: 1rem; /* Bottom margin */
}

.testimonial-card {
    font-style: italic; /* Font style */
}

/* Add this to your existing styles */
.full-width-white {
    background-color: white; /* White background */
    color: #333; /* Darker text color for contrast */
    width: 100vw; /* Full viewport width */
    position: relative; /* Relative position */
    left: 50%; /* Center horizontally */
    right: 50%; /* Center horizontally */
    margin-left: -50vw; /* Center horizontally */
    margin-right: -50vw; /* Center horizontally */
    padding: 40px 0; /* Add some padding */
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .offer-grid, .trainers-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .client-logo {
        width: 80px;
        height: 40px;
        margin: 0 10px;
    }
}

.full-width {
    width: 100vw; /* Full viewport width */
    position: relative; /* Relative position */
    left: 50%; /* Center horizontally */
    right: 50%; /* Center horizontally */
    margin-left: -50vw; /* Center horizontally */
    margin-right: -50vw; /* Center horizontally */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

html {
    scroll-behavior: smooth;
}

.narrow-content {
  max-width: 960px;
  margin: 0 auto;
}

/* Improve accessibility */
:focus {
    outline: 2px solid var(--primary-color); /* Add focus styles for keyboard navigation */
}

/* Add print styles */
@media print {
    .hero-content video, .cta-button, nav {
        display: none; /* Hide unnecessary elements when printing */
    }
}

/* Add or modify these styles */
#why-ai .narrow-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.why-ai-text {
    flex: 1;
}

.why-ai-images {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-ai-images img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 768px) {
    #why-ai .narrow-content {
        flex-direction: column;
    }

    .why-ai-images {
        flex: 0 0 100%;
        flex-direction: row;
    }

    .why-ai-images img {
        width: calc(50% - 10px);
    }
}