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

:root {
    --primary-color: #000000;
    --secondary-color: #1a1a1a;
    --accent-color: #f3ca20; /* Dim yellow */
    --text-color: #ffffff;
    --font-main: 'Lato', sans-serif;
    --font-title: 'Cormorant Garamond', serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow: hidden; /* This will hide the scrollbar */
}

#scroll-container {
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none;  /* For Internet Explorer and Edge */
}

#scroll-container::-webkit-scrollbar {
    display: none; /* Hide the default scrollbar */
}

#custom-scrollbar {
    position: fixed;
    top: 0;
    right: 0;
    width: 4px; /* Made scrollbar smaller */
    height: 100%;
    background-color: #000000; /* Black strip */
    z-index: 1001;
}

#custom-scrollbar::before {
    content: '';
    position: absolute;
    top: var(--scroll-top, 0);
    left: 50%;
    transform: translateX(-50%);
    width: 12px; /* Width of the ball */
    height: 12px; /* Height of the ball */
    background-color: var(--accent-color); /* Yellow ball */
    border-radius: 50%; /* Make it a circle */
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

header {
    background: var(--secondary-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 1px;
}

.logo img {
    height: 40px;
    margin-right: 15px;
}

nav ul {
    display: flex;
    list-style: none;
}

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

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    padding: 5px 10px;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav ul li a:hover::after {
    transform: scaleX(1);
}

#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-image: url('Photos/Vakvak.gif');
    background-size: cover;
    background-position: center 70%; /* Shift the image down */
    background-attachment: fixed; /* This keeps the full image in view */
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3); /* Significantly reduced opacity */
}

.hero-content {
    z-index: 1;
    animation: fadeIn 2s ease-in-out;
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: 5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    animation: slideInFromLeft 1.5s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: slideInFromRight 1.5s ease-out;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 15px rgba(243, 202, 32, 0.3);
    background: var(--accent-color);
    color: #000;
}

section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

section h2 {
    font-family: var(--font-title);
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.5s ease-in-out;
}

.visible section h2::after {
    width: 60px;
}

#about {
    background: var(--primary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

#vision {
    background: var(--secondary-color);
    text-align: center;
}

.vision-content p {
    font-family: var(--font-title);
    font-size: 2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: auto;
    color: var(--text-color);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s forwards;
    animation-delay: 0.5s;
}

.drop-cap {
    font-size: inherit; /* Same size as the rest of the text */
    color: var(--text-color); /* White */
    font-weight: 700; /* Bold */
}

.team-member {
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-member:hover {
    transform: translateY(-15px);
}

.team-member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 0 20px rgba(243, 202, 32, 0.2);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.team-member:hover .team-member-photo {
    transform: scale(1.1);
}

.team-member:hover .team-member-photo {
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(243, 202, 32, 0.5);
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-member-name {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.team-member-role {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-member-info {
    font-weight: 300;
    color: #aaa;
}

.game-section {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.game-section-reverse {
    flex-direction: row-reverse;
}

.game-info {
    flex: 1;
}

.game-info h2 {
    text-align: left;
    color: var(--accent-color);
}

.game-info h2::after {
    left: 0;
    transform: translateX(0);
}

.game-image {
    flex: 1;
    transition: transform 0.5s ease;
}

.game-image:hover {
    transform: scale(1.05);
}

.game-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

#contact h2 {
    color: var(--accent-color);
}

#contact {
    background: var(--secondary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

.social-icon img {
    height: 60px;
    width: 60px;
    border-radius: 15px;
    margin-bottom: 0.5rem;
}

.social-icon span {
    font-weight: 700;
}

.contact-email {
    text-align: center;
}

.contact-email p {
    margin-bottom: 0.5rem;
}

.contact-email a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    transition: text-shadow 0.3s ease;
}

.contact-email a:hover {
    text-shadow: 0 0 10px var(--accent-color);
}

footer {
    background: #000;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

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

@keyframes slideInFromLeft {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

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

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

.parallax-section {
    position: relative;
    z-index: 1;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: -50%; /* Start off-screen */
    width: 200%; /* Double width for scrolling */
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease-in-out;
    opacity: 0.8;
}

.parallax-section:hover .parallax-bg {
    opacity: 1;
}

.parallax-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Shadow tint */
    z-index: -1;
}

/* Button Animation */
.btn-animated {
    width: 250px;
    height: 50px;
    border-radius: 25px;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.btn-animated span {
    transition: all 0.5s ease;
}

.btn-animated img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.5s ease;
}

.btn-animated:focus {
    width: 50px;
    border-radius: 50%;
    animation: extend 1s ease-in-out forwards;
}

.btn-animated:focus span {
    animation: disappear 1s ease-in-out forwards;
}

.btn-animated:focus img {
    animation: appear 1s ease-in-out forwards;
}

@keyframes extend {
    0% { width: 250px; background: transparent; }
    50% { width: 50px; background: var(--accent-color); }
    100% { width: 50px; background: var(--accent-color); }
}

@keyframes disappear {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes appear {
    0% { opacity: 0; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}