/*
* Infrakettle - Premium Akvafitness Studie
* Main Stylesheet
* Version: 1.0
*/

/* 
* Base Styles & Variables
*/
:root {
    --background-color: #E0F7FA;
    --primary-color: #00796B;
    --secondary-color: #004D40;
    --text-color: #1B1B1B;
    --light-color: #FFFFFF;
    --gray-color: #EEEEEE;
    --gray-dark-color: #AAAAAA;
    --success-color: #4CAF50;
    --warning-color: #FFC107;
    --error-color: #F44336;
    --border-radius: 6px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
    position: relative;
}

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

/* 
* Typography
*/
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--text-color);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 20px;
}

.section-header.light .section-title,
.section-header.light .section-subtitle {
    color: var(--light-color);
}

.section-header.light .section-title:after {
    background: var(--light-color);
}

/* 
* Buttons
*/
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    border: none;
    outline: none;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

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

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* 
* Header & Navigation
*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--background-color);
    box-shadow: var(--box-shadow);
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo img {
    height: 50px;
}

.main-nav .nav-list {
    display: flex;
}

.main-nav .nav-link {
    position: relative;
    padding: 10px 15px;
    font-weight: 500;
    color: var(--text-color);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--primary-color);
}

.main-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.main-nav .nav-link:hover:after,
.main-nav .nav-link.active:after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin-bottom: 5px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* 
* Hero Section
*/
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--light-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--light-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: repeat-y;
    background-attachment: fixed;
    will-change: transform;
    z-index: 0;
}

.hero .parallax-bg {
    background-image: url('../images/img01.jpg');
}

.parallax-bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 77, 64, 0.6);
    z-index: 1;
}

/* 
* About Section
*/
.about {
    background-color: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-text h3 {
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.about-list {
    margin-top: 25px;
}

.about-list li {
    display: flex;
    margin-bottom: 20px;
}

.about-icon {
    margin-right: 15px;
    flex-shrink: 0;
}

.about-detail h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* 
* Services Section
*/
.services {
    background-color: var(--background-color);
}

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

.service-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.service-icon {
    margin-bottom: 20px;
}

.service-title {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-description {
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
}

.service-link:hover {
    color: var(--secondary-color);
}

/* 
* Benefits Section
*/
.benefits {
    position: relative;
    color: var(--light-color);
}

.benefits-bg {
    background-image: url('../images/img03.jpg');
}

.benefits-bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 77, 64, 0.8);
    z-index: 1;
}

.benefits-content {
    position: relative;
    z-index: 5;
}

.benefits-tabs {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    background-color: rgba(255, 255, 255, 0.2);
}

.tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    color: var(--light-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background-color: var(--primary-color);
}

.tabs-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    color: var(--light-color);
    margin-bottom: 20px;
}

.benefit-item {
    display: flex;
    margin-bottom: 20px;
}

.benefit-icon {
    margin-right: 15px;
    flex-shrink: 0;
}

.benefit-detail h4 {
    color: var(--light-color);
    margin-bottom: 5px;
}

/* 
* Testimonials Section
*/
.testimonials {
    background-color: var(--light-color);
}

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

.testimonial-slide {
    padding: 20px;
}

.testimonial-content {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: -20px;
    left: 20px;
}

