/* Custom CSS for Emre Sevimli - Hukuk & Danışmanlık */

/* Variables */
:root {
    --primary-color: #0d1b2a; /* Dark Navy */
    --secondary-color: #1b263b; /* Lighter Navy */
    --accent-color: #d4af37; /* Gold */
    --accent-hover: #b5952f;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Reset & General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

/* Typography Classes */
.section-title {
    margin-bottom: 50px;
}

.section-title h4 {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title.text-center h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
    padding: 10px 24px;
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--text-light);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-subtext {
    font-size: 0.7rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links li a {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

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

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #162a45 50%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    animation: rotate 60s linear infinite;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+') repeat;
    opacity: 0.3;
    z-index: 2;
}

.hero-content {
    color: var(--text-light);
    max-width: 800px;
    position: relative;
    z-index: 3;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-subtitle {
    color: var(--accent-color);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 500;
    display: inline-block;
    border-left: 2px solid var(--accent-color);
    padding-left: 15px;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--accent-color);
    display: block;
}

.hero-desc {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* About Section */
.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    width: 100%;
}

.about-text .section-title h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.15rem;
    line-height: 1.8;
}

.about-text strong, .about-text b {
    color: var(--primary-color);
    font-weight: 600;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 25px 15px;
    background-color: var(--bg-light);
    border-radius: 8px;
    border-bottom: 3px solid var(--accent-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    background-color: var(--primary-color);
}

.stat-item:hover h3, 
.stat-item:hover p {
    color: var(--text-light);
}

.stat-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    transition: var(--transition);
}

.stat-item p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}


/* Services */
.service-subtitle {
    max-width: 650px;
    margin: 0 auto;
    color: #555;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-card:hover::before {
    height: 100%;
    background-color: var(--primary-color);
}

.service-icon {
    width: 65px;
    height: 65px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    transition: var(--transition);
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--text-light);
}

.service-card p {
    color: #666;
    font-size: 1rem;
    transition: var(--transition);
}

/* CTA */
.cta {
    background: linear-gradient(rgba(13, 27, 42, 0.9), rgba(13, 27, 42, 0.9)), url('https://images.unsplash.com/photo-1505664177941-bd7ea711d51c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    padding: 120px 0;
    color: var(--text-light);
}

.cta h2 {
    color: var(--text-light);
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-outline-light {
    border: 2px solid var(--text-light);
    color: var(--text-light);
    background: transparent;
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(10px);
    box-shadow: var(--box-shadow-hover);
}

.info-card .icon {
    width: 55px;
    height: 55px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.info-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.info-card p {
    color: #555;
    font-size: 1.05rem;
}

.info-card a:hover {
    color: var(--accent-color);
}

.hours-list {
    color: #555;
    font-size: 1.05rem;
    width: 100%;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.hours-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hours-list li.closed span:last-child {
    color: #e74c3c;
    font-weight: 600;
}

.contact-map {
    flex: 1.2;
}

.map-wrapper {
    height: 100%;
    min-height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    padding: 10px;
    background-color: white;
}

.map-wrapper iframe {
    border-radius: 4px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo .logo-text {
    color: var(--text-light);
}

.footer-about p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.footer-col h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.footer-col ul li a i {
    font-size: 0.8rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-contact p i {
    color: var(--accent-color);
    margin-top: 5px;
    font-size: 1.1rem;
}

.footer-contact p a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    font-size: 0.95rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.appear {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .experience-badge {
        bottom: 20px;
        left: -10px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        flex-direction: column-reverse;
    }
    
    .map-wrapper {
        min-height: 300px;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        gap: 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links li a {
        display: block;
        padding: 20px;
    }
    
    .nav-links li a::after {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-btn {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-desc {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col ul li a, 
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-contact p {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

@media screen and (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}
