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

html {
    font-size: 16px; /* Base font size */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #91796e;
    background-color: #fbfbfb;
    overflow-x: hidden; /* Prevent horizontal scrolling on mobile */
    font-size: 1rem; /* Use relative font size */
    animation: pageLoadFade 0.8s ease-out;
}

/* Text Selection Styling - #91796e background with 90% opacity */
::selection {
    background-color: rgba(145, 121, 110, 0.9);
    color: inherit;
}

::-moz-selection {
    background-color: rgba(145, 121, 110, 0.9);
    color: inherit;
}

/* Hide the "Üye Ol" link in navigation */
#auth-link {
    display: none !important;
}

/* Hide mobile-only footer link on desktop */
.mobile-venue-link {
    display: none;
}

/* Special text size reduction */
.tagline {
    font-size: calc(1em - 8px);
    line-height: 1.4;
    margin-top: 10px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.cta-button {
    background-color: #91796e;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    background-color: #7a645a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: #91796e;
    border: 1px solid #91796e;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: rgba(145, 121, 110, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Header & Navigation */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    top: 0;
    left: 0;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.logo {
    position: absolute;
    left: 5%;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #111;
    letter-spacing: 1px;
    animation: logoEntrance 1s ease-out 0.2s both;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
}

.nav-links li:last-child {
    position: absolute;
    right: 5%;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: #91796e;
    padding: 0.5rem 0;
}

.nav-links a:hover, 
.nav-links a.active {
    color: #91796e;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #91796e;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Explore button styling */
.explore-btn {
    background-color: #ba9585 !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
}

.explore-btn:hover {
    background-color: #a88574 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(186, 149, 133, 0.3) !important;
}

.explore-btn::after {
    display: none !important;
}

/* Logo link styling */
.logo a {
    text-decoration: none;
    display: block;
}

/* Hide "Ana Sayfa" button on desktop and tablet */
@media (min-width: 481px) {
    .nav-links li:first-child {
        display: none;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background-color: #fbfbfb;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    padding-top: 357px; /* Ensure content starts well below header */
}

.hero-content {
    max-width: 1000px;
    margin: -55px auto 0 auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    margin-top: 0;
    animation: heroTitleSlide 1s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    line-height: 1.6;
    font-weight: 400;
    animation: heroTitleSlide 1s ease-out 0.6s both;
}

/* Network visualization styles */
.network-container {
    position: relative;
    width: 800px;
    height: 600px;
    margin: -150px auto 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heroSlideUp 1.8s ease-out 1s both;
}

.network-center {
    position: absolute;
    width: 500px;
    height: 500px;
    background: url('../images/general/network-visualization-hero-part2.png') center no-repeat;
    background-size: contain;
    z-index: 1;
}

/* 9 Floating Dots around network center */
.network-center::before,
.network-center::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(145, 121, 110, 0.7);
    border-radius: 50%;
    opacity: 0;
    animation: dotFadeIn 0.8s ease-out forwards;
}

.network-center::before {
    animation: dotFadeIn 0.8s ease-out forwards, dotDance 4s ease-in-out infinite 1s;
}

.network-center::after {
    animation: dotFadeIn 0.8s ease-out forwards, dotDance2 3.5s ease-in-out infinite 1.2s;
}

.network-center::before {
    top: -20px; /* Moved down to stay below title level */
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.5s;
}

.network-center::after {
    bottom: -40px;
    right: 50%;
    transform: translateX(50%);
    animation-delay: 1.2s;
}

/* Additional 7 dots using CSS-only approach */
.network-container::before,
.network-container::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(145, 121, 110, 0.7);
    border-radius: 50%;
    opacity: 0;
    z-index: 2;
}

.network-container::before {
    top: 35%; /* Moved down slightly to ensure below title */
    left: -30px;
    animation: dotFadeIn 0.8s ease-out forwards, dotDance3 5s ease-in-out infinite 1.8s;
    animation-delay: 0.8s;
}

.network-container::after {
    top: 75%;
    right: -30px;
    animation: dotFadeIn 0.8s ease-out forwards, dotDance 4.5s ease-in-out infinite 2.5s;
    animation-delay: 1.5s;
}

/* Additional floating dots via pseudo-elements on hero-content */
.hero-content::before,
.hero-content::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(145, 121, 110, 0.7);
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
}

.hero-content::before {
    top: 80%; /* Moved way down to avoid text interference */
    right: 20%;
    animation: dotFadeIn 0.8s ease-out forwards, dotDance2 3.8s ease-in-out infinite 2.8s;
    animation-delay: 1.8s;
}

.hero-content::after {
    bottom: 30%;
    left: 8%;
    animation: dotFadeIn 0.8s ease-out forwards, dotDance3 4.2s ease-in-out infinite 3.1s;
    animation-delay: 2.1s;
}

/* Final 3 dots to complete the 9 */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(145, 121, 110, 0.7);
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
}

