/* User Design Scheme Palette Integration */
:root {
    /* New Yellow-Heavy Palette for Brass Metal - Adjusted Yellow Shade */
    --color-primary: #FFC107; /* Amber'e yakın sarı - Pirinç metalini daha iyi yansıtır, altın sarısı değil */
    --color-secondary: #4A4A4A; /* Koyu gri - Kontrast ve derinlik sağlar, modern bir dokunuş katar */
    --color-accent: #FFA500; /* Canlı turuncu/amber - Vurgu ve etkileşimli öğeler için sıcak bir ton */
    --color-background: #171717; /* Koyu arka plan - Sarı tonlarını öne çıkarır */
    --color-surface: #262626; /* Yüzey rengi - Kartlar ve bölümler için hafif kontrast */
    --color-text: #FFFFFF; /* Beyaz metin - Koyu arka planlarda yüksek okunabilirlik */
    --color-text-secondary: #A3A3A3; /* İkincil metin - Açıklamalar ve alt başlıklar için */
    --color-border: #2F2F2F; /* Kenarlık rengi - Elemanlar arasında ince ayrım */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;

    /* Existing variables from user's code, adjusted to new palette */
    --primary-color: var(--color-primary);
    --secondary-color: var(--color-secondary);
    --accent-color: var(--color-accent);
    --text-color: var(--color-text);
    --text-secondary-color: var(--color-text-secondary);
    --bg-color: var(--color-background);
    --surface-color: var(--color-surface);
    --border-color: var(--color-border);

    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;

    --border-radius-sm: 8px;
    --border-radius-md: 16px; /* For "rounded" feature */
    --border-radius-lg: 24px;

    scroll-behavior: smooth;

    /* Helper for RGB values for rgba() */
    --primary-color-rgb: 255, 193, 7; /* RGB for #FFC107 */
    --accent-color-rgb: 255, 165, 0; /* RGB for #FFA500 */
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--border-radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Selection Styling */
::selection {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

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

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

.section-title {
    font-family: var(--font-serif);
    font-size: 3.5em; /* Increased for impact */
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: var(--border-radius-sm);
}

.section-subtitle {
    font-size: 1.3em;
    color: var(--text-secondary-color);
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--border-radius-md); /* Rounded feature */
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
}

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

.primary-btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.3);
}

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

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.2);
}

/* Header */
.header {
    background-color: var(--bg-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.header.sticky {
    background-color: var(--surface-color);
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.header.sticky .logo-img {
    height: 40px;
}

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

.header .logo {
    display: flex;
    align-items: center;
}

.header .logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

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

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1em;
    position: relative;
    padding: 5px 0;
}

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

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.8em;
    cursor: pointer;
    color: var(--primary-color);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.mobile-menu {
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: var(--border-radius-md);
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 400px;
    transform: translateY(-20px);
    transition: transform 0.4s ease;
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateY(0);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-menu a {
    color: var(--text-color);
    font-size: 1.4em;
    font-weight: 600;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu a:hover {
    color: var(--accent-color);
}

.mobile-menu .close-menu-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2em;
    color: var(--text-secondary-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu .close-menu-toggle:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--surface-color) 100%);
    overflow: hidden;
    padding-top: 100px; /* To account for fixed header */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://r.resimlink.com/bxrE4DAYWv.jpg'); /* Kullanıcının sağladığı yeni görsel */
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* Subtle overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 4.5em;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--primary-color);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: var(--text-secondary-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Floating Shapes for Hero Background - Removed as per user's specific background image request */

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: var(--border-radius-md); /* Rounded feature */
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(var(--primary-color-rgb), 0.2);
}

.service-icon {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: block;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-secondary-color);
    font-size: 1.1em;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    min-width: 400px;
}

.about-image img {
    border-radius: var(--border-radius-lg); /* Rounded feature */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-color);
}

.about-text {
    flex: 1;
}

.about-text .section-title {
    text-align: left;
    font-size: 3em;
    margin-bottom: 20px;
}

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

