@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #1e3a8a; /* Deep Royal Blue */
    --secondary-color: #f59e0b; /* Amber/Gold */
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --transition: all 0.3s ease-in-out;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    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;
}

/* Header & Navbar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 20px;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-social a {
    color: var(--white);
    margin-left: 15px;
}

header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

.nav-cta {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.nav-cta:hover {
    background-color: #d97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    padding: 100px 0;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/diyarbakir-evden-eve-nakliyat-kamyon.png'); /* Modern building with truck and elevator */
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(30, 58, 138, 0.9) 0%, rgba(30, 58, 138, 0.6) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 650px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid var(--secondary-color);
    line-height: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: #d97706;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 0 0 30px 0;
    border-radius: 30px;
    text-align: center;
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        10px 10px 25px rgba(0, 0, 0, 0.08),
        -5px -5px 15px rgba(255, 255, 255, 0.9);
    transform: perspective(1000px) translateZ(0);
    overflow: hidden;
}

.service-card:hover {
    transform: perspective(1000px) translateZ(20px) translateY(-10px);
    box-shadow: 
        15px 15px 35px rgba(0, 0, 0, 0.12),
        -10px -10px 20px rgba(255, 255, 255, 1);
}

.service-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    clip-path: ellipse(150% 100% at 50% 0%);
    margin-bottom: 20px;
    display: block;
}

.service-card-content {
    padding: 0 30px;
}



.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-img {
    flex: 1;
    border-radius: 30px;
    background-color: var(--white);
    overflow: hidden;
    box-shadow: 
        10px 10px 25px rgba(0, 0, 0, 0.08),
        -5px -5px 15px rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.5s ease;
    transform: perspective(1000px) translateZ(0);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: ellipse(150% 100% at 50% 0%); /* Curved bottom */
    display: block;
}

.about-img:hover {
    transform: perspective(1000px) translateZ(20px) translateY(-10px);
    box-shadow: 
        15px 15px 35px rgba(0, 0, 0, 0.12),
        -10px -10px 20px rgba(255, 255, 255, 1);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-features {
    margin-top: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.about-features li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Call to Action Banner */
.cta-banner {
    background-color: var(--primary-color);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Blog Section */
.blog {
    padding: 100px 0;
    background-color: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 
        10px 10px 25px rgba(0, 0, 0, 0.08),
        -5px -5px 15px rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: perspective(1000px) translateZ(0);
}

.blog-card:hover {
    transform: perspective(1000px) translateZ(20px) translateY(-10px);
    box-shadow: 
        15px 15px 35px rgba(0, 0, 0, 0.12),
        -10px -10px 20px rgba(255, 255, 255, 1);
}

.blog-img {
    height: 250px;
    overflow: hidden;
    border-radius: 30px 30px 0 0;
    clip-path: ellipse(150% 100% at 50% 0%); /* Creates a curved bottom for the image */
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.blog-content h3 a {
    color: var(--text-dark);
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
footer {
    background-color: #111827; /* Darker than primary */
    color: #e5e7eb;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-about {
    color: #9ca3af;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
}

.footer-heading {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #9ca3af;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Sticky Action Buttons (WhatsApp & Phone) */
.sticky-actions {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    z-index: 9999;
    pointer-events: none; /* Let clicks pass through empty space */
}

.sticky-btn {
    pointer-events: auto; /* Re-enable clicks for buttons */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

.btn-phone {
    background-color: var(--primary-color);
}

.btn-phone:hover {
    background-color: #1e40af;
    transform: scale(1.05);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.btn-phone {
    animation: pulse-blue 2s infinite;
    animation-delay: 1s;
}

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(30, 58, 138, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(30, 58, 138, 0); }
    100% { box-shadow: 0 0 0 0 rgba(30, 58, 138, 0); }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .about-inner { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: block; }
    
    .nav-active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-md);
        padding: 20px;
        gap: 20px;
        text-align: center;
    }
    
    .hero h1 { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    
    .sticky-actions {
        flex-direction: column;
        gap: 15px;
        align-items: flex-end;
        bottom: 20px;
        right: 20px;
        left: auto;
    }
    
    .sticky-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
    .sticky-btn span {
        display: none;
    }
    .sticky-btn i {
        font-size: 1.8rem;
        margin: 0;
    }
}
