/* Base Styles */
:root {
    --gold: #D4AF37;
    --dark: #252525;
    --light: #f8f8f8;
    --gray: #777777;
    --border: #e5e5e5;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

/* Header Styles */
header {
    background-color: var(--dark);
    color: var(--light);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--gold);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--gold);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Page Banner */
.page-banner {
    background-color: var(--dark);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
background-image: linear-gradient(rgba(37, 37, 37, 0.7), rgba(37, 37, 37, 0.7)), url(https://www.kayaemlakyatirimdanismanlik.com.tr/resim/kaya.png);
    background-size: cover;
    background-position: center;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.breadcrumb {
    display: flex;
    justify-content: center;
}

.breadcrumb ul {
    display: flex;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb ul li {
    font-size: 0.95rem;
    color: var(--light);
    display: flex;
    align-items: center;
}

.breadcrumb ul li:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb ul li a {
    color: var(--light);
    transition: var(--transition);
}

.breadcrumb ul li a:hover {
    color: var(--gold);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 1rem;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background-color: var(--gold);
}

.lead {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 6px solid var(--gold);
    border-radius: 10px;
    z-index: -1;
}

.about-image img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    background-color: var(--light);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 500;
}

/* Story Section */
.story-section {
    padding: 5rem 0;
    background-color: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: calc(100% - 80px);
    background-color: var(--gold);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 80px;
    background-color: var(--gold);
    color: var(--white);
    font-weight: 700;
    text-align: center;
    padding: 0.8rem 0;
    border-radius: 4px;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 0 0 calc(50% - 60px);
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 15px;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -10px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}

/* Values Section */
.values-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    background-color: var(--light);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--gold);
    transition: var(--transition);
}

.value-item:hover .value-icon {
    background-color: var(--gold);
    color: var(--white);
}

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.value-item p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background-color: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.team-member {
    display: flex;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.member-photo {
    flex: 0 0 40%;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-info {
    flex: 0 0 60%;
    padding: 1.5rem;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.member-title {
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.member-info p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1.2rem;
}

.member-social {
    display: flex;
    gap: 10px;
}

.member-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    color: var(--dark);
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}

.team-cta {
    text-align: center;
    margin-top: 3rem;
}

.team-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--dark);
    color: var(--white);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background-color: var(--dark);
    color: var(--white);
}

.testimonials-section .section-header h2 {
    color: var(--white);
}

.testimonials-section .subtitle {
    color: #aaa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.quote-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.author-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.author-info {
    font-size: 0.85rem;
    color: #aaa;
}

/* Partners Section */
.partners-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    align-items: center;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.partner-item:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background-color: var(--gold);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background-color: var(--white);
    color: var(--dark);
}

.cta-buttons .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.footer-logo span {
    color: var(--gold);
}

.footer-desc {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--gold);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #aaa;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    margin-bottom: 1rem;
}

.contact-list i {
    color: var(--gold);
    margin-right: 1rem;
    margin-top: 4px;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #aaa;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #aaa;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        max-width: 700px;
        margin: 0 auto;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        background-color: var(--dark);
        width: 100%;
        height: calc(100vh - 70px);
        transition: 0.3s;
        padding: 2rem;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    .values-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-content {
        flex: 0 0 calc(100% - 120px);
        margin-left: auto;
    }
    
    .timeline-item .timeline-content::before {
        left: -10px !important;
        right: auto !important;
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 3rem auto 0;
    }
    
    .team-member {
        flex-direction: column;
    }
    
    .member-photo {
        height: 250px;
        flex: none;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-text,
.about-image,
.timeline-item,
.value-item,
.team-member,
.testimonial-item {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Delay animations in sequence */
.value-item:nth-child(2),
.timeline-item:nth-child(2),
.team-member:nth-child(2),
.testimonial-item:nth-child(2) {
    animation-delay: 0.2s;
}

.value-item:nth-child(3),
.timeline-item:nth-child(3),
.team-member:nth-child(3),
.testimonial-item:nth-child(3) {
    animation-delay: 0.4s;
}

.value-item:nth-child(4),
.timeline-item:nth-child(4),
.team-member:nth-child(4) {
    animation-delay: 0.6s;
}

.value-item:nth-child(5),
.timeline-item:nth-child(5) {
    animation-delay: 0.8s;
}

.value-item:nth-child(6),
.timeline-item:nth-child(6) {
    animation-delay: 1s;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}