:root {
    --primary: #e63946;
    --secondary: #457b9d;
    --accent: #fca311;
    --dark: #1d3557;
    --darker: #14213d;
    --light: #f1faee;
    --soft: #a8dadc;
    --gray: #8d99ae;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: #0f1419;
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.8;
}

/* Animasyonlar */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(252, 163, 17, 0.3); }
    50% { box-shadow: 0 0 40px rgba(252, 163, 17, 0.6); }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(15, 20, 25, 0.98) 0%, rgba(15, 20, 25, 0.95) 100%);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(252, 163, 17, 0.2);
    transition: all 0.4s ease;
}

header.scrolled {
    background: rgba(15, 20, 25, 0.99);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
}

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

.logo-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    background: black;
    transition: transform 0.25s ease;
}

.logo-icon:hover {
    transform: scale(1.08);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo span {
    font-size: 1.05rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: transform 0.3s ease;
}

.nav-links a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 0 1.5rem;
    background-image: url("images/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.12), transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(252, 163, 17, 0.15), rgba(230, 57, 70, 0.15));
    border: 1px solid rgba(252, 163, 17, 0.3);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    color: var(--accent);
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: var(--light);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--gray);
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1.1rem 2.8rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 8px 24px rgba(252, 163, 17, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(252, 163, 17, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--soft);
}

.btn-secondary:hover {
    background: var(--soft);
    color: var(--dark);
    transform: translateY(-3px);
    border-color: var(--soft);
}

/* Services Section */
.services {
    padding: 8rem 3rem;
    background: #0f1419;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--light);
    font-weight: 800;
    letter-spacing: -1px;
}

.section-desc {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.4), rgba(20, 33, 61, 0.4));
    padding: 2.5rem;
    border: 1px solid rgba(168, 218, 220, 0.1);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(252, 163, 17, 0.3);
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.6), rgba(20, 33, 61, 0.6));
    box-shadow: 0 20px 50px rgba(252, 163, 17, 0.15);
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: grayscale(0.3);
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    filter: grayscale(0);
}

.service-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--light);
}

.service-card p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 8rem 3rem;
    background: linear-gradient(180deg, #0f1419 0%, #1d3557 50%, #0f1419 100%);
}

.about-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--light);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    color: var(--gray);
    line-height: 1.9;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-box {
    background: linear-gradient(135deg, rgba(252, 163, 17, 0.1), rgba(230, 57, 70, 0.1));
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(252, 163, 17, 0.2);
    border-radius: 16px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.stat-box:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--accent);
    animation: glow 2s ease-in-out infinite;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    color: var(--accent);
    display: block;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--light);
    font-weight: 500;
}

.about-visual {
    position: relative;
    height: 400px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(252, 163, 17, 0.3);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(252, 163, 17, 0.1), rgba(230, 57, 70, 0.1));
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 30px;
    transition: transform 0.4s ease;
    padding: 20px;
}

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

/* Materials Section */
.materials {
    padding: 8rem 3rem;
    background: #0f1419;
}

.materials-showcase {
    max-width: 1200px;
    margin: 0 auto 5rem;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.4), rgba(20, 33, 61, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.materials-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.materials-showcase:hover .materials-image {
    transform: scale(1.05);
}

.materials-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7) 70%, transparent);
    padding: 3rem;
    color: white;
    z-index: 2;
}

.materials-overlay h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.materials-overlay p {
    font-size: 1.2rem;
    color: var(--gray);
}

.materials-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.material-card {
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.3), rgba(20, 33, 61, 0.3));
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(168, 218, 220, 0.15);
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.material-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(180deg, transparent, rgba(252, 163, 17, 0.1));
    transition: height 0.4s ease;
}

.material-card:hover::after {
    height: 100%;
}

.material-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.5), rgba(20, 33, 61, 0.5));
}

.material-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--light);
    position: relative;
    z-index: 1;
}

.material-card p {
    color: var(--gray);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Gallery Section */
.gallery {
    padding: 8rem 3rem;
    background: linear-gradient(180deg, #0f1419 0%, #1d3557 50%, #0f1419 100%);
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.gallery-item {
    position: relative;
    min-height: 300px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.4), rgba(20, 33, 61, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(252, 163, 17, 0.3);
}

.gallery-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
    padding: 10px;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--light);
    font-weight: 700;
}

.gallery-overlay p {
    color: var(--gray);
    font-size: 1rem;
}

/* Contact Section */
.contact {
    padding: 8rem 3rem;
    background: linear-gradient(180deg, #0f1419 0%, #14213d 100%);
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-box {
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.3), rgba(20, 33, 61, 0.3));
    padding: 2rem;
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.info-box:hover {
    transform: translateX(8px);
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.5), rgba(20, 33, 61, 0.5));
    box-shadow: -8px 8px 24px rgba(252, 163, 17, 0.1);
}

.info-box h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent);
    font-weight: 700;
}

.info-box p {
    color: var(--light);
    font-size: 1rem;
    line-height: 1.8;
}

.info-box a {
    color: var(--soft);
    text-decoration: none;
    transition: color 0.3s;
}

.info-box a:hover {
    color: var(--accent);
}

/* Footer */
footer {
    background: #0a0e13;
    padding: 3rem 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(252, 163, 17, 0.2);
}

footer p {
    color: var(--gray);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 3s ease-in-out infinite;
}

.whatsapp-button:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: white;
    color: #333;
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    right: 70px;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: white;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--light);
    transition: all 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .about-content {
        gap: 3rem;
    }

    .about-visual {
        height: 350px;
    }

    .materials-showcase {
        min-height: 350px;
        padding: 15px;
    }

    .materials-image {
        max-height: 380px;
    }

    .gallery-item {
        min-height: 280px;
    }

    .gallery-image {
        max-height: 350px;
    }
}

@media (max-width: 768px) {
    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo span {
        font-size: 0.95rem;
    }

    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 20, 25, 0.98);
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid rgba(252, 163, 17, 0.2);
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        height: 300px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .materials-grid {
        grid-template-columns: 1fr;
    }

    .materials-showcase {
        min-height: 300px;
        padding: 15px;
    }

    .materials-image {
        max-height: 320px;
    }

    .materials-overlay {
        padding: 1.5rem;
    }

    .materials-overlay h3 {
        font-size: 1.3rem;
    }

    .materials-overlay p {
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        min-height: 250px;
    }

    .gallery-image {
        max-height: 300px;
        padding: 5px;
    }

    .services,
    .about,
    .materials,
    .gallery,
    .contact {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .materials-showcase {
        min-height: 250px;
        padding: 10px;
    }

    .materials-image {
        max-height: 280px;
    }

    .materials-overlay {
        padding: 1rem;
    }

    .materials-overlay h3 {
        font-size: 1.1rem;
    }

    .materials-overlay p {
        font-size: 0.85rem;
    }

    .gallery-item {
        min-height: 220px;
    }

    .gallery-image {
        max-height: 250px;
        padding: 5px;
    }

    .about-visual {
        height: 250px;
    }

    .about-image {
        padding: 10px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
