/* 
   Vintorize Boxing Studio CSS
   Author: Claude
   Version: 1.0
*/

/* ===== CSS RESET AND BASE STYLES ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #2D2D2D;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.2rem;
}

p {
    margin-bottom: 1rem;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

a {
    color: #FBC02D;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #D32F2F;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== UTILITY CLASSES ===== */
.img-responsive {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: #D32F2F;
    color: #FFFFFF;
}

.primary-btn:hover {
    background-color: #b71c1c;
    color: #FFFFFF;
}

.secondary-btn {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #D32F2F;
}

.secondary-btn:hover {
    background-color: #D32F2F;
    color: #FFFFFF;
}

/* ===== HEADER ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background-color: rgba(45, 45, 45, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    flex: 0 0 auto;
}

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

.main-nav {
    flex: 1 1 auto;
    text-align: center;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
}

.nav-list li {
    margin: 0 0.75rem;
}

.nav-list a {
    color: #FFFFFF;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.5rem 0;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #D32F2F;
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

.header-contact {
    display: block;
}

.phone, .email {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
}

.icon {
    width: 20px;
    height: 20px;
    fill: #D32F2F;
    margin-right: 0.5rem;
}

.header-contact a {
    color: #FFFFFF;
    font-size: 0.9rem;
}

.header-contact a:hover {
    color: #FBC02D;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #FFFFFF;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 6px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 14px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 22px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 14px;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 14px;
}

/* ===== HERO BANNER ===== */
.hero-banner {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 6rem 0;
    margin-top: 80px;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slogan {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #FBC02D;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ===== SECTIONS COMMON STYLES ===== */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #D32F2F;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background-color: #232323;
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 3rem;
}

.about-text {
    flex: 0 0 60%;
    padding-right: 2rem;
}

.about-image {
    flex: 0 0 40%;
    border: 3px solid #D32F2F;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transform: rotate(2deg);
}

.features {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.feature {
    flex: 1 1 300px;
    margin: 0 1rem 2rem;
    padding: 1.5rem;
    background-color: #2D2D2D;
    border-left: 4px solid #D32F2F;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    fill: #FBC02D;
    margin-bottom: 1rem;
}

/* ===== TRAINERS SECTION ===== */
.trainers-section {
    background-color: #2D2D2D;
}

.trainers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.trainer-card {
    flex: 0 0 calc(33.333% - 2rem);
    background-color: #232323;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.trainer-card:hover {
    transform: translateY(-10px);
}

.trainer-image {
    height: 300px;
    overflow: hidden;
}

.trainer-image img {
    transition: transform 0.5s ease;
}

.trainer-card:hover .trainer-image img {
    transform: scale(1.05);
}

.trainer-info {
    padding: 1.5rem;
    text-align: center;
}

.trainer-title {
    color: #D32F2F;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ===== SCHEDULE SECTION ===== */
.schedule-section {
    background-color: #232323;
}

.schedule-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid #D32F2F;
    color: #FFFFFF;
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem 1rem;
    cursor: pointer;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #D32F2F;
    color: #FFFFFF;
}

.schedule-table-container {
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.schedule-table th, .schedule-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid #444;
}

.schedule-table th {
    background-color: #D32F2F;
    color: #FFFFFF;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.schedule-table td:first-child {
    font-weight: 700;
    background-color: #333;
}

.class-cell {
    position: relative;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.class-cell:hover {
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.class-cell span {
    display: block;
    font-size: 0.9rem;
    font-weight: normal;
    color: #CCC;
}

.nybörjare {
    background-color: #2e7d32;
}

.medel {
    background-color: #f57c00;
}

.avancerad {
    background-color: #c62828;
}

/* ===== PROGRAMS SECTION ===== */
.programs-section {
    background-color: #2D2D2D;
}

.programs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.program-card {
    flex: 0 0 calc(33.333% - 2rem);
    padding: 2rem;
    background-color: #232323;
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-icon {
    margin-bottom: 1.5rem;
}

.program-svg {
    width: 60px;
    height: 60px;
    fill: #FBC02D;
}

.program-features {
    margin: 1.5rem 0;
    text-align: left;
    list-style-type: none;
}

.program-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #444;
    position: relative;
    padding-left: 1.5rem;
}

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

.program-features li::before {
    content: "•";
    color: #D32F2F;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background-color: #232323;
    position: relative;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.8s ease forwards;
}

.testimonial-slide.active {
    display: block;
}

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

.testimonial-content {
    background-color: #2D2D2D;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
}

.quote-icon {
    width: 40px;
    height: 40px;
    fill: #D32F2F;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    margin-top: 1.5rem;
}

.author-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #FBC02D;
}

.author-info {
    font-size: 0.9rem;
    color: #CCC;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #666;
    margin: 0 0.5rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.testimonial-dot.active, .testimonial-dot:hover {
    background-color: #D32F2F;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
    background-color: #2D2D2D;
    position: relative;
}

.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.pricing-card {
    flex: 0 0 calc(33.333% - 2rem);
    background-color: #232323;
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid #D32F2F;
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    background-color: #1a1a1a;
}

.pricing-header h3 {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    color: #FBC02D;
    font-weight: 700;
}

.price span {
    font-size: 1rem;
    color: #CCC;
    font-weight: normal;
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #444;
    position: relative;
    padding-left: 1.5rem;
}

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

.pricing-features li::before {
    content: "✓";
    color: #FBC02D;
    position: absolute;
    left: 0;
}

.pricing-card .btn {
    display: block;
    margin: 0 2rem 2rem;
}

.pricing-note {
    text-align: center;
    font-size: 0.9rem;
    max-width: 800px;
    margin: 0 auto;
    color: #CCC;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    background-color: #232323;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-info {
    text-align: center;
    padding: 1rem;
}

.gallery-info h3 {
    color: #FBC02D;
    margin-bottom: 0.5rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background-color: #2D2D2D;
    position: relative;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1 1 350px;
}

.info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    fill: #D32F2F;
    margin-right: 1rem;
}

.info-item h3 {
    margin-bottom: 0.5rem;
    color: #FBC02D;
}

.map-container {
    margin-top: 2rem;
    border: 3px solid #D32F2F;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    display: block;
}

.contact-form-container {
    flex: 1 1 350px;
}

.contact-form {
    background-color: #232323;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #444;
    background-color: #333;
    color: #FFFFFF;
    border-radius: 3px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #D32F2F;
    outline: none;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.form-checkbox input {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

.form-checkbox label {
    font-weight: normal;
    font-size: 0.9rem;
}

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

/* ===== SUCCESS PAGE ===== */
.success-section {
    min-height: calc(100vh - 350px);
    display: flex;
    align-items: center;
    padding: 5rem 0;
    margin-top: 80px;
}

.success-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background-color: #232323;
    padding: 3rem 2rem;
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.success-icon {
    width: 80px;
    height: 80px;
    fill: #4CAF50;
    margin-bottom: 2rem;
}

/* ===== PAGE CONTENT ===== */
.page-content {
    margin-top: 80px;
    padding: 5rem 0;
}

.page-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #D32F2F;
}

.content-block {
    margin-bottom: 2.5rem;
}

.content-block h2 {
    color: #FBC02D;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.content-block h3 {
    color: #D32F2F;
    margin: 1.5rem 0 1rem;
    font-size: 1.8rem;
}

.last-updated {
    font-size: 0.9rem;
    color: #CCC;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.contact-list {
    list-style-type: none;
    margin-left: 0;
}

.contact-list li {
    margin-bottom: 0.5rem;
}

.back-link {
    text-align: center;
    margin-top: 3rem;
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: #1a1a1a;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 0 0 100%;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin: 0 auto;
    margin-bottom: 1rem;
}

.footer-slogan {
    color: #FBC02D;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 700;
}

.footer-links, .footer-legal, .footer-contact {
    flex: 1 1 200px;
    margin-bottom: 2rem;
}

.footer-content h3 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #D32F2F;
}

.footer-content ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.footer-content ul li {
    margin-bottom: 0.75rem;
}

.footer-content ul li a {
    color: #CCC;
    transition: color 0.3s ease;
}

.footer-content ul li a:hover {
    color: #FBC02D;
}

.footer-contact p {
    margin-bottom: 0.75rem;
    color: #CCC;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #999;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #D32F2F;
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #b71c1c;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: #FFFFFF;
}

/* ===== RESPONSIVE STYLES ===== */
@media screen and (max-width: 1024px) {
    .header-contact {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .slogan {
        font-size: 1.5rem;
    }
    
    .about-text, .about-image {
        flex: 0 0 100%;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .trainer-card, .program-card, .pricing-card {
        flex: 0 0 calc(50% - 2rem);
    }
}

@media screen and (max-width: 768px) {
    .main-nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #232323;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        visibility: hidden;
        opacity: 0;
    }
    
    .main-nav.active {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }
    
    .nav-list {
        flex-direction: column;
    }
    
    .nav-list li {
        margin: 0.5rem 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .slogan {
        font-size: 1.3rem;
    }
    
    .trainer-card, .program-card, .pricing-card {
        flex: 0 0 100%;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .footer-logo, .footer-links, .footer-legal, .footer-contact {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .footer-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .slogan {
        font-size: 1.1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .feature, .program-card, .pricing-card {
        margin-bottom: 2rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .filter-btn {
        margin-bottom: 0.5rem;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