.hero::before {
    top: 25%; /* Moved down to stay below title level */
    left: 15%;
    animation: dotFadeIn 0.8s ease-out forwards, dotDance 3.2s ease-in-out infinite 3.5s;
    animation-delay: 2.4s;
}

.hero::after {
    top: 60%;
    right: 12%;
    animation: dotFadeIn 0.8s ease-out forwards, dotDance2 3.6s ease-in-out infinite 3.8s;
    animation-delay: 2.7s;
}

/* Fade-in animation for all dots */
@keyframes dotFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Dancing dots - little dance animation */
@keyframes dotDance {
    0% {
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) translateX(2px) scale(1.1) rotate(5deg);
    }
    50% {
        transform: translateY(-1px) translateX(-1px) scale(0.9) rotate(-3deg);
    }
    75% {
        transform: translateY(-4px) translateX(1px) scale(1.05) rotate(2deg);
    }
    100% {
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
    }
}

/* Alternative dance pattern for variety */
@keyframes dotDance2 {
    0% {
        transform: translateY(0px) translateX(0px) scale(1);
    }
    30% {
        transform: translateY(-2px) translateX(-2px) scale(1.15);
    }
    60% {
        transform: translateY(-5px) translateX(1px) scale(0.85);
    }
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }
}

/* Third dance pattern - circular motion */
@keyframes dotDance3 {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-2px) translateX(2px) rotate(90deg);
    }
    50% {
        transform: translateY(0px) translateX(2px) rotate(180deg);
    }
    75% {
        transform: translateY(2px) translateX(0px) rotate(270deg);
    }
    100% {
        transform: translateY(0px) translateX(0px) rotate(360deg);
    }
}

/* Position relative for all containers */
.hero {
    position: relative;
}

.hero-content {
    position: relative;
}

.network-container {
    position: relative;
}

.network-center {
    position: relative;
}

/* 9th dot - placed on what-we-do section border */
.what-we-do::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(145, 121, 110, 0.7);
    border-radius: 50%;
    opacity: 0;
    animation: dotFadeIn 0.8s ease-out forwards, dotDance3 4s ease-in-out infinite 4.2s;
    z-index: 1;
    bottom: 20px;
    left: 20%;
    animation-delay: 3.0s;
}

.what-we-do {
    position: relative;
}

/* Responsive network container */
@media (max-width: 768px) {
    .hero {
        padding-top: 277px;
    }
    
    .hero-content {
        margin: -20px auto 0 auto;
    }
    
    .network-container {
        width: 600px;
        height: 450px;
        margin: -120px auto 1rem auto;
    }
    
    .network-center {
        width: 400px;
        height: 400px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    body {
        background-color: #f5f5f5;
    }
    
    /* Header centered logo design */
    header {
        height: 70px;
        background-color: white;
    }
    
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 20px;
    }
    
    .logo-img {
        max-height: 40px;
    }
    
    .menu-toggle {
        position: absolute;
        left: 1rem;
        right: auto;
    }
    
    .nav-links li:last-child {
        position: fixed !important;
        top: 15px !important;
        right: 1rem !important;
        display: block !important;
        z-index: 1001;
    }
    
    .explore-btn {
        background-color: #a89080 !important;
        color: white !important;
        font-size: 13px !important;
        padding: 8px 18px !important;
        font-weight: 600 !important;
        border-radius: 20px !important;
        transition: none !important;
        animation: none !important;
    }
    
    .explore-btn:hover {
        background-color: #98806f !important;
        transform: none !important;
    }
    
    /* Hero Section */
    .hero {
        padding-top: 90px;
        height: auto;
        min-height: auto;
        padding-bottom: 2rem;
        background-color: white;
    }
    
    .hero-content {
        margin: 0 auto;
        padding: 0 1.5rem;
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        font-weight: 700;
        color: #333;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 2rem;
        line-height: 1.5;
        color: #666;
        text-align: center;
    }
    
    .hero-subtitle br {
        display: inline;
    }
    
    .network-container {
        width: 250px;
        height: 200px;
        margin: 0 auto 2rem auto;
    }
    
    .network-center {
        width: 200px;
        height: 200px;
    }
    
    /* Hide all decorative dots */
    .network-container::before,
    .network-container::after,
    .hero-content::before,
    .hero-content::after,
    .hero::before,
    .hero::after,
    .network-center::before,
    .network-center::after {
        display: none;
    }
}

/* Features Section */
.features {
    padding: 3rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.feature-heading h2 {
    font-size: 2.5rem;
    color: #111;
}

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

.card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

#postane {
    background-image: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
}

#fener {
    background-image: url('https://images.unsplash.com/photo-1519906417468-1d6f2ccb8b9a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
}

