/* Global Vars - Luxury Theme */
:root {
    --primary-color: #D4AF37;
    /* Luxury Gold */
    --primary-hover: #b4932a;
    --secondary-color: #1a1a1a;
    --text-light: #f8fafc;
    --text-muted: #a0aec0;
    --bg-dark: #0B1120;
    /* Deep Navy/Black */
    --bg-card: #151e32;
    --bg-darker: #050914;
    --border-color: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-main: 'Outfit', sans-serif;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    line-height: 1.2;
    color: #fff;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 4px;
    /* More corporate shape */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #000;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-white {
    background: #fff;
    color: var(--bg-dark);
}

.btn-white:hover {
    background: #f0f0f0;
}

.btn.sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Section Common */
.section {
    padding: 120px 0;
}

.sub-title {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    display: inline-block;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    font-weight: 700;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    background-color: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.0);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 80px;
    width: auto;
    border-radius: 4px;
    /* Slight rounded corners */
}

.logo span {
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    width: 100%;
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5, 9, 20, 0.6) 0%, rgba(5, 9, 20, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-top: 60px;
}

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-title span {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    position: relative;
}

.hero-title span::before {
    content: 'Mimarisi';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    border-right: 4px solid var(--primary-color);
    animation: fillText 4s linear infinite alternate;
    -webkit-text-stroke: 0;
}

@keyframes fillText {

    0%,
    20% {
        width: 0;
    }

    80%,
    100% {
        width: 100%;
        border-color: transparent;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
    max-width: 650px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Scroll Down Mouse */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 2px;
    height: 6px;
    background: #fff;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about {
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    padding-left: 20px;
    padding-bottom: 20px;
}

.image-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.placeholder-img {
    width: 100%;
    height: 500px;
    background: linear-gradient(45deg, #1e293b, #0f172a);
    position: relative;
}

/* We can add a pseudo element to simulate a building image vaguely */
.placeholder-img::after {
    content: 'Görsel Alanı';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.05);
    font-size: 3rem;
    font-weight: 900;
}

.exp-badge {
    position: absolute;
    bottom: 50px;
    left: -20px;
    background: var(--primary-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #000;
    display: flex;
    align-items: center;
    gap: 15px;
}

.exp-badge .count {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.exp-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.about-text {
    margin-bottom: 30px;
    color: var(--text-muted);
}

.features-list {
    margin-bottom: 40px;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-light);
}

.features-list i {
    color: var(--primary-color);
}

.link-btn {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.link-btn:hover {
    gap: 15px;
}

/* Services Section */
.services {
    background-color: var(--bg-darker);
    position: relative;
}

/* Subtle pattern overlay */
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background-color: rgba(255, 255, 255, 0.04);
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    opacity: 0.8;
    transition: var(--transition);
}

.service-card:hover .card-icon {
    opacity: 1;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 2px;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
}

.project-img {
    height: 400px;
    background-color: #2a2a2a;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    /* Placeholder Gradients */
    background: linear-gradient(135deg, #2c3e50, #000);
}

.project-img.img-2 {
    background: linear-gradient(135deg, #434343, #000000);
}

.project-img.img-3 {
    background: linear-gradient(135deg, #134E5E, #71B280);
}

.project-img .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.project-img:hover .overlay {
    opacity: 1;
}

.project-img .overlay i {
    font-size: 2rem;
    color: #fff;
    transform: scale(0);
    transition: var(--transition);
}

.project-img:hover .overlay i {
    transform: scale(1);
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    transition: var(--transition);
}

.project-card:hover .project-info h3 {
    color: var(--primary-color);
}

.project-info span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.cta-box {
    background: linear-gradient(90deg, #151e32, #0B1120);
    border: 1px solid var(--border-color);
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Shine effect */
.cta-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-25deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: #050914;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-desc {
    color: var(--text-muted);
    margin: 20px 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: #000;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #fff;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: var(--text-muted);
}

.footer ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 15px;
    color: var(--text-muted);
    align-items: flex-start;
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Animations Triggered by JS */
.fade-in-up,
.fade-in-left,
.fade-in-right,
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-right {
    transform: translateX(30px);
}

.in-view {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        z-index: 1001;
        /* Above header */
    }

    .nav-list.active {
        right: 0;
    }

    .hamburger {
        display: block;
        z-index: 1002;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Adjustments for Float Button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* Floating Mail Button */
.mail-float {
    position: fixed;
    bottom: 100px;
    /* Positioned above WhatsApp button */
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #ea4335;
    /* Google Red or similar mail color */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 26px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.mail-float:hover {
    background-color: #c5221f;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .mail-float {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}