/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #034694;
    color: white;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #034694;
    padding: 15px 20px;
    color: white;
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fcb900;
}


/* Hero Section Styles */
.hero-section {
  position: relative;
  height: 99vh; /* Full height of the viewport */
  width: 100%;
  
  background-image: url('enzo1.jpg'); /* Replace with your image URL */
  background-position: center center; /* Center the background */
  background-size: cover; /* Ensure the image covers the whole area */
  background-repeat: no-repeat; /* Prevent the image from repeating */
  animation: fadeIn 2s ease-in-out; /* Animation for smooth fade-in */
}


.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  font-family: Arial, sans-serif;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); /* Shadow effect on the text */
  font-family: polatino, serif;
}

.hero-content p {
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6); /* Shadow effect on the text */
  opacity: 0;
  animation: textFadeIn 2s ease-in-out 1s forwards; /* Animation for the subheading */
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes textFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}






/* Grid Layout */
.grid-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 900px;
    margin: auto;
}

/* First row - Three Equal Boxes */
.grid-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.grid-box {
    background: white;
    color: #034694;
    padding: 15px;
    border-radius: 10px;
    text-align: left;
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Hover Effect */
.grid-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5; /* Slight background color change on hover */
}

/* Text and Title Styles */
.grid-box h3 {
    margin: 0;
    font-size: 18px;
    text-transform: uppercase;
    color: #001C5B;
}

.grid-box p {
    margin: 5px 0 0;
    font-size: 16px;
}

/* Second row - One Small Box & Large Description Box */
.grid-row.large {
    display: flex;
    gap: 10px;
}

.grid-box.small {
    flex: 1;
}

.grid-box.large {
    flex: 3;
}




/* Translation Section Styles */
.translation-section {
  background-color: #fff;
  padding: 15px; /* Reduced padding */
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin: 20px 0; /* Reduced margin */
  border: 4px solid #0066cc; /* Blue border added around the box */
  max-width: 1300px; /* Set a max width to make it smaller */
  margin: 30px auto; /* Center the box horizontally */
}

.translation-section h1 {
  color: #0066cc;
  margin-bottom: 15px; /* Reduced space below the header */
  text-align: center;
}

.columns {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px; /* Reduced space between columns */
}

.column {
  width: 48%;
}

.quote {
  font-style: italic;
  font-size: 16px; /* Reduced font size */
  color: #555;
  border-left: 4px solid #0066cc;
  padding-left: 12px; /* Reduced padding */
  margin: 15px 0; /* Reduced margin */
  position: relative;
  transition: all 0.3s ease; /* Smooth transition for hover effect */
}

.quote::before {
  content: open-quote;
  font-size: 30px; /* Reduced size of the quote marks */
  color: #0066cc;
  position: absolute;
  left: -8px;
  top: -8px;
}

.quote::after {
  content: close-quote;
  font-size: 30px; /* Reduced size of the quote marks */
  color: #0066cc;
  position: absolute;
  right: -8px;
  bottom: -8px;
}

.quote:hover {
  color: #fff;
  background-color: #0066cc;
  border-color: #004d99;
}

.quote:hover::before,
.quote:hover::after {
  color: #fff;
}




/* General Styles for Sections */
.about, .highlight-cards, .chelsea-section {
    padding: 60px 20px;
    background-color: #034694;
}

.container, .chelsea-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Section Headers */
h2, h3 {
    color: #FFD700; /* Golden color for headings */
    font-family: Arial, sans-serif;
    margin-bottom: 10px;
}

/* About Section */
.about {
    margin-bottom: 60px;
}

.about p {
    font-size: 16px;
    color: white;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Highlight Cards */
.highlight-cards {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    margin-top: 40px;
}

.card {
    background-color: #002150;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 30%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    overflow: hidden;
    /* Ensure equal size by making sure cards stretch equally */
    flex-grow: 1;
}

/* Image Container for Cards */
.image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Card Title and Text */
.card h3, .card h4 {
    font-size: 18px;
    color: #FFD700;
    font-family: Arial, sans-serif;
    margin: 10px 0;
}

.card p {
    font-size: 16px;
    color: white;
    font-family: Arial, sans-serif;
    flex-grow: 1;
}

/* Hover Effects */
.image-container:hover img {
    transform: scale(1.08);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.5); /* Golden glow effect */
}

