﻿/* =========================================================
   TRset.com - Oguzhan YURTSEVER
   Karya Dent Web Sitesi
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   ROOT / VARIABLES
========================================================= */

:root {

    --primary-color: #003366;
    --primary-dark: #001f3f;

    --accent-color: #00d2ff;
    --accent-hover: #0099cc;

    --bg-light: #f8fafc;

    --text-dark: #1e293b;
    --text-muted: #64748b;

    --border-color: #e2e8f0;

    --font-main: 'Plus Jakarta Sans', sans-serif;

}


/* =========================================================
   HTML / BODY
========================================================= */

html {
    scroll-behavior: smooth;
}

body {

    font-family: var(--font-main);

    color: var(--text-dark);

    background-color: #ffffff;

    line-height: 1.6;

}


/* =========================================================
   GENERAL
========================================================= */

.container {

    width: 90%;

    max-width: 1200px;

    margin: 0 auto;

}


.section {

    padding: 80px 0;

}


.bg-light {

    background-color: var(--bg-light);

}


.text-center {

    text-align: center;

}


.section-title {

    font-size: 2.2rem;

    color: var(--primary-color);

    margin-bottom: 20px;

    font-weight: 700;

}


.subtitle {

    color: var(--text-muted);

    margin-top: -5px;

}


/* =========================================================
   BADGE
========================================================= */

.badge {

    background: rgba(0, 210, 255, 0.15);

    color: var(--primary-color);

    padding: 6px 16px;

    border-radius: 20px;

    font-size: 0.85rem;

    font-weight: 700;

    display: inline-block;

    margin-bottom: 15px;

}


/* =========================================================
   GLASSMORPHISM
========================================================= */

.glassmorphism {

    background: rgba(255, 255, 255, 0.85);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.3);

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);

    border-radius: 20px;

    padding: 30px;

}


/* =========================================================
   HEADER
========================================================= */

.header {

    position: sticky;

    top: 0;

    background: rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(10px);

    z-index: 1000;

    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);

}


.header-container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 15px 0;

}


.logo img {

    height: 50px;

    width: auto;

    display: block;

}


/* =========================================================
   NAVIGATION
========================================================= */

.nav a {

    margin: 0 15px;

    text-decoration: none;

    color: var(--text-dark);

    font-weight: 600;

    transition: color 0.3s ease;

}


.nav a:hover {

    color: var(--accent-color);

}


/* =========================================================
   BUTTONS
========================================================= */

.btn {

    padding: 12px 24px;

    border-radius: 30px;

    text-decoration: none;

    font-weight: 700;

    display: inline-block;

    transition: all 0.3s ease;

}


.btn-primary {

    background-color: var(--primary-color);

    color: #fff;

}


.btn-accent {

    background-color: var(--accent-color);

    color: #fff;

}


.btn-whatsapp {

    background-color: #25d366;

    color: #fff;

}


.btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

}


/* =========================================================
   HERO
========================================================= */

.hero {

    min-height: 650px;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 31, 63, 0.94) 0%,
            rgba(0, 51, 102, 0.82) 45%,
            rgba(0, 51, 102, 0.40) 100%
        ),
        url("../images/hero.jpg");

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;

    color: #fff;

    padding: 120px 0 100px 0;

    position: relative;

    display: flex;

    align-items: center;

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(0, 210, 255, 0.12),
            transparent 35%
        );

    pointer-events: none;

}


.hero-content {

    position: relative;

    z-index: 2;

}


.hero h1 {

    font-size: 3rem;

    line-height: 1.2;

    margin-bottom: 20px;

    max-width: 750px;

}


.hero .highlight {

    color: var(--accent-color);

}


.hero p {

    font-size: 1.2rem;

    max-width: 600px;

    margin-bottom: 30px;

    color: #cbd5e1;

}


.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}


.hero-buttons .btn {

    margin-right: 0;

}


/* =========================================================
   GRID
========================================================= */

.grid-2 {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 40px;

    align-items: center;

}


.grid-3 {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(280px, 1fr)
        );

    gap: 30px;

    margin-top: 40px;

}


/* =========================================================
   ABOUT
========================================================= */

.about-text p {

    margin-bottom: 20px;

}


.about-card h3 {

    color: var(--primary-color);

    margin-bottom: 20px;

}


.about-card ul {

    list-style: none;

}


.about-card li {

    padding: 10px 0;

    border-bottom: 1px solid var(--border-color);

}


.about-card li:last-child {

    border-bottom: none;

}


/* =========================================================
   INFO CHIPS
========================================================= */

.info-chips {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;

}


.info-chips span {

    padding: 8px 14px;

    border-radius: 30px;

    background: #f1f5f9;

    color: var(--primary-color);

    font-size: 0.85rem;

    font-weight: 600;

}


/* =========================================================
   SERVICE CARDS
========================================================= */

.service-card {

    background: #fff;

    border-radius: 16px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.04);

    border: 1px solid var(--border-color);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;

    overflow: hidden;

}


.service-card:hover {

    transform: translateY(-6px);

    border-color: var(--accent-color);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.08);

}


/* =========================================================
   SERVICE IMAGE
========================================================= */

.service-image {

    width: 100%;

    height: 210px;

    overflow: hidden;

    background: #e2e8f0;

}


