/* Hayri Kaya Grup İnşaat - Özel Stiller */
:root {
    --primary-orange: #ff6b35;
    --primary-orange-light: #ff8a65;
    --primary-orange-dark: #e55722;
    --primary-black: #1a1a1a;
    --secondary-gray: #6b7280;
    --light-gray: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--white);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-orange-dark);
}

/* Header styles */
.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.site-logo-img {
    display: block;
    height: 52px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.site-logo-img--mobile {
    height: 44px;
    max-width: 180px;
}

.site-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.site-logo-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-black);
}

.site-logo-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-orange);
}

/* Mobile menu */
.mobile-menu-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 60;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 107, 53, 0.1);
}

.mobile-menu-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary-black);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease, width 0.25s ease;
}

.mobile-menu-toggle.is-active .mobile-menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-active .mobile-menu-toggle-bar:nth-child(2) {
    opacity: 0;
    width: 0;
}

.mobile-menu-toggle.is-active .mobile-menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 90;
}

.mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 360px);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-menu-drawer.is-active {
    transform: translateX(0);
}

body.mobile-menu-open {
    overflow: hidden;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}

.mobile-menu-brand {
    text-decoration: none;
    color: inherit;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.mobile-menu-close:hover {
    background: rgba(255, 107, 53, 0.12);
    color: var(--primary-orange);
}

.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 12px;
    color: #334155;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
}

.mobile-nav-link i {
    width: 18px;
    color: var(--primary-orange);
    text-align: center;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(255, 107, 53, 0.08);
    color: var(--primary-orange);
}

.mobile-nav-group {
    margin-bottom: 0.15rem;
}

.mobile-nav-toggle {
    justify-content: space-between;
}

.mobile-nav-link-main {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.mobile-nav-chevron {
    font-size: 0.8rem;
    color: #94a3b8;
    transition: transform 0.25s ease;
}

.mobile-nav-toggle[aria-expanded="true"] .mobile-nav-chevron {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    padding: 0.25rem 0 0.5rem 2.35rem;
}

.mobile-submenu.is-open {
    display: block;
}

.mobile-submenu a {
    display: block;
    padding: 0.55rem 0.75rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 8px;
}

.mobile-submenu a:hover,
.mobile-submenu a.mobile-submenu-all {
    color: var(--primary-orange);
    background: rgba(255, 107, 53, 0.06);
}

.mobile-menu-footer {
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-menu-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #475569;
    font-weight: 600;
    text-decoration: none;
}

.mobile-menu-contact i {
    color: var(--primary-orange);
}

.mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.25);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

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

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-orange-dark), var(--primary-orange));
}

.btn-outline-primary {
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    background: transparent;
    padding: 10px 26px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-1px);
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--secondary-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Service cards */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-orange);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

/* Stats section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-black), #2d2d2d);
    color: white;
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-orange);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #d1d5db;
    font-weight: 500;
}

/* Portfolio grid */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.portfolio-item:hover img {
    filter: brightness(0.8);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

/* Contact form */
.contact-form {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-black);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-control.error {
    border-color: #ef4444;
}

/* Floating action buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.floating-btn:hover {
    transform: scale(1.1);
    color: white;
}

.floating-btn.whatsapp {
    background: #25d366;
}

.floating-btn.phone {
    background: var(--primary-orange);
}

.floating-btn.location {
    background: #4285f4;
}

/* Section spacing */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--secondary-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--primary-black);
    color: white;
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-orange);
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .floating-buttons {
        bottom: 15px;
        left: 15px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Breadcrumb */
.breadcrumb {
    background: var(--light-gray);
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--secondary-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--primary-orange);
}

.breadcrumb-nav .current {
    color: var(--primary-black);
    font-weight: 600;
}

/* Page header */
.page-header {
    background: linear-gradient(135deg, var(--light-gray) 0%, white 100%);
    padding: 4rem 0 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.page-header p {
    font-size: 1.2rem;
    color: var(--secondary-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Image gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    filter: brightness(1.1) saturate(1.1);
}
