/* 
 * Edremit Yapı Dekorasyon - Style Sheet
 * Theme Colors: 
 * - Orange: #fe7e01
 * - Dark Blue: #192c56 / #112550
 */

:root {
    --primary-color: #fe7e01;
    --primary-hover: #e06c00;
    --secondary-color: #192c56;
    --secondary-dark: #112550;
    --text-color: #444444;
    --text-light: #777777;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #eeeeee;
    --shadow: 0 10px 30px rgba(25, 44, 86, 0.08);
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

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

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

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white) !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(254, 126, 1, 0.3);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

.btn-light {
    background-color: var(--white);
    color: var(--secondary-color);
}
.btn-light:hover {
    background-color: #f0f0f0;
}


/* --- Typography & Titles --- */
.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.section-title span {
    color: var(--primary-color);
}


/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1;
    letter-spacing: 2px;
    margin-bottom: 4px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.logo-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1;
    white-space: nowrap;
    animation: tracking-breath 3s ease-in-out infinite alternate;
}

@keyframes tracking-breath {
    0% { letter-spacing: 2px; opacity: 0.8; }
    100% { letter-spacing: 6px; opacity: 1; }
}

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

.header.scrolled .logo-title {
    font-size: 22px;
}

.header.scrolled .logo-subtitle {
    font-size: 9px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

.nav-menu ul li a {
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.nav-menu ul li a.active {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--secondary-color);
    cursor: pointer;
}


/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for fixed header */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    z-index: 1;
    transform: scale(1.05); /* Slight scale for animation */
    animation: zoomOut 20s infinite alternate linear;
}

@keyframes zoomOut {
    0% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(25, 44, 86, 0.9) 0%, rgba(17, 37, 80, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 800px;
}

.hero-subtitle {
    display: inline-block;
    background-color: rgba(254, 126, 1, 0.2);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.hero-title {
    color: var(--white);
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-desc {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* --- Hero Service Areas Tags --- */
.hero-service-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 45px;
    position: relative;
    z-index: 5;
}

.area-tag {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: float-tag 4s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: default;
}

.area-tag i {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.area-tag:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(254, 126, 1, 0.3);
}

.area-tag:hover i {
    color: var(--white);
}

/* Staggered Floating Animation */
.area-tag:nth-child(1) { animation-delay: 0.0s; }
.area-tag:nth-child(2) { animation-delay: 0.5s; }
.area-tag:nth-child(3) { animation-delay: 1.0s; }
.area-tag:nth-child(4) { animation-delay: 1.5s; }
.area-tag:nth-child(5) { animation-delay: 2.0s; }
.area-tag:nth-child(6) { animation-delay: 2.5s; }
.area-tag:nth-child(7) { animation-delay: 3.0s; }
.area-tag:nth-child(8) { animation-delay: 3.5s; }

@keyframes float-tag {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}


/* --- About Section --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image .img-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    box-shadow: 0 10px 20px rgba(254, 126, 1, 0.3);
    border: 5px solid var(--white);
}

.experience-badge .years {
    font-size: 36px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-top: 5px;
}

.about-content p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.about-features {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--secondary-color);
}

.about-features li i {
    color: var(--primary-color);
}


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

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    display: none;
}

.service-img {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(25, 44, 86, 0.15);
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-content {
    padding: 35px 30px;
    position: relative;
    background-color: var(--white);
    flex-grow: 1;
    transition: var(--transition);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: absolute;
    top: -30px;
    right: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.service-card:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-card p {
    color: var(--text-light);
    transition: var(--transition);
}


/* --- Why Us Section --- */
.why-us {
    background-color: var(--secondary-dark);
    position: relative;
    padding: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 10px;
}

.stat-text {
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
}


/* --- CTA Section --- */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff9833 100%);
    border-radius: 20px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    box-shadow: 0 15px 40px rgba(254, 126, 1, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-box::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-box::before {
    content: '';
    position: absolute;
    left: -20px;
    bottom: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-text {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.cta-text h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-action {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.cta-action .btn {
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 30px;
    padding: 15px 35px;
    font-size: 16px;
}

.cta-action .btn-light {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cta-action .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

.cta-action .btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(25, 44, 86, 0.3);
}

.cta-action .btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
}


/* --- Footer --- */
.footer {
    background-color: var(--secondary-dark);
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Make logo white if it's dark */
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.links-col ul li {
    margin-bottom: 10px;
}

.links-col ul li a {
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 10px;
}

.links-col ul li a i {
    font-size: 12px;
    color: var(--primary-color);
}

.links-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info li i {
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-info li a {
    color: rgba(255,255,255,0.7);
}

.contact-info li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    background-color: #0b1a3d;
    padding: 20px 0;
    text-align: center;
}


/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        right: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-box {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .logo {
        gap: 10px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo-title {
        font-size: 20px;
    }
    
    .logo-subtitle {
        font-size: 9px;
    }
    
    .nav-contact {
        margin-top: 20px;
        width: 100%;
    }
    
    .nav-contact .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}