.service-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.5s ease;

}


.service-card:hover .service-image img {

    transform: scale(1.05);

}


/* =========================================================
   SERVICE CONTENT
========================================================= */

.service-content {

    padding: 25px 30px 30px 30px;

}


.service-card .icon {

    font-size: 2rem;

    margin-bottom: 10px;

}


.service-card h3 {

    color: var(--primary-color);

    margin-bottom: 10px;

    font-size: 1.25rem;

}


.service-card p {

    color: var(--text-muted);

}


/* =========================================================
   FEATURE SECTION
========================================================= */

.feature-section {

    background: #ffffff;

}


.feature-list {

    padding-left: 20px;

    margin-top: 25px;

}


.feature-list li {

    margin-bottom: 18px;

    color: var(--text-dark);

}


.feature-box h3 {

    color: var(--primary-color);

    margin-bottom: 15px;

}


/* =========================================================
   GALLERY
========================================================= */

.gallery-grid {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(230px, 1fr)
        );

    gap: 15px;

    margin-top: 30px;

}


.gallery-item {

    overflow: hidden;

    border-radius: 12px;

    height: 200px;

    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.05);

}


.gallery-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.4s ease;

}


.gallery-item:hover img {

    transform: scale(1.08);

}


/* =========================================================
   CONTACT
========================================================= */

.contact-links {

    display: flex;

    flex-direction: column;

    gap: 15px;

    margin: 20px 0;

}


.contact-item {

    text-decoration: none;

    color: var(--text-dark);

    font-weight: 600;

    background: var(--bg-light);

    padding: 12px 20px;

    border-radius: 10px;

    transition:
        transform 0.2s ease,
        background 0.2s ease;

}


.contact-item:hover {

    transform: translateX(4px);

    background: #eef5fa;

}


.contact-item span {

    color: var(--primary-color);

}


.address-box {

    margin-top: 20px;

    padding: 18px 20px;

    background: var(--bg-light);

    border-radius: 12px;

    color: var(--text-dark);

}


.map-box iframe {

    display: block;

}


/* =========================================================
   FLOATING CTA
========================================================= */

.floating-cta {

    position: fixed;

    bottom: 20px;

    right: 20px;

    display: flex;

    gap: 10px;

    z-index: 999;

}


.float-btn {

    padding: 12px 20px;

    border-radius: 50px;

    color: white;

    text-decoration: none;

    font-weight: bold;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.2);

    transition:
        transform 0.2s ease;

}


.float-btn:hover {

    transform: translateY(-2px);

}


.float-wa {

    background-color: #25d366;

}


.float-phone {

    background-color: var(--primary-color);

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    background: var(--primary-color);

    color: white;

    padding: 35px 0 25px 0;

    text-align: center;

    border-top:
        1px solid rgba(255, 255, 255, 0.1);

}


.legal-text {

    font-size: 0.85rem;

    color: #94a3b8;

    margin-top: 6px;

}


/* =========================================================
   TRSET CREDIT
========================================================= */

.developer-credit {

    margin-top: 26px;

    padding-top: 15px;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    font-size: 0.82rem;

    color: #cbd5e1;

    letter-spacing: 0.5px;

}


.trset-link {

    color: var(--accent-color);

    text-decoration: none;

    font-weight: 700;

    transition: all 0.3s ease;

    display: inline-block;

}


.trset-link:hover {

    color: #ffffff;

    transform: translateY(-1px);

    text-shadow:
        0 0 10px rgba(0, 210, 255, 0.6);

}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 992px) {

    .nav a {

        margin: 0 7px;

        font-size: 0.9rem;

    }


    .hero h1 {

        font-size: 2.7rem;

    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 768px) {

    .section {

        padding: 60px 0;

    }


    .grid-2 {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .grid-3 {

        grid-template-columns: 1fr;

    }


    .nav {

        display: none;

    }


    .header-container {

        padding: 12px 0;

    }


    .logo img {

        height: 45px;

    }


    .header-cta .btn {

        padding: 10px 16px;

        font-size: 0.85rem;

    }


    .hero {

        min-height: 650px;

        padding: 90px 0 80px 0;

        background-position: 65% center;

    }


    .hero h1 {

        font-size: 2rem;

    }


    .hero p {

        font-size: 1rem;

    }


    .hero-buttons {

        flex-direction: column;

        align-items: flex-start;

    }


    .hero-buttons .btn {

        width: auto;

    }


    .service-image {

        height: 220px;

    }


    .floating-cta {

        bottom: 12px;

        right: 12px;

        left: 12px;

    }


    .float-btn {

        flex: 1;

        text-align: center;

        padding: 11px 10px;

        font-size: 0.85rem;

    }

}


/* =========================================================
   RESPONSIVE - SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .container {

        width: 92%;

    }


    .section-title {

        font-size: 1.8rem;

    }


    .hero {

        min-height: 620px;

    }


    .hero h1 {

        font-size: 1.8rem;

    }


    .hero .badge {

        font-size: 0.75rem;

    }


    .header-cta .btn {

        padding: 9px 12px;

        font-size: 0.75rem;

    }


    .service-content {

        padding: 22px;

    }


    .service-image {

        height: 200px;

    }

}