/* Global Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #f8a100;
    --dark-color: #003366;
    --light-color: #f5f5f5;
    --text-color: #333;
    --link-color: #005b96;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --border-color: #ddd;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

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

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

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn:hover {
    background: var(--dark-color);
    color: #fff;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 60px 0;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    font-size: 2rem;
    margin: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 5px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 120px 0;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

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

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

.about h2, .features h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* Features Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-box i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(to right, var(--primary-color), var(--dark-color));
    color: #fff;
    text-align: center;
}

.testimonials h2 {
    color: #fff;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
}

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

.client h4 {
    color: #fff;
    margin-bottom: 5px;
}

/* Footer Styles */
footer {
    background: var(--dark-color);
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-logo h3 {
    color: #fff;
    margin-bottom: 10px;
}

.footer-links h4, .footer-contact h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

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

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

.footer-links ul li a:hover {
    color: #fff;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    color: #fff;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--secondary-color);
}

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

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/page-header.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.page-header h2 {
    color: #fff;
    font-size: 2.5rem;
}

/* Players Page Styles */
.players-info .info-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.players-info ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.players-info ul li i {
    color: var(--success-color);
    margin-right: 10px;
}

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

.tournament-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tournament-header {
    background: var(--dark-color);
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tournament-header h4 {
    color: #fff;
    margin: 0;
}

.tournament-header .date {
    background: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
}

.tournament-body {
    padding: 20px;
}

.tournament-body p {
    margin-bottom: 10px;
}

/* Booking Form */
.booking-form {
    background: var(--light-color);
    padding: 50px 0;
}

.booking-form h3 {
    text-align: center;
    margin-bottom: 30px;
}

form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
}

/* Certificate Page Styles */
.certificate-intro {
    padding-bottom: 30px;
}

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

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

.option-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

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

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

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

.featured-tag {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
}

.option-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.option-card h4 {
    margin-bottom: 20px;
}

.option-card ul {
    text-align: left;
    margin-bottom: 20px;
}

.option-card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.option-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

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

/* Steps Section */
.steps {
    margin-top: 40px;
}

.step {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 10px;
}

/* Accordion */
.accordion {
    margin-top: 30px;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    background: #f8f9fa;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 20px;
    max-height: 1000px;
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../img/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.cta h3 {
    color: #fff;
}

/* Group Cruise Page Styles */
.cruise-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "image content";
    gap: 30px;
    margin-bottom: 60px;
    align-items: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.cruise-type .type-image {
    grid-area: image;
}

.cruise-type .type-content {
    grid-area: content;
}

.cruise-type.reverse {
    grid-template-areas: "content image";
}

.cruise-type.animate {
    opacity: 0;
    transform: translateY(30px);
}

.cruise-type.animate.show {
    opacity: 1;
    transform: translateY(0);
}

.type-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.type-content h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.type-content h5 {
    margin: 20px 0 10px;
}

.type-content ul {
    margin-bottom: 20px;
}

.type-content ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.type-content ul li i {
    color: var(--success-color);
    margin-right: 10px;
}

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

.benefit-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.benefit-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.destination-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.destination-card {
    flex: 0 0 auto;
    width: 350px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    scroll-snap-align: start;
}

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

.destination-info {
    padding: 20px;
}

.destination-info h4 {
    margin-bottom: 10px;
}

.duration {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-top: 10px;
}

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

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
}

.planning-steps {
    margin: 40px 0;
}

.cta-box {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.cta-box h4 {
    margin-bottom: 15px;
}

.cta-box p {
    margin-bottom: 20px;
}

/* Contact Page Styles */
.contact-methods {
    background-color: var(--light-color);
    padding: 60px 0;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.contact-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    width: 70px;
    height: 70px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card h4 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.contact-card p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.contact-card .btn-small {
    margin-top: auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.info-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-form-section h3, 
.contact-form-section .form-intro {
    text-align: center;
    margin-bottom: 15px;
}

.form-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.contact-form {
    max-width: 700px;
    width: 100%;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form-section .container {
    display: block;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.placeholder-map {
    max-width: 800px;
    max-height: 500px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

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

.social-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.social-box:hover {
    transform: translateY(-10px);
    color: #fff;
}

.social-box i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.facebook {
    background: #3b5998;
}

.instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.twitter {
    background: #1da1f2;
}

.youtube {
    background: #ff0000;
}

.newsletter {
    background: var(--dark-color);
    color: #fff;
}

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

.newsletter h3 {
    color: #fff;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px 0 0 5px;
}

.newsletter-form button {
    border-radius: 0 5px 5px 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .intro-content,
    .cruise-type,
    .newsletter-content {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section .container {
        grid-template-columns: 1fr;
    }
    
    .cruise-type, 
    .cruise-type.reverse {
        grid-template-areas: 
            "image"
            "content";
    }
    
    .cruise-type .type-image {
        margin-bottom: 20px;
        width: 100%;
    }
    
    .type-image img {
        max-height: none;
        width: 100%;
        height: auto;
        min-height: 250px;
        object-fit: cover;
    }
    
    .intro-image {
        order: -1;
    }
    
    .methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        transition: 0.5s;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .feature-grid,
    .options-grid,
    .benefits-grid,
    .testimonials-grid,
    .info-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 5px;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
    }
}

.fa-brands, .fab {
    margin-right: 0 !important;
}

.intro-image {
    order: -1;
}

.methods-grid {
    grid-template-columns: repeat(2, 1fr);
}