.about-text p {
    font-size: 1.15em;
    color: var(--text-secondary-color);
    margin-bottom: 25px;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: var(--border-radius-md); /* Rounded feature */
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    z-index: 0;
    transition: all 0.4s ease;
}

.process-step:hover::before {
    transform: scale(3);
    opacity: 0;
}

.step-icon {
    font-size: 3em;
    color: var(--accent-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.process-step h3 {
    font-family: var(--font-serif);
    font-size: 1.7em;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.process-step p {
    color: var(--text-secondary-color);
    font-size: 1.05em;
    position: relative;
    z-index: 1;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md); /* Rounded feature */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: 1px solid var(--border-color);
    display: flex; /* Ensure content aligns */
    justify-content: center; /* Center image horizontally */
    align-items: center; /* Center image vertically */
    /* Yeni: Tüm portföy öğeleri için sabit boyut */
    height: 300px; /* Tüm öğeler aynı yüksekliğe sahip olacak */
    width: 100%; /* Izgara sütununun tam genişliğini alacak */
}

.portfolio-item img {
    /* Yeni: Görseli sabit boyutlu kapsayıcıya sığdır ve alanı kapla */
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görseli kırparak alanı tamamen doldurur */
    transition: transform 0.4s ease;
}

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

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--primary-color-rgb), 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.portfolio-item .overlay span {
    color: var(--bg-color);
    font-size: 1.5em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

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

/* Portfolio Modal */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.portfolio-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: var(--surface-color);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.portfolio-modal.active .modal-content {
    transform: scale(1);
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--border-radius-md);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--text-color);
    font-size: 3em;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 50px auto 30px auto;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-color: var(--surface-color);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.testimonial-item {
    display: none;
    text-align: center;
    padding: 20px;
}

.testimonial-item.active {
    display: block;
}

.testimonial-item p {
    font-size: 1.3em;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-item h4 {
    font-family: var(--font-serif);
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-item span {
    font-size: 1em;
    color: var(--text-secondary-color);
}

.slider-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--border-color);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 60px;
    margin-top: 50px;
}

.contact-form {
    flex: 2;
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 1.1em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    flex: 1;
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
}

.info-item i {
    font-size: 2em;
    color: var(--accent-color);
}

.info-item p {
    font-size: 1.1em;
    color: var(--text-color);
}

.map-container {
    margin-top: 30px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container iframe {
    border-radius: var(--border-radius-sm);
}

/* Footer */
.footer {
    background-color: var(--bg-color);
    padding: 60px 0 30px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-about,
.footer-links,
.footer-social {
    flex: 1;
    min-width: 250px;
}

.footer-about h3,
.footer-links h3,
.footer-social h3 {
    font-family: var(--font-serif);
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.footer-about p {
    color: var(--text-secondary-color);
    line-height: 1.8;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--text-secondary-color);
    font-size: 1.05em;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--surface-color);
    color: var(--primary-color);
    font-size: 1.3em;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-secondary-color);
    font-size: 0.95em;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-right.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 3.5em;
    }

    .hero-content p {
        font-size: 1.2em;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        min-width: unset;
        width: 80%;
    }

    .about-text .section-title {
        text-align: center;
    }

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

    .contact-content {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-about,
    .footer-links,
    .footer-social {
        min-width: unset;
        width: 100%;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.8em;
    }

    .section-subtitle {
        font-size: 1.1em;
    }

    .hero-content h1 {
        font-size: 2.8em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .services-grid,
    .process-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .process-step,
    .portfolio-item,
    .contact-form,
    .contact-info,
    .testimonial-slider {
        padding: 30px;
    }

    .header.sticky {
        padding: 10px 0;
    }

    .header .logo-img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.2em;
    }

    .hero-content h1 {
        font-size: 2.2em;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    .mobile-menu {
        padding: 30px 20px;
    }

    .mobile-menu a {
        font-size: 1.2em;
    }

    .close-modal {
        font-size: 2.5em;
        top: 10px;
        right: 15px;
    }
}
