/*
Theme Name: Fedli Usta
Theme URI: https://fedliusta.com
Author: Antigravity
Description: Custom theme for Fedli Usta construction services.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: fedli-usta
*/

:root {
    --primary-blue: #0A2342;
    /* Navy Blue - Trust */
    --accent-orange: #FF9F1C;
    /* Construction Orange - Action */
    --success-green: #2EC4B6;
    /* WhatsApp Green */
    --light-grey: #F8F9FA;
    --text-dark: #333333;
    --text-muted: #666666;
    --white: #FFFFFF;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --border-radius: 8px;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #06152a;
}

.btn-accent {
    background-color: var(--accent-orange);
    color: var(--white);
}

.btn-accent:hover {
    background-color: #e88b00;
}

.btn-whatsapp {
    background-color: var(--success-green);
    color: var(--white);
}

/* Header */
.top-bar {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 0;
    font-size: 0.9em;
    font-weight: 500;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
}

.contact-info i {
    margin-right: 8px;
    color: var(--accent-orange);
}

.site-header {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    /* Softer, deeper shadow */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    /* Reduced padding for sleeker look */
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Logo Fix */
.logo a {
    display: flex;
    align-items: center;
    height: 90px;
    /* Increased from 70px */
}

.logo img {
    height: 100%;
    /* Fill container height */
    width: auto;
    /* Maintain aspect ratio */
    object-fit: contain;
    /* Prevent distortion */
    max-width: 300px;
    /* Increased max width */
}

/* Navigation - Premium Look */
.main-navigation ul {
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    font-family: var(--font-heading);
    font-weight: 800;
    /* Extra Bold */
    color: var(--primary-blue);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-orange);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Hero Section - Concept Match */
.hero-section {
    background: linear-gradient(120deg, #ffffff 0%, #f0f4f8 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Background Pattern for Hero */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image:
        linear-gradient(rgba(10, 35, 66, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 35, 66, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    /* Architectural Grid */
    z-index: 0;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    /* Fade out */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Image Styling */
.hero-text h1 {
    font-size: 3.5em;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.hero-subtitle {
    font-size: 1.2em;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 500;
    border-left: 4px solid var(--accent-orange);
    padding-left: 15px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

/* Hero Contact Extra */
.hero-contact-extra {
    margin-top: 30px;
    padding-top: 0;
    border-top: none;
    display: block;
}

.hero-contact-extra p {
    font-weight: normal;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

/* Architectural shape behind mascot */
.hero-image::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    background: var(--accent-orange);
    border-radius: 50% 40% 60% 50% / 60% 50% 60% 40%;
    /* Organic Blob */
    opacity: 0.1;
    z-index: -1;
    animation: blobMorph 8s ease-in-out infinite alternate;
}

@keyframes blobMorph {
    0% {
        border-radius: 50% 40% 60% 50% / 60% 50% 60% 40%;
        transform: rotate(0deg);
    }

    100% {
        border-radius: 60% 50% 50% 60% / 50% 60% 40% 50%;
        transform: rotate(10deg);
    }
}

.hero-image img {
    max-height: 500px;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    animation: float 6s ease-in-out infinite;
    display: block;
    margin: 0 auto;
    mix-blend-mode: multiply;
    /* Hides white background */
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Service Image Fix - Hides white background on service images */
.service-img img {
    mix-blend-mode: multiply;
    display: block;
}

/* Services Grid */
.services-section {
    padding: 120px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3em;
    position: relative;
    display: inline-block;
    color: var(--primary-blue);
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-orange);
    margin: 15px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* Lighter shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    /* Ensure content doesn't spill */
    border: 1px solid #f0f0f0;
    /* Subtle border */
    display: flex;
    /* Flex layout */
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 220px;
    overflow: hidden;
    background: #f8fafc;
    /* Light background for transparent images */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.service-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Changed to contain for illustrations */
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    /* Push footer/button down if needed */
    display: flex;
    flex-direction: column;
    text-align: center;
    /* Center text */
}

.service-content h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.25em;
    font-weight: 700;
}

.service-content p {
    color: #64748b;
    margin-bottom: 25px;
    font-size: 0.95em;
    flex-grow: 1;
    /* Allow description to take space */
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--light-grey);
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.feature-item i {
    color: var(--success-green);
    margin-right: 15px;
    font-size: 1.2em;
}

/* Footer */
.site-footer {
    background: var(--primary-blue);
    color: #cbd5e1;
    padding: 100px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-widget h4 {
    color: var(--white);
    margin-bottom: 25px;
}

.footer-widget a:hover {
    color: var(--accent-orange);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #cbd5e1;
}

.footer-contact i {
    color: var(--accent-orange);
    margin-right: 15px;
    font-size: 1.1em;
    width: 20px;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--accent-orange);
    color: var(--white);
    transform: translateY(-3px);
}

.site-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9em;
    color: #94a3b8;
}