/* ===============================================
   Globyroa Women's Fitness Club - CSS Styles
   Transform Your Strength, Embrace Your Power
   =============================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Karla', sans-serif;
    line-height: 1.6;
    color: #4B0082;
    background-color: #FFF0F5;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: #4B0082;
}

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

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #C71585, #DB7093);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(199, 21, 133, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 21, 133, 0.4);
    background: linear-gradient(135deg, #DB7093, #C71585);
}

.btn-secondary {
    background: transparent;
    color: #C71585;
    border: 2px solid #C71585;
    padding: 13px 28px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #C71585;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(199, 21, 133, 0.3);
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 240, 245, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(199, 21, 133, 0.1);
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #4B0082;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #C71585;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #C71585, #FF69B4);
    transition: width 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #C71585;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #FFF0F5 0%, rgba(255, 105, 180, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 40%;
    height: 100%;
    background: linear-gradient(45deg, rgba(199, 21, 133, 0.05), rgba(255, 105, 180, 0.05));
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #4B0082;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #C71585;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Nunito', sans-serif;
}

.hero-description {
    font-size: 1.1rem;
    color: #4B0082;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(199, 21, 133, 0.2);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(199, 21, 133, 0.1);
    transition: transform 0.3s ease;
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #C71585;
    font-family: 'Nunito', sans-serif;
}

.stat-label {
    font-weight: 600;
    color: #4B0082;
    margin-top: 0.5rem;
}

/* Section Common Styles */
section {
    padding: 80px 0;
}

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

.section-title {
    color: #4B0082;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #C71585, #FF69B4);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #C71585;
    font-weight: 500;
}

/* About Section */
.about {
    background: white;
}

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

.about-text h3 {
    color: #C71585;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.mission-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #FFF0F5;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.point-item:hover {
    transform: translateX(10px);
}

.point-icon {
    width: 24px;
    height: 24px;
    color: #C71585;
    flex-shrink: 0;
}

.point-item span {
    font-weight: 600;
    color: #4B0082;
}

.about-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(199, 21, 133, 0.15);
}

/* Programs Section */
.programs {
    background: #FFF0F5;
}

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

.program-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(199, 21, 133, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #C71585, #FF69B4);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(199, 21, 133, 0.2);
}

.program-icon {
    width: 60px;
    height: 60px;
    color: #C71585;
    margin-bottom: 1.5rem;
}

.program-card h3 {
    color: #4B0082;
    margin-bottom: 1rem;
}

.program-card p {
    margin-bottom: 1.5rem;
    color: #4B0082;
}

.program-features {
    list-style: none;
    padding-left: 0;
}

.program-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #4B0082;
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #C71585;
    font-weight: bold;
}

/* Benefits Section */
.benefits {
    background: white;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-img {
    width: 100%;
    height: 910px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(199, 21, 133, 0.15);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #FFF0F5;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(199, 21, 133, 0.1);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    color: #C71585;
    flex-shrink: 0;
}

.benefit-content h3 {
    color: #4B0082;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.benefit-content p {
    margin: 0;
    color: #4B0082;
}

/* Trainers Section */
.trainers {
    background: #FFF0F5;
}

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

.trainer-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(199, 21, 133, 0.1);
    transition: transform 0.3s ease;
}

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

.trainer-image {
    position: relative;
    overflow: hidden;
}

.trainer-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.trainer-info {
    padding: 2rem;
}

.trainer-info h3 {
    color: #4B0082;
    margin-bottom: 0.5rem;
}

.trainer-title {
    color: #C71585;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.trainer-description {
    margin-bottom: 1.5rem;
    color: #4B0082;
}

.trainer-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trainer-specialties span {
    background: #FFF0F5;
    color: #C71585;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Community Section */
.community {
    background: white;
}

.community-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.testimonials {
    position: relative;
}

.testimonial-card {
    background: #FFF0F5;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(199, 21, 133, 0.1);
    display: none;
    position: relative;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #4B0082;
}

.testimonial-author strong {
    color: #C71585;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: #4B0082;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.3rem;
}

.community-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, #C71585, #FF69B4);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(199, 21, 133, 0.3);
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: white;
    margin: 0;
    font-weight: 500;
}

/* Gallery Section */
.gallery {
    background: #FFF0F5;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1;
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(199, 21, 133, 0.9));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    background: white;
}

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

.contact-info h3 {
    color: #4B0082;
    margin-bottom: 2rem;
}

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

.contact-icon {
    width: 24px;
    height: 24px;
    color: #C71585;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-item strong {
    color: #C71585;
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: #4B0082;
}

.contact-form {
    background: #FFF0F5;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(199, 21, 133, 0.1);
}

.contact-form h3 {
    color: #4B0082;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #FFF0F5;
    border-radius: 10px;
    font-family: 'Karla', sans-serif;
    font-size: 1rem;
    color: #4B0082;
    background: white;
    transition: border-color 0.3s ease;
}

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

.form-submit {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: #4B0082;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    color: #FF69B4;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FF69B4;
}

.footer-logo {
    margin-bottom: 1rem;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #C71585, #FF69B4);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(199, 21, 133, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(199, 21, 133, 0.4);
}

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

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content,
    .about-content,
    .benefits-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-img,
    .about-img,
    .benefits-img {
        height: 350px;
    }
    
    .community-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 240, 245, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .trainers-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .program-card,
    .contact-form {
        padding: 2rem;
    }
    
    .trainer-info {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .back-to-top {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero,
    .programs,
    .gallery,
    .contact {
        background: white;
    }
}