/*
 Theme Name: Amir77 İnşaat
 Theme URI: https://example.com/amir77-theme
 Author: Cengiz Koyuncular
 Description: Amir77 İnşaat için özelleştirilmiş WordPress teması
 Version: 1.0
 Text Domain: amir77
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Dancing+Script:wght@400&display=swap');

/*
 Theme Name: Amir77 İnşaat
 Theme URI: https://example.com/amir77-theme
 Author: Grok by xAI
 Description: Amir77 İnşaat için özelleştirilmiş WordPress teması
 Version: 1.0
 Text Domain: amir77
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Dancing+Script:wght@400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #1a1a1a;
    overflow-x: hidden;
}

/* Header Styles */
header {
    background: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo img {
    max-height: 100px;
    width: auto;
    border-radius: 20px;
    transition: max-height 0.3s ease;
}

.logo-small img {
    max-height: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
}

.nav-links a:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #b07c33;
    bottom: -4px;
    left: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 20px;
    height: 3px;
    background: #e0e0e0;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Projects Section */
.projects {
    padding: 0;
    background: #1a1a1a;
}

.projects-slider {
    position: relative;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 700%;
}

.slide {
    width: 14.29%;
    height: 80vh;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem;
    text-align: center;
}

.slide-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

.slide-content p {
    font-size: 1rem;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
}

.play-button {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 195px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 1.5s ease;
    opacity: 0;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.play-button.visible {
    opacity: 0.7;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.9;
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 35px 0 35px 60px;
    border-color: transparent transparent transparent #b07c33;
}

.play-button::after {
    content: 'Tanıtım Videosu';
    position: absolute;
    top: 185px;
    left: 50%;
    transform: translateX(-50%);
    color: #b07c33;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: opacity 1.5s ease;
    opacity: 0;
}

.play-button.visible::after {
    opacity: 1;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.slider-nav:hover {
    background: #b07c33;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: #b07c33;
}

/* Slogan Section */
.slogan-section {
    text-align: center;
    padding: 2rem 0;
    background: #1a1a1a;
}

.slogan-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #b07c33;
    margin-bottom: 1rem;
}

.slogan-section p {
    font-family: 'Dancing Script', cursive;
    font-size: 1.1rem;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto;
}

/* Featured Projects Section */
.featured-projects {
    padding: 0px 0;
    background: #1a1a1a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
}

.projects-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.projects-image {
    width: 100%;
    height: 348px;
    object-fit: cover;
    border-radius: 8px;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.projects-list ul {
    list-style: none;
    padding: 0;
    flex-grow: 1;
    width: 100%;
    text-align: center;
}

.projects-list li {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 0.8rem;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.projects-list li:hover {
    color: #b07c33;
}

.projects-list li.active {
    color: #b07c33;
}

.projects-list li:hover::after,
.projects-list li.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: #b07c33;
    bottom: -4px;
    left: 0;
}

.project-description-box {
    background: #222;
    padding: 1.5rem;
    border-radius: 8px;
    height: 348px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: #a0a0a0;
    font-size: 0.9rem;
}

.project-description-box h3 {
    font-size: 1.2rem;
    color: #b07c33;
    margin-bottom: 0.5rem;
}

.view-all-btn {
    display: inline-block;
    background: #b07c33;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.3s ease;
    text-align: center;
    width: 100%;
    max-width: 200px;
}

.view-all-btn:hover {
    background: #8f621e;
}

/* Professional Services Section */
.services-section {
    padding: 40px 0;
    background: #1a1a1a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: #222;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

.service-card p {
    font-size: 0.9rem;
    color: #a0a0a0;
}

/* About Section */
.about {
    padding: 40px 0;
    background: #222;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text {
    font-size: 1rem;
    color: #a0a0a0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
    color: #b07c33;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #a0a0a0;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #222;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info {
    font-size: 1rem;
    color: #a0a0a0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 1.2rem;
    color: #b07c33;
    margin-right: 1rem;
}

.contact-form {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    background: #333;
    color: #e0e0e0;
    font-size: 0.9rem;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.submit-btn {
    background: #b07c33;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #8f621e;
}

/* Footer */
footer {
    background: #121212;
    color: #a0a0a0;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}




/* Genel Sayfa İçeriği (Sadece Statik Sayfalar) */
body:not(.home) .pagep-content {
    padding: 40px 0;
    background: #1a1a1a;
    padding-top: 120px; /* Header yüksekliği kadar boşluk */
}



/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #121212;
        padding: 1rem 0;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    .nav-links a:hover::after {
        height: 3px;
    }

    .slide {
        height: 60vh;
    }

    .slide-content h3 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .play-button {
        width: 10px;
        height: 150px;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 1.5s ease;
    }

    .play-button.visible {
        opacity: 0.7;
    }

    .play-button:hover {
        transform: translate(-50%, -50%) scale(1.1);
    }

    .play-button::before {
        border-width: 25px 0 25px 40px;
    }

    .play-button::after {
        font-size: 0.8rem;
        top: 100px;
        opacity: 0;
        transition: opacity 1.5s ease;
    }

    .play-button.visible::after {
        opacity: 1;
    }

    .slogan-section h2 {
        font-size: 1.5rem;
    }

    .slogan-section p {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-content {
        grid-template-columns: 1fr;
    }

    .projects-image {
        height: 348px;
    }

    .project-description-box {
        margin-top: 1rem;
    }

    .view-all-btn {
        max-width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}