#borusan {
    background-image: url('https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
}

.card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
}

.card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
}

/* About Section */
.about {
    background-color: #fbfbfb;
    padding: 3rem 5%;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about > p {
    max-width: 700px;
    margin: 0 auto 3rem;
}

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

.about-feature {
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.about-feature i {
    font-size: 2.5rem;
    color: #91796e;
    margin-bottom: 1rem;
}

/* Section header with network icon */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.network-symbol {
    position: relative;
    width: 60px;
    height: 60px;
    margin-left: 10px;
}

.orbit-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(145, 121, 110, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 100%;
    height: 100%;
    animation: rotateOrbit 8s linear infinite;
}

.orbit-2 {
    width: 70%;
    height: 70%;
    animation: rotateOrbit 12s linear infinite reverse;
}

.orbit-3 {
    width: 40%;
    height: 40%;
    animation: rotateOrbit 6s linear infinite;
}

.pulse-core {
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: #91796e;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseCore 2s ease-in-out infinite alternate;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #91796e;
    border-radius: 50%;
    z-index: 3;
}

.p1 {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation: particlePulse 3s ease-in-out infinite, particleOrbit1 15s linear infinite;
}

.p2 {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    animation: particlePulse 2.5s ease-in-out infinite 0.5s, particleOrbit2 18s linear infinite;
}

.p3 {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation: particlePulse 4s ease-in-out infinite 1s, particleOrbit3 22s linear infinite reverse;
}

.p4 {
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    animation: particlePulse 3.5s ease-in-out infinite 1.5s, particleOrbit4 20s linear infinite reverse;
}

@keyframes rotateOrbit {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes pulseCore {
    from {
        box-shadow: 0 0 0 0 rgba(145, 121, 110, 0.5);
    }
    to {
        box-shadow: 0 0 0 15px rgba(145, 121, 110, 0);
    }
}

@keyframes particlePulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

@keyframes particleOrbit1 {
    from {
        transform: translateX(-50%) rotate(0deg) translateY(-28px) rotate(0deg);
    }
    to {
        transform: translateX(-50%) rotate(360deg) translateY(-28px) rotate(-360deg);
    }
}

@keyframes particleOrbit2 {
    from {
        transform: translateY(-50%) rotate(0deg) translateX(-28px) rotate(0deg);
    }
    to {
        transform: translateY(-50%) rotate(360deg) translateX(-28px) rotate(-360deg);
    }
}

@keyframes particleOrbit3 {
    from {
        transform: translateX(-50%) rotate(0deg) translateY(28px) rotate(0deg);
    }
    to {
        transform: translateX(-50%) rotate(360deg) translateY(28px) rotate(-360deg);
    }
}

@keyframes particleOrbit4 {
    from {
        transform: translateY(-50%) rotate(0deg) translateX(28px) rotate(0deg);
    }
    to {
        transform: translateY(-50%) rotate(360deg) translateX(28px) rotate(-360deg);
    }
}

/* Testimonials Section */
.testimonials {
    padding: 3rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author {
    margin-top: 1.5rem;
}

.testimonial-author h4 {
    margin-bottom: 0.2rem;
}

.testimonial-author p {
    font-style: normal;
    font-size: 0.9rem;
    color: #777;
}

/* CTA Section */
.cta {
    background: #fbfbfb !important;
    padding: 3rem 5%;
    text-align: center;
    color: #333;
}

.cta h2, .cta p {
    color: #333;
}

.cta .cta-button {
    background-color: #91796e;
    color: #fbfbfb;
    border: none;
}

.cta .cta-button:hover {
    background-color: #7d6961;
    color: #fbfbfb;
}

/* Footer */
footer {
    background-color: #91796e !important;
    color: #fbfbfb !important;
    padding: 0;
}

/* Footer'da text selection background beyaz */
footer ::selection {
    background-color: rgba(255, 255, 255, 0.9);
    color: #91796e;
}

footer ::-moz-selection {
    background-color: rgba(255, 255, 255, 0.9);
    color: #91796e;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 5%;
    flex-wrap: wrap;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    margin-right: 2rem;
}

.footer-logo .logo {
    position: relative;
    margin-bottom: 1rem;
    color: #fbfbfb !important;
}

.footer-logo p {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: #fbfbfb !important;
    max-width: 250px;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.link-group h4 {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.link-group ul {
    margin-bottom: 1.5rem;
}

.link-group ul li {
    margin-bottom: 0.7rem;
}

.link-group ul li:first-child {
    margin-top: 0;
}

.link-group a {
    color: #fbfbfb !important;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #fbfbfb !important;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fbfbfb !important;
    color: #91796e !important;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #e5e5e5 !important;
    color: #91796e !important;
}

.social-links i {
    font-size: 1.2rem;
}

.copyright {
    background-color: #91796e !important;
    text-align: center;
    padding: 1.5rem;
    color: #fbfbfb !important;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        padding: 3rem 5%;
    }

    .footer-logo {
        margin-bottom: 2rem;
        margin-right: 0;
        text-align: center;
    }

    .footer-logo p {
        max-width: 100%;
    }

    .footer-links {
        width: 100%;
    }
    
    .link-group {
        margin-bottom: 1.5rem;
        flex: 1;
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
    }

    .link-group {
        width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .link-group:last-child {
        margin-bottom: 0;
    }

    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-content {
        padding: 2.5rem 5%;
    }

    .copyright {
        padding: 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 2rem 1rem;
    }
    
    .footer-logo .logo {
        font-size: 1.3rem;
    }
    
    .footer-logo p {
        font-size: 0.8rem;
    }
    
    .link-group h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .link-group ul li {
        margin-bottom: 0.5rem;
    }
    
    .link-group a {
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
    }
    
    .social-links i {
        font-size: 1rem;
    }
    
    .copyright {
        padding: 0.8rem;
        font-size: 0.75rem;
    }
}

/* Responsive Design - Core Media Queries */
/* Tablet Styles - Removed: Tablets now use desktop view */
/* Mobile Styles */
@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    body {
        font-size: 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .hero-content {
        padding-top: 100px;
    }
    
    .hero-image-container {
        height: 350px;
        width: 95%;
        margin-bottom: 2rem;
    }
    
    .hero-overlay h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-overlay p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .features, .about, .testimonials, .cta {
        padding: 3rem 5%;
    }
    
    .feature-heading h2, .about h2, .testimonials h2, .cta h2 {
        font-size: 1.6rem;
    }
    
    .cta-button, .btn-outline {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    section {
        margin: 0;
        padding: 3rem 1rem;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .audience-card {
        padding: 1.5rem;
    }
    
    .audience-card h3 {
        font-size: 1.4rem;
    }
    
    .audience-card p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    /* Footer improvements */
    .footer-logo {
        margin-bottom: 1.5rem;
    }
    
    .social-links {
        margin-top: 1rem;
        justify-content: center;
    }
    
    .copyright {
        text-align: center;
        padding: 1rem;
        font-size: 0.75rem;
    }
    
    /* Venues page responsive */
    .venues-hero {
        padding: 100px 1rem 40px;
    }
    
    .venues-image-container {
        width: 95%;
        height: 220px;
    }
    
    .venue-card {
        margin-bottom: 1.5rem;
    }
    
    .venue-image {
        height: 140px;
    }
    
    .venue-details {
        padding: 1rem;
    }
    
    .venue-details h3 {
        font-size: 1.1rem;
    }
    
    .venue-meta {
        flex-wrap: wrap;
        gap: 0.8rem;
        font-size: 0.75rem;
    }
    
    .venue-description {
        font-size: 0.85rem;
    }
    
    .venue-tags {
        gap: 0.3rem;
    }
    
    .venue-tag {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }
    
    .venue-actions button {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    /* Team section responsive */
    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .team-card {
        max-width: 100%;
    }
    
    /* Optimize images */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Optimize popup */
    .popup-content {
        width: 95%;
        padding: 1.5rem;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    body {
        font-size: 1rem;
    }
    
    section {
        margin: 0;
        padding: 1rem 1rem !important;
    }
    
    header {
        height: 60px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .logo {
        font-size: 16px;
        left: 0.8rem;
    }
    
    .logo-img {
        max-height: 32px;
    }
    
    .hero-content {
        padding: 0.5rem 1rem;
        padding-top: 70px;
    }
    
    .audience-grid {
        gap: 1rem;
    }
    
    .hero-image-container {
        height: 320px;
        width: 100%;
        border-radius: 12px;
        margin-bottom: 1.5rem;
    }
    
    .hero-overlay {
        padding: 1.2rem;
    }
    
    .hero-overlay h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-overlay p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.85rem;
    }
    
    .card-image {
        height: 140px;
    }
    
    .feature-heading h2, .about h2, .testimonials h2, .cta h2 {
        font-size: 1.4rem;
    }
    
    .what-we-do h2 {
        font-size: 1.5rem;
    }
    
    .what-we-do p {
        font-size: 0.9rem;
    }
    
    .teams-section h2 {
        font-size: 1.5rem;
    }
    
    .teams-grid {
        grid-template-columns: 1fr;
    }
    
    .team-image {
        height: 160px;
    }
    
    .footer-content {
        padding: 1.5rem 1rem;
    }
    
    .venues-image-container {
        height: 180px;
    }
    
    .venue-card {
        border-radius: 8px;
    }
    
    .venues-map {
        height: 250px;
    }
    
    /* Mobile Menu */
    .nav-links.show {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        top: 60px; /* Match header height */
    }
    
    .nav-links li {
        padding: 0;
    }
    
    .nav-links a {
        padding: 0.7rem 0;
        font-size: 0.9rem;
    }
    
    /* Extra small screens */
    .page-header {
        padding: 6rem 1rem 2rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    /* Optimize popups */
    .popup-content {
        padding: 1.2rem;
    }
    
    .popup-content h2 {
        font-size: 1.3rem;
    }
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    position: absolute;
    right: 1.5rem;
    color: #333;
    z-index: 1001;
    width: 44px; /* Increase touch target */
    height: 44px; /* Increase touch target */
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    background: none;
    border: none;
    outline: none;
    padding: 0;
}

.menu-toggle:hover, .menu-toggle:active, .menu-toggle:focus {
    background-color: rgba(0, 0, 0, 0.05);
    outline: none;
}

/* Tablet Styles - Removed: Tablets now use desktop view */

@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    body {
        font-size: 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    header {
        height: 60px;
    }
    
    .logo {
        font-size: 18px;
        left: 1rem;
    }
    
    .logo-img {
        max-height: 35px;
    }
    
    .menu-toggle {
        display: flex;
        right: 1rem;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 0;
        gap: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        z-index: 999;
        height: auto;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        display: flex;
    }
    
    .nav-links.show {
        transform: translateY(0);
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-links li:last-child {
        position: relative;
        right: auto;
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.05rem;
        width: 100%;
        height: 100%;
        font-weight: 500;
        color: #895A6C;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .features, .about, .testimonials, .cta {
        padding: 3rem 5%;
    }
    
    .feature-heading h2, .about h2, .testimonials h2, .cta h2 {
        font-size: 1.6rem;
    }
    
    .cta-button, .btn-outline {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    section {
        margin: 0;
        padding: 2.5rem 1rem;
    }
    
    .hero {
        padding-top: 60px;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .audience-card {
        padding: 1.5rem;
    }
    
    .audience-card h3 {
        font-size: 1.4rem;
    }
    
    .audience-card p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .audience-options {
        padding: 2.5rem 1rem;
    }
    
    .hero-overlay .cta-button {
        padding: 12px 28px;
        font-size: 16px;
        min-width: 160px;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    body {
        font-size: 1rem;
    }
    
    header {
        height: 60px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .logo {
        font-size: 16px;
        left: 0.8rem;
    }
    
    .logo-img {
        max-height: 32px;
    }
    
    .menu-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .nav-links {
        top: 60px;
        max-height: calc(100vh - 60px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    /* Simplify mobile menu - only show essential links */
    .nav-links li:nth-child(1),  /* Ana Sayfa */
    .nav-links li:nth-child(4),  /* İletişim */
    .nav-links li:nth-child(5) { /* Keşfet - already at top right */
        display: none !important;
    }
    
    .nav-links li a {
        padding: 1rem 0;
        font-size: 1.05rem;
        color: #895A6C;
        font-weight: 500;
    }
    
    .nav-links a:hover, 
    .nav-links a.active {
        color: #895A6C;
    }
    
    .nav-links a::after {
        background-color: #895A6C;
    }
    
    .features, .about, .testimonials, .cta {
        padding: 1rem 1rem;
    }
    
    .audience-card {
        padding: 1rem 0.8rem;
        border-radius: 8px;
    }
    
    .audience-card h3 {
        font-size: 1.15rem;
        color: #895A6C;
    }
    
    .audience-card p {
        font-size: 0.8rem;
        line-height: 1.5;
        color: #895A6C;
    }
    
    .audience-options {
        padding: 1rem 1rem;
    }
    
    .hero-overlay .cta-button {
        padding: 9px 20px;
        font-size: 13px;
        min-width: 120px;
        background-color: #895A6C;
    }
    
    /* Simplify footer on mobile */
    footer {
        background-color: #895A6C !important;
    }
    
    .footer-content {
        padding: 1.5rem 1rem 1rem 1rem;
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem;
    }
    
    .footer-logo {
        margin-bottom: 0.5rem !important;
        margin-right: 0 !important;
    }
    
    .footer-logo .logo {
        font-size: 1.2rem;
    }
    
    .footer-logo p {
        font-size: 0.75rem;
        margin-top: 0.3rem;
        line-height: 1.4;
    }
    
    .footer-links {
        flex-direction: row !important;
        margin-top: 0 !important;
        gap: 2rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .link-group {
        margin-bottom: 0 !important;
        text-align: center !important;
        min-width: auto !important;
    }
    
    .link-group h4 {
        display: none;
    }
    
    .link-group ul {
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }
    
    .link-group ul li {
        margin-bottom: 0;
    }
    
    /* Hide specific footer links on mobile */
    .link-group ul li:nth-child(3),  /* Blog */
    .link-group:nth-child(2) ul li:nth-child(2),  /* Sıkça Sorulan Sorular */
    .link-group:nth-child(2) ul li:nth-child(3) { /* Gizlilik Politikası */
        display: none !important;
    }
    
    /* Show "Mekan Sahibi Olarak Katıl" only on mobile */
    .mobile-venue-link {
        display: block !important;
    }
    
    .link-group a {
        font-size: 0.8rem;
        font-weight: 400;
    }
    
    .link-group:nth-child(3) {
        width: 100%;
    }
    
    .social-links {
        margin-top: 0.5rem;
        justify-content: center !important;
        gap: 0.8rem;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
        box-shadow: none;
        color: #895A6C !important;
    }
    
    .social-links i {
        font-size: 1rem;
    }
    
    .copyright {
        padding: 0.8rem;
        font-size: 0.7rem;
        background-color: #895A6C !important;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .about-feature, .testimonial {
    opacity: 0;
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.4s;
}

.about-feature:nth-child(2) {
    animation-delay: 0.2s;
}

.about-feature:nth-child(3) {
    animation-delay: 0.4s;
}

/* Features Promo Section */
.features-promo {
    padding: 3rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    background-color: #fbfbfb;
}

.features-promo .feature-heading {
    max-width: 800px;
    margin: 0 auto;
}

.features-promo .cta-button {
    margin-top: 2rem;
    font-size: 1.1rem;
    padding: 15px 35px;
}

.features-promo .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Active navigation link */
.nav-links a.active,
.nav-links a:hover {
    color: #91796e;
}

.nav-links a.active::after {
    width: 100%;
}

/* What We Do Section */
.what-we-do {
    padding: 3rem 5%;
    background-color: #fbfbfb;
    text-align: center;
}

.what-we-do .container {
    max-width: 1000px;
    margin: 0 auto;
}

.what-we-do h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #111;
}

.what-we-do p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

/* 404 page styles */
a:hover {
    background-color: #7a645a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Main section padding fixes for fixed header */
.team-section, .contact-section, .profile-container {
    padding-top: 140px !important;
    margin-top: 0 !important;
}

.venues-container {
    padding-top: 140px !important;
    margin-top: 0 !important;
}

.auth-container {
    margin-top: 120px !important;
    background-color: #fbfbfb;
    box-shadow: none;
}

/* Page headers and main titles */
.section-title,
.contact-section h1,
.team-section h1,
.venues-hero h1 {
    font-size: 2.5rem !important;
    margin-bottom: 2rem;
    color: #333;
}

/* Audience Options Section */
.audience-options {
    padding: 5rem 5%;
    background-color: #fbfbfb;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.audience-card {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.audience-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.audience-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
    font-family: 'Playfair Display', serif;
}

.audience-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.audience-card .cta-button {
    align-self: flex-start;
}

@media (max-width: 992px) {
    .audience-grid {
        gap: 1.5rem;
    }
    
    .audience-card {
        padding: 1.5rem;
    }
    
    .audience-card h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .audience-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .audience-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .audience-card p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .audience-options {
        padding: 3rem 5%;
    }
}

@media (max-width: 480px) {
    .audience-card {
        padding: 1rem 0.8rem;
        border-radius: 8px;
        border: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        background-color: white;
    }
    
    .audience-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }
    
    .audience-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
        color: #895A6C;
    }
    
    .audience-card p {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
        color: #895A6C;
    }
    
    /* What We Do Section - Ne Yapıyoruz? */
    .what-we-do {
        padding: 2.5rem 1.5rem;
        background-color: white;
        margin-top: 1rem;
    }
    
    .what-we-do h2 {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
        color: #333;
        text-align: left;
        font-weight: 700;
    }
    
    .what-we-do p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        color: #666;
        text-align: left;
    }
    
    /* Three Circular Buttons */
    .what-we-do .container::after {
        content: '';
        display: block;
        margin-top: 2rem;
    }
    
    /* Hide audience cards and CTA section on mobile */
    .audience-options {
        display: none !important;
    }
    
    .cta {
        display: none !important;
    }
    
    /* Simplify buttons on mobile */
    .cta-button {
        padding: 9px 20px;
        font-size: 0.85rem;
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        background-color: #895A6C;
    }
    
    .cta-button:hover {
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
        background-color: #764d5d;
    }
    
    /* Circular Buttons Container */
    .mobile-circular-buttons {
        display: flex !important;
        justify-content: space-between;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .circular-button {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
    }
    
    .circular-button-circle {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        background-color: #a89080;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .circular-button-text {
        font-size: 0.85rem;
        color: #333;
        text-align: center;
        font-weight: 500;
    }
    
    /* Text Links Section */
    .mobile-text-links {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 1.5rem;
        background-color: white;
        margin-top: 1rem;
    }
    
    .mobile-text-link {
        text-decoration: underline;
        color: #333;
        font-size: 0.95rem;
        font-weight: 500;
        text-align: center;
    }
    
    /* Hide features, testimonials on mobile */
    .features {
        display: none !important;
    }
    
    .testimonials {
        display: none !important;
    }
    
    .about {
        display: none !important;
    }
    
    /* Footer adjustments - new compact horizontal design */
    footer {
        background-color: #a89080 !important;
        margin-top: 1rem;
    }
    
    .footer-content {
        padding: 1.5rem 1rem !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 1rem !important;
        flex-wrap: wrap !important;
        text-align: left !important;
    }
    
    .footer-logo {
        margin: 0 !important;
        flex-shrink: 0;
    }
    
    .footer-logo .logo {
        font-size: 1rem !important;
        color: white !important;
    }
    
    .footer-logo p {
        display: none !important;
    }
    
    .footer-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 0.8rem 1.5rem !important;
        justify-content: center !important;
        flex: 1 !important;
        margin: 0 !important;
    }
    
    .link-group {
        margin: 0 !important;
        min-width: auto !important;
    }
    
    .link-group h4 {
        display: none !important;
    }
    
    .link-group ul {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 0.8rem 1.5rem !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .link-group ul li {
        margin: 0 !important;
        list-style: none !important;
    }
    
    .link-group a {
        font-size: 0.75rem !important;
        font-weight: 400 !important;
        color: white !important;
        white-space: nowrap !important;
    }
    
    .link-group:nth-child(3) {
        flex-shrink: 0 !important;
        width: auto !important;
    }
    
    .social-links {
        display: flex !important;
        gap: 0.6rem !important;
        margin: 0 !important;
        justify-content: flex-end !important;
    }
    
    .social-links a {
        width: 32px !important;
        height: 32px !important;
        background-color: rgba(255, 255, 255, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        color: white !important;
        box-shadow: none !important;
    }
    
    .social-links a:hover {
        background-color: rgba(255, 255, 255, 0.3) !important;
    }
    
    .social-links i {
        font-size: 0.9rem !important;
    }
    
    .copyright {
        background-color: #98806f !important;
        color: white !important;
        padding: 0.8rem !important;
        font-size: 0.7rem !important;
        text-align: center !important;
    }
}

/* Teams Section Styles */
.teams-section {
    padding: 80px 5%;
    background-color: #f9f9f9;
}

.teams-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.teams-section h2 {
    font-size: 1.625rem;
    color: #111;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.teams-section p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #666;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

@media (max-width: 1200px) {
    .teams-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .teams-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

.team-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 280px; /* Smaller minimum height for compact cards */
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.team-image {
    height: 120px;
    overflow: hidden;
    position: relative;
}

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

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

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    padding: 8px;
    word-break: break-word;
}

.team-card:nth-child(2n) .placeholder-image {
    background: linear-gradient(135deg, #ff9966, #ff5e62);
}

.team-card:nth-child(3n) .placeholder-image {
    background: linear-gradient(135deg, #56ab2f, #a8e063);
}

.team-card:nth-child(4n) .placeholder-image {
    background: linear-gradient(135deg, #614385, #516395);
}

.team-card:hover .placeholder-image {
    transform: scale(1.05);
}

.team-details {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px; /* Smaller height for compact cards */
}

.team-details h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
}

.team-details p {
    flex-grow: 1;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #666;
    margin-bottom: 8px;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-details .cta-button {
    padding: 6px 16px;
    font-size: 0.85rem;
}

/* Join Section Styles */
.join-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
    margin-top: 1rem;
}

.join-section h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.join-section p {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

.join-section .join-cta-button {
    background-color: #967b6f;
    border-radius: 25px;
    padding: 10px 24px;
    font-size: 14px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.join-section .join-cta-button:hover {
    background-color: #7a645a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .team-image {
        height: 180px;
    }
    
    .team-details h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .team-image {
        height: 200px;
    }
}

/* Page Header Styling */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/general/main-image.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    margin-bottom: 0;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
}

.team-actual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-actual-image {
    transform: scale(1.05);
}

/* ===============================
   SIMPLIFIED ANIMATIONS
   =============================== */

/* 1. Sayfa yumuşakça beliriyor (fade-in) */
@keyframes pageLoadFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: pageLoadFade 0.8s ease-out;
}

/* 2. Menü öğeleri teker teker görünüyor */
@keyframes navLinkFade {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-links li {
    animation: navLinkFade 0.6s ease-out both;
}

.nav-links li:nth-child(1) { animation-delay: 0.1s; }
.nav-links li:nth-child(2) { animation-delay: 0.2s; }
.nav-links li:nth-child(3) { animation-delay: 0.3s; }
.nav-links li:nth-child(4) { animation-delay: 0.4s; }
.nav-links li:nth-child(5) { animation-delay: 0.5s; }

/* 3. Başlık aşağıdan yukarı kayarak giriyor */
@keyframes heroTitleSlide {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero h1 {
    animation: heroTitleSlide 1s ease-out 0.3s both;
}

/* 4. Alt metin de aynı şekilde ama biraz gecikmeli */
.hero-subtitle {
    animation: heroTitleSlide 1s ease-out 0.6s both;
}

/* 5. Kartların üzerine gelince yukarı kalkıyor ve büyüyor - Bu stiller zaten başka yerde tanımlı */

/* 6. Butonların üzerine gelince parlıyor ve yukarı kalkıyor */
.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    min-width: 200px;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: toast-slide-in 0.3s ease-out;
}

.toast-success {
    background-color: #91796e;
}

.toast-error {
    background-color: #f44336;
}

.toast-fade-out {
    animation: toast-fade-out 0.3s ease-out forwards;
}

@keyframes toast-slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toast-fade-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Mobile Menu for App Pages */
@media (max-width: 768px) {
    /* Hide desktop header on mobile */
    .app-header {
        display: none;
    }

    /* Show mobile header */
    .mobile-header-app {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 60px;
        background-color: #fbf8f6;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1rem;
        z-index: 1000;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .logo-app {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
    }

    .logo-app a {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

    .logo-img-app {
        max-height: 40px;
        width: auto;
    }

    .mobile-nav-app {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        flex: 1;
    }

    .nav-link-app {
        color: #222;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-family: 'Poppins', sans-serif;
    }

    .nav-link-app:hover {
        background-color: #f5f5f5;
    }

    .nav-link-app.active {
        color: #967b6f;
        font-weight: 600;
    }

    .profile-app {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #967b6f;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex: 0 0 auto;
        transition: all 0.3s ease;
    }

    .profile-app i {
        color: white;
        font-size: 18px;
    }

    .profile-app:hover {
        background-color: #7a645a;
        transform: scale(1.05);
    }

    /* Adjust main content padding for mobile header */
    .venues-main,
    main {
        padding-top: 80px;
    }
}

/* Hide mobile header on desktop */
@media (min-width: 769px) {
    .mobile-header-app {
        display: none;
    }
}

/* Mobile Menu for Other Pages (genclik-ekipleri, ekibimiz, iletisim) */
@media (max-width: 768px) {
    /* Hide desktop header on mobile */
    .desktop-header {
        display: none;
    }

    /* Show mobile header */
    .mobile-header-page {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 60px;
        background-color: #fbf8f6;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1rem;
        z-index: 1000;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .hamburger-page {
        width: 40px;
        height: 40px;
        background-color: #967b6f;
        border: none;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        cursor: pointer;
        padding: 0;
    }

    .hamburger-page span {
        width: 20px;
        height: 2px;
        background-color: white;
        transition: all 0.3s ease;
    }

    .hamburger-page.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger-page.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .logo-page {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
    }

    .logo-page a {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

    .logo-img-page {
        max-height: 40px;
        width: auto;
    }

    .cta-btn-page {
        background-color: #967b6f;
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        font-family: 'Poppins', sans-serif;
    }

    .mobile-menu-page {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #fbf8f6;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu-page.active {
        max-height: 300px;
    }

    .mobile-menu-page ul {
        list-style: none;
        padding: 1rem;
        text-align: left !important;
    }

    .mobile-menu-page li {
        margin-bottom: 0.5rem;
        text-align: left !important;
    }

    .mobile-menu-page a {
        display: block;
        padding: 0.8rem 1rem;
        color: #222;
        text-decoration: none;
        font-size: 1.05rem;
        font-weight: 500;
        border-radius: 8px;
        transition: background-color 0.3s ease;
        text-align: left !important;
    }

    .mobile-menu-page a:hover {
        background-color: #f5f5f5;
    }

    /* Adjust content padding for mobile header */
    .teams-section {
        padding-top: 148px; /* 100px + 3rem (48px) for extra spacing after menu */
    }
    
    .team-section,
    .contact-section {
        padding-top: 100px;
    }

    /* Adjust container padding for mekanlar page on mobile */
    .container {
        margin-top: 100px !important;
    }

    /* Hide footer on non-app pages for mobile */
    /* App pages have .venues-main class, so we hide footer on other pages */
    footer {
        display: none !important;
    }
    
    /* Show footer on app pages (pages with .venues-main) */
    main.venues-main ~ footer {
        display: block !important;
    }
}

/* Hide mobile header on desktop for other pages */
@media (min-width: 769px) {
    .mobile-header-page,
    .mobile-menu-page {
        display: none;
    }
}
