/* ========================================
   SMG Mühendislik - Responsive CSS
   Mobile First Yaklaşım
   Framework Kullanılmamıştır
   ======================================== */

/* ========================================
   CSS Reset ve Temel Stiller
   ======================================== */

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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* ========================================
   Tipografi
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

h1 {
    font-size: 1.75rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 1.5rem;
}

/* ========================================
   Layout - Container
   ======================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ========================================
   Header ve Navigation
   ======================================== */

.header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo picture {
    width: 100px;
    height: 100px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.25rem;
    color: #fff;
    margin: 0;
}

.navigation ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.navigation li {
    width: 100%;
}

.navigation a {
    display: block;
    padding: 0.5rem 1rem;
    color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.navigation a:hover,
.navigation a.active {
    background-color: #e67e22;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: #fff;
    padding: 3rem 0;
}

.hero-content h2 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.hero-image {
    margin-top: 2rem;
}

.hero-image img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Buttons
   ======================================== */

.cta-button,
.submit-button,
.service-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #e67e22;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover,
.submit-button:hover,
.service-link:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

.service-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* ========================================
   Page Header
   ======================================== */

.page-header {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.page-header h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1rem;
    color: #ecf0f1;
}

/* ========================================
   Sections
   ======================================== */

section {
    padding: 3rem 0;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.alt-bg {
    background-color: #f8f9fa;
}

/* ========================================
   Services Overview
   ======================================== */

.services-overview h2,
.project-types h2,
.why-choose-us h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.service-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.service-list li {
    margin-bottom: 0.5rem;
    color: #555;
}

.service-link {
    margin-top: 1rem;
}

/* ========================================
   Features Grid
   ======================================== */

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature-item h3 {
    color: #e67e22;
    margin-bottom: 0.5rem;
}

/* ========================================
   Project Types
   ======================================== */

.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.project-type {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-type:hover {
    transform: translateY(-5px);
}

.project-type img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-type h3 {
    padding: 1rem 1.5rem 0.5rem;
    color: #2c3e50;
}

.project-type p {
    padding: 0 1.5rem 1.5rem;
    color: #555;
    margin: 0;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: #fff;
    text-align: center;
    padding: 3rem 0;
}

.cta-section h2 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.cta-section .cta-button {
    background-color: #fff;
    color: #e67e22;
}

.cta-section .cta-button:hover {
    background-color: #f8f9fa;
}

/* ========================================
   Service Detail Pages
   ======================================== */

.service-detail {
    padding: 3rem 0;
}

.service-detail-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-detail-text h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-detail-text h3 {
    color: #e67e22;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-detail-text h4 {
    color: #34495e;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-detail-image img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-types-list,
.process-list {
    margin: 1.5rem 0;
}

.project-type-detail,
.solar-service {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #e67e22;
}

.project-type-detail h4,
.solar-service h4 {
    color: #2c3e50;
    margin-top: 0;
}

.project-type-detail ul,
.solar-service ul,
.process-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.project-type-detail li,
.solar-service li,
.process-list li {
    margin-bottom: 0.5rem;
    color: #555;
}

.application-areas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.area-item {
    background-color: #fff;
    padding: 1rem;
    border-radius: 6px;
    border: 2px solid #e67e22;
}

.area-item h5 {
    color: #e67e22;
    margin-bottom: 0.25rem;
}

.area-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

/* ========================================
   About Page
   ======================================== */

.company-intro {
    padding: 3rem 0;
}

.intro-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.intro-text p {
    text-align: justify;
}

.intro-image img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mission-vision {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.mission,
.vision {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mission h2 {
    color: #e67e22;
}

.vision h2 {
    color: #3498db;
}

.our-values {
    padding: 3rem 0;
}

.our-values h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.value-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 4px solid #e67e22;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.expertise-areas {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.expertise-areas h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.expertise-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.expertise-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.expertise-item h3 {
    color: #e67e22;
    margin-bottom: 0.75rem;
}

.why-us-detailed {
    padding: 3rem 0;
}

.why-us-detailed h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.why-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.why-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* ========================================
   Contact Page
   ======================================== */

.contact-section {
    padding: 3rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-form-container h2,
.contact-info h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e67e22;
}

.form-note {
    font-size: 0.875rem;
    color: #666;
    margin-top: -0.5rem;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.contact-info-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;
}

.contact-info-item:last-of-type {
    border-bottom: none;
}

.contact-info-item h3 {
    color: #e67e22;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-info-item a {
    color: #3498db;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.quick-contact {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #e67e22;
}

.quick-contact h3 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

/* ========================================
   FAQ Section
   ======================================== */

.faq-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.faq-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #e67e22;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #555;
    margin: 0;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #e67e22;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: #bbb;
    font-size: 0.9rem;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #e67e22;
}

.footer-section address {
    font-style: normal;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    color: #888;
    font-size: 0.875rem;
}

/* ========================================
   Tablet Responsive (768px - 1023px)
   ======================================== */

@media (min-width: 768px) {
    /* Tipografi */
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Container */
    .container {
        padding: 0 2rem;
    }

    /* Header */
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo picture {
        width: 100px;
        height: 100px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .navigation ul {
        flex-direction: row;
        gap: 1rem;
    }

    .navigation li {
        width: auto;
    }

    /* Hero */
    .hero-content h2 {
        font-size: 2.25rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    /* Services Grid */
    .services-grid {
        flex-direction: row;
        gap: 2rem;
    }

    .service-card {
        flex: 1;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Project Grid */
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Service Detail */
    .service-detail-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .service-detail-text {
        flex: 1.5;
    }

    .service-detail-image {
        flex: 1;
    }

    .service-detail-content.reverse {
        flex-direction: row-reverse;
    }

    /* Application Areas */
    .application-areas {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About Page */
    .intro-content {
        flex-direction: row;
        align-items: center;
    }

    .intro-text {
        flex: 1.5;
    }

    .intro-image {
        flex: 1;
    }

    .mission-vision-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-content {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1.5fr 1fr;
    }

    /* FAQ */
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Desktop Responsive (1024px+)
   ======================================== */

@media (min-width: 1024px) {
    /* Tipografi */
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    /* Logo - Desktop'ta tekrar 50x50 */
    .logo picture {
        width: 50px;
        height: 50px;
    }

    /* Hero */
    .hero {
        padding: 5rem 0;
    }

    .hero .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }

    .hero-content h2 {
        font-size: 2.75rem;
    }

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

    .hero-image {
        margin-top: 0;
    }

    /* Page Header */
    .page-header h2 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.2rem;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Project Grid */
    .project-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Application Areas */
    .application-areas {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Values Grid */
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-us-content {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Service Detail */
    .service-detail {
        padding: 4rem 0;
    }

    /* CTA Section */
    .cta-section {
        padding: 4rem 0;
    }

    .cta-section h2 {
        font-size: 2.25rem;
    }

    .cta-section p {
        font-size: 1.2rem;
    }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .header,
    .navigation,
    .cta-section,
    .footer,
    .contact-form {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        text-decoration: underline;
    }

    img {
        max-width: 100%;
        page-break-inside: avoid;
    }
}