/* Ensure all highlight cards are equal in size */
.highlight-cards {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    margin-top: 40px;
}

.card {
    /* Same width and height for all cards */
    background-color: #002150;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 30%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensures uniform height */
    flex-grow: 1;
}

/* Chelsea Section */
.chelsea-section {
    background-color: #1e2a47;
    padding: 60px 20px;
}

.chelsea-container {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.chelsea-info {
    max-width: 500px;
}

.chelsea-info a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
}















.cfc-section-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            background-color: #034694; /* Chelsea FC Theme */
            margin: 0;
        }

        .cfc-section-container {
            display: flex;
            gap: 20px;
            max-width: 900px;
            align-items: center;
        }

        .cfc-section-box {
            background: #fff;
            width: 620px;
            height: 400px;
            border-radius: 12px;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: transform 0.3s ease-in-out;
        }

        .cfc-section-box:hover {
            transform: scale(1.03);
        }

        .cfc-section-text {
            padding: 10px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: #1E2947;
            color: #fff;
        }

        .cfc-section-text p {
            font-size: 16px;
            line-height: 1.6;
            text-align: justify;
            margin: 0;
        }

        .cfc-section-text p::first-letter {
            font-size: 50px;
            font-weight: bold;
            color: #FFD700;
            float: left;
            margin-right: 12px;
            margin-top: 5px;
            line-height: 0.8;
            font-family: "Georgia", serif;
        }

        .cfc-section-text a {
            display: inline-block;
            margin-top: 15px;
            padding: 10px 18px;
            background: #FFD700;
            color: #1E2947;
            text-decoration: none;
            border-radius: 5px;
            transition: background 0.3s, transform 0.2s;
            font-weight: bold;
            align-self: flex-start;
        }

        .cfc-section-text a:hover {
            background: #034694;
            color: #fff;
            transform: scale(1.05);
        }

        .cfc-section-image {
            width: 700px;
            height: 500px;
            background: url('enzocele.webp') center/cover no-repeat;
            border-radius: 12px;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease-in-out;
        }


























    /* Footer Styles */
.footer {
    background-color: #002F6C;
    color: white;
    text-align: center;
    padding: -100px;
    margin-top: 20px;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fcb900;
}

/* Back to Top Button */
#backToTop {
    background-color: #fcb900;
    color: #034694;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    transition: background 0.3s;
}

#backToTop:hover {
    background-color: white;
    color: #034694;
}



@media (max-width: 768px) {
    .highlight-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        margin-bottom: 20px;
    }

    .image-container {
        height: 200px; /* Adjust as needed for mobile */
    }

    .card h3 {
        font-size: 16px;
    }

    .card p {
        font-size: 14px;
    }
}



/* ===== ✅ MOBILE RESPONSIVE FIXES for SLIDE 4 and SLIDE 5 ===== */
@media (max-width: 768px) {
  /* Slide 4: Chelsea Section */
  .chelsea-container {
    height: auto;
  }

  .chelsea-image {
    height: 400px;
  }

  .chelsea-info {
    position: static;
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    transform: none;
    opacity: 1;
    background: rgba(0, 0, 50, 0.9);
  }

  .chelsea-container:hover .chelsea-image {
    transform: none;
  }

  .chelsea-container:hover .chelsea-info {
    opacity: 1;
    transform: none;
  }

  /* Slide 5: CFC Section */
  .cfc-section-container {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .cfc-section-box {
    width: 100%;
    margin-bottom: 20px;
  }

  .cfc-section-image {
    height: 200px;
    background-size: cover;
    background-position: center;
  }
}
