/*
 * Google Fonts
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/*
 * General Styles
 */

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #e2e2e2, #f5f5f5);
}

main {
    padding: 1.5em;
    padding-bottom: 6em;
}

section {
    margin-bottom: 2.5em;
}

/*
 * Header
 */

.main-header {
    background-image: url('../assets/360_F_380581723_Dcf4rseeXVRboNX5QrsdlMLs9bzi66PA.jpg');
    background-size: cover;
    background-position: center;
    padding: 2em 1em;
    text-align: center;
    position: relative;
    color: white;
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
}

.logo-title {
    font-size: 2.5em;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0;
}

.logo-title a {
    text-decoration: none;
    color: inherit;
}

.logo-subtitle {
    font-size: 1.2em;
    color: #e0e0ff;
    margin-top: 0.5em;
}

/*
 * Navigation
 */

.main-nav {
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    padding: 1em 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.main-nav li {
    margin: 0 1em;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5em 1em;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.main-nav a.active {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
}

.main-nav a {
    display: inline-block;
    padding: 0.5em 1em;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

/*
 * Dropdown Menu
 */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 5px;
    top: 100%;
    left: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 1em;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: none;
}

.dropdown:hover .dropdown-content,
.dropdown a:hover ~ .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}


/*
 * Services
 */


.service-card {
    background: white;
    border-radius: 15px;
    padding: 2em;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card p {
    margin-bottom: 1.5em;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 1em;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.service-card .icon {
    font-size: 2em;
    color: #007bff;
}

/*
 * Testimonials
 */

.testimonials {
    background: #f8f9fa;
    padding: 4em 2em;
    margin: 3em 0;
    border-radius: 15px;
}

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

.testimonial {
    background: white;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-style: italic;
}

.testimonial-author {
    font-weight: bold;
    margin-top: 1em;
    color: #007bff;
}


/*
 * Buttons
 */

.btn {
    border: none;
    color: white;
    padding: 20px 40px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.5em;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #28a745;
}

.btn-secondary:hover {
    background-color: #218838;
}

.service-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 2.5em;
}



/*
 * Contact Form
 */

#contact-form {
    display: flex;
    flex-direction: column;
}

#contact-form label {
    margin-top: 1.2em;
    font-size: 1.1em;
}

#contact-form input, #contact-form textarea {
    padding: 0.8em;
    margin-top: 0.6em;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#contact-form button {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 20px 40px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    margin-top: 1.2em;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s;
}

#contact-form button:hover {
    background-color: #0056b3;
}

.main-footer {
    background-color: #333;
    color: #fff;
    padding: 1em;
    text-align: center;
    margin-top: 2em;
}

/*
 * Content Container
 */

.content-container {
    max-width: 90%;
    margin: 2em auto;
    padding: 2em;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(78,84,200,0.08);
}

.content-container h1 {
    color: #4e54c8;
    margin-bottom: 0.5em;
}

.content-container h2 {
    color: #4e54c8;
    font-size: 1.1em;
    margin-top: 1.5em;
}

.content-container p, .content-container ul {
    color: #333;
}

.content-container ul {
    padding-left: 1.2em;
}

/*
 * Leadership Section
 */

.leadership-grid {
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
}

.leader-card {
    text-align: center;
}

.leader-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5em;
}

.leader-name {
    font-weight: 600;
    color: #4e54c8;
}

.leader-title {
    font-size: 0.95em;
    color: #333;
}

/*
 * Game Board
 */

#game-board {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.tableau-pile {
    position: relative;
    width: 100px;
    height: 400px;
}

.tableau-pile .card {
    position: absolute;
    top: 0;
    left: 0;
}

.card {
    width: 100px;
    height: 140px;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 10px;
    background-color: white;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.card.face-down {
    background-color: #b0e0e6;
}

/*
 * Google Translate
 */

#google_translate_element {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1001;
}

.goog-te-gadget-simple {
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 5px !important;
    padding: 5px !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

.goog-te-menu-value span {
    color: #333 !important;
}

/* Fade-in animation disabled for accessibility */
/*
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

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

#header-placeholder {
    visibility: hidden;
}

.hidden {
    display: none;
}

.language-switch {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.language-switch button {
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
}



/*
 * Utility Classes
 */

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 0.5em;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 2em;
}

.cta-container {
    margin-top: 2em;
}

.btn-primary {
    background: #4e54c8;
    color: #fff;
    padding: 0.7em 1.5em;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(78,84,200,0.12);
}
