/* 
* Main Stylesheet for Decozenora Website
* Author: Developer
* Version: 1.0
*/

/* ===== Base Styles ===== */
:root {
    --primary-color: #2A9D8F;
    --secondary-color: #264653;
    --accent-color: #E9C46A;
    --light-color: #ffffff;
    --grey-light: #f5f5f5;
    --grey-medium: #e0e0e0;
    --grey-dark: #666666;
    --text-color: #333333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

ul, ol {
    list-style-type: none;
    margin-left: 0;
}

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

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

section {
    padding: 5rem 0;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.primary-btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.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);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* ===== Header ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
}

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

.logo {
    display: block;
    width: 160px;
}

.logo img {
    width: 100%;
    height: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--primary-color);
    transition: var(--transition);
}

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

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin-bottom: 5px;
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 10rem 0 5rem;
    position: relative;
    background-color: var(--grey-light);
    overflow: hidden;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.hero-slogan {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-image {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.hero-shapes {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: rgba(42, 157, 143, 0.1);
    top: -150px;
    left: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background-color: rgba(233, 196, 106, 0.1);
    bottom: -100px;
    right: 100px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--grey-dark);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
}

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

.about-text {
    flex: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background-color: var(--grey-light);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-color);
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

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

.services-tabs {
    margin-top: 2rem;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--light-color);
    color: var(--secondary-color);
    border: none;
    cursor: pointer;
    font-family: var(--heading-font);
    font-weight: 600;
    transition: var(--transition);
    border-radius: 50px;
    margin: 0 0.5rem;
}

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

.tabs-content {
    position: relative;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-color);
}

.service-item h3 {
    margin-bottom: 1rem;
}

.service-item p {
    margin-bottom: 0;
}

/* ===== Trainers Section ===== */
.trainers-section {
    background-color: var(--light-color);
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

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

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

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

.trainer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.trainer-info {
    padding: 1.5rem;
}

.trainer-info h3 {
    margin-bottom: 0.5rem;
}

.trainer-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.trainer-bio {
    margin-bottom: 0;
}

/* ===== Schedule Section ===== */
.schedule-section {
    background-color: var(--grey-light);
}

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

.filter-btn {
    padding: 0.5rem 1rem;
    background-color: var(--light-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--heading-font);
    font-weight: 500;
    margin: 0.25rem;
    transition: var(--transition);
}

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

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

.schedule-row {
    display: grid;
    grid-template-columns: 0.8fr 1fr 1.2fr 0.8fr 1fr;
    padding: 1rem;
    border-bottom: 1px solid var(--grey-medium);
    transition: var(--transition);
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-row.header {
    background-color: var(--secondary-color);
    color: var(--light-color);
    font-weight: 600;
}

.schedule-cell {
    padding: 0.5rem;
}

/* ===== Pricing Section ===== */
.pricing-section {
    background-color: var(--light-color);
}

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

.pricing-card {
    background-color: var(--grey-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

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

.card-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-family: var(--heading-font);
    font-size: 0.9rem;
    border-bottom-left-radius: var(--border-radius);
}

.card-header {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 2rem;
    text-align: center;
}

.card-header h3 {
    color: var(--light-color);
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.period {
    font-size: 1rem;
    margin-left: 0.5rem;
}

.card-body {
    padding: 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.features-list li svg {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    stroke: var(--primary-color);
}

.features-list li.unavailable {
    color: var(--grey-dark);
}

.features-list li.unavailable svg {
    stroke: var(--grey-dark);
}

.card-footer {
    padding: 0 2rem 2rem;
    text-align: center;
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

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

.info-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-color);
}

.info-text h3 {
    margin-bottom: 0.5rem;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--grey-medium);
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
}

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

/* ===== Footer ===== */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    width: 180px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--grey-medium);
}

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

.link-column h3 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
}

.link-column ul li {
    margin-bottom: 0.75rem;
}

.link-column ul li a {
    color: var(--grey-medium);
}

.link-column ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--grey-medium);
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: none;
    z-index: 99;
}

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

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--light-color);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* ===== Policy Page Styles ===== */
.policy-section {
    padding: 10rem 0 5rem;
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-item {
    margin-bottom: 2.5rem;
}

.policy-item h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.policy-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
}

.policy-item ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-item li {
    margin-bottom: 0.5rem;
}

.policy-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--grey-medium);
}

.policy-footer p {
    color: var(--grey-dark);
    margin-bottom: 1.5rem;
}

/* ===== Success Page Styles ===== */
.success-section {
    padding: 10rem 0 5rem;
    text-align: center;
}

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

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.success-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-color);
}

.success-actions {
    margin-top: 2rem;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-content {
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    section {
        padding: 4rem 0;
    }
    
    .hero-section {
        padding: 8rem 0 4rem;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .hero-image {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        height: 400px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-slogan {
        font-size: 1.25rem;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        justify-content: flex-start;
        background-color: var(--light-color);
        box-shadow: var(--shadow);
        transition: 0.4s;
        padding: 2rem 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .schedule-row.header {
        display: none;
    }
    
    .schedule-cell {
        display: flex;
    }
    
    .schedule-cell:before {
        content: attr(data-label);
        font-weight: 600;
        width: 120px;
        min-width: 120px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .policy-section {
        padding: 8rem 0 4rem;
    }
}