.testimonial-text {
    margin-top: 20px;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-name {
    color: var(--primary-color);
    margin-bottom: 0;
}

.author-status {
    font-size: 0.9rem;
    color: var(--gray-dark-color);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--gray-color);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* 
* Instructors Section
*/
.instructors {
    background-color: var(--background-color);
}

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

.instructor-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.instructor-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.instructor-info {
    padding: 20px;
}

.instructor-name {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.instructor-title {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.instructor-specialties {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
    gap: 10px;
}

.instructor-specialties span {
    background-color: var(--background-color);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* 
* Schedule Section
*/
.schedule {
    position: relative;
    color: var(--light-color);
}

.schedule-bg {
    background-image: url('../images/img04.jpg');
}

.schedule-bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 77, 64, 0.8);
    z-index: 1;
}

.schedule-content {
    position: relative;
    z-index: 5;
}

.schedule-tabs {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.schedule-nav {
    display: flex;
    background-color: rgba(255, 255, 255, 0.2);
}

.schedule-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    color: var(--light-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.schedule-btn:hover,
.schedule-btn.active {
    background-color: var(--primary-color);
}

.schedule-panes {
    padding: 30px;
}

.schedule-pane {
    display: none;
}

.schedule-pane.active {
    display: block;
}

/* Weekly Schedule */
.weekly-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.schedule-day {
    margin-bottom: 30px;
}

.day-title {
    color: var(--light-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.schedule-class {
    margin-bottom: 15px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.class-time,
.class-name,
.class-instructor {
    display: block;
}

.class-time {
    font-weight: 500;
    color: var(--background-color);
}

.class-instructor {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Membership Plans */
.membership-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.plan-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

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

.plan-card.featured {
    background-color: var(--primary-color);
    transform: scale(1.05);
}

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

.plan-tag {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--warning-color);
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.plan-title {
    color: var(--light-color);
    margin-bottom: 15px;
}

.plan-price {
    margin-bottom: 20px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-color);
}

.period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.plan-features {
    margin-bottom: 20px;
    text-align: left;
}

.plan-features ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.plan-features ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
}

/* Private Sessions */
.private-sessions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.session-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
}

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

.session-title {
    color: var(--light-color);
    margin-bottom: 10px;
}

.session-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 20px;
}

.discount {
    font-size: 0.9rem;
    color: var(--success-color);
}

.session-features {
    margin-bottom: 20px;
}

.session-features p {
    margin-bottom: 15px;
}

.session-features ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.session-features ul li {
    list-style-type: disc;
    margin-bottom: 5px;
}

/* 
* Contact Section
*/
.contact {
    background-color: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info {
    display: grid;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-icon {
    margin-right: 15px;
    flex-shrink: 0;
}

.info-detail h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-form {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray-color);
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.privacy-check {
    display: flex;
    align-items: center;
}

.privacy-check input {
    width: auto;
    margin-right: 10px;
}

.privacy-check label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* 
* Footer Section
*/
.footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.footer-links-column h4 {
    color: var(--light-color);
    margin-bottom: 20px;
    position: relative;
}

.footer-links-column h4:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links-column ul li a:hover {
    color: var(--light-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 
* Success Page Styles
*/
.success-message {
    padding: 120px 0;
    text-align: center;
}

.success-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.success-icon {
    margin-bottom: 20px;
}

.success-title {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.success-message-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.success-details {
    margin-top: 40px;
    margin-bottom: 40px;
}

.success-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.success-steps li {
    display: flex;
    align-items: flex-start;
}

.step-icon {
    margin-right: 15px;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.success-actions {
    margin-bottom: 40px;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.contact-info-small {
    border-top: 1px solid var(--gray-color);
    padding-top: 20px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.return-home {
    margin-top: 30px;
}

.home-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
}

.home-link svg {
    margin-right: 10px;
}

/* 
* Legal Pages Styles
*/
.legal-section {
    padding: 120px 0;
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
}

.legal-header h1 {
    color: var(--primary-color);
}

.last-updated {
    color: var(--gray-dark-color);
    font-size: 0.9rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--box-shadow);
}

.legal-intro {
    margin-bottom: 30px;
}

.legal-section-item {
    margin-bottom: 40px;
}

.legal-section-item h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-color);
}

.legal-section-item h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-section-item ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-section-item ul li {
    list-style-type: disc;
    margin-bottom: 10px;
}

.contact-info-list li {
    padding-left: 0 !important;
    list-style-type: none !important;
}

.legal-footer {
    text-align: center;
    margin-top: 50px;
}

.legal-footer p {
    margin-bottom: 20px;
}

/* 
* Responsive Styles
*/
@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--background-color);
        transition: var(--transition);
        z-index: 1000;
        overflow-y: auto;
    }
    
    /* Disable parallax effect on mobile */
    .parallax-bg {
        background-attachment: scroll;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav .nav-list {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav .nav-item {
        margin-bottom: 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .legal-content {
        padding: 30px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-content,
    .instructors-grid,
    .membership-plans,
    .private-sessions {
        grid-template-columns: 1fr;
    }
    
    .tabs-nav,
    .schedule-nav {
        flex-direction: column;
    }
    
    .tab-btn,
    .schedule-btn {
        width: 100%;
        text-align: center;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
}
