/* UI VISION 2026 - PREMIUM DESIGN SYSTEM
   Bodrum Teknik Hizmetler
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* PALETTE - Deep Navy & Vibrant Orange */
    --c-primary: #0F2B48;
    --c-primary-light: #1a426b;
    --c-primary-dark: #061526;
    
    --c-accent: #FC5400;
    --c-accent-light: #ff7633;
    --c-accent-glow: rgba(252, 84, 0, 0.4);

    --c-bg-body: #f3f6f9;
    --c-bg-surface: #ffffff;
    --c-text-main: #0F2B48;
    --c-text-sec: #5c6f85;
    --c-border: rgba(15, 43, 72, 0.08);

    /* UI TOKENS */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    
    --shadow-sm: 0 4px 20px -5px rgba(15, 43, 72, 0.05);
    --shadow-md: 0 20px 40px -10px rgba(15, 43, 72, 0.1);
    --shadow-glow: 0 0 30px var(--c-accent-glow);
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-blur: 20px;

    --container: 1320px;
    --header-h: 90px;
    --anim-speed: 0.4s;
}

/* RESET & BASE */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--c-bg-body);
    background-image: 
        radial-gradient(at 0% 0%, rgba(252, 84, 0, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(15, 43, 72, 0.03) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--c-text-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--anim-speed) ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* UTILS */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding { padding: 100px 0; }

.text-gradient {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ANIMATIONS */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* HEADER - VISION 2026 STYLE */
.header {
    height: var(--header-h);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--anim-speed) ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--c-border);
    height: 80px;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--c-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    color: var(--c-accent);
    font-size: 32px;
}

.nav-desktop {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-weight: 600;
    color: var(--c-text-main);
    position: relative;
    font-size: 15px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--c-accent);
    transition: width 0.3s ease;
}

.nav-link:hover { color: var(--c-accent); }
.nav-link:hover::after { width: 100%; }

.btn-premium {
    background: linear-gradient(135deg, var(--c-accent) 0%, #ff3300 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 10px 20px rgba(252, 84, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-premium:hover::before { opacity: 1; }
.btn-premium:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(15, 43, 72, 0.2); }

/* HERO SECTION - MASSIVE IMPACT */
.hero {
    min-height: 100vh;
    padding-top: var(--header-h);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -20%; right: -10%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(15, 43, 72, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: float 10s infinite ease-in-out;
}

.hero-bg-2 {
    position: absolute;
    bottom: -10%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(252, 84, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: float 8s infinite ease-in-out reverse;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-accent);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    border: 1px solid rgba(252, 84, 0, 0.1);
}

.hero-title {
    font-size: 5rem; /* Massive typography */
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--c-primary);
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--c-text-sec);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--c-border);
    backdrop-filter: blur(10px);
    color: var(--c-primary);
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-glass:hover {
    background: white;
    border-color: var(--c-primary);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    height: 600px;
}

.hero-card-1 {
    position: absolute;
    top: 50px; right: 20px;
    width: 470px; height: 500px;
    border-radius: var(--radius-xl);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.hero-card-2 {
    position: absolute;
    bottom: 80px; left: 0;
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 6s infinite ease-in-out;
}

.stat-circle {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(252, 84, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-accent);
    font-size: 24px;
}

/* MARQUEE (BRANDS) */
.marquee-section {
    padding: 40px 0;
    background: white;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.brand-item {
    font-size: 24px;
    font-weight: 800;
    color: #cbd5e1;
    text-transform: uppercase;
    white-space: nowrap;
    transition: 0.3s;
}

.brand-item:hover { color: var(--c-primary); }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* BENTO GRID SERVICES */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sub-title {
    color: var(--c-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin-bottom: 16px;
    display: block;
}

.main-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--c-primary);
    line-height: 1.1;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 320px);
    gap: 24px;
}

.bento-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--c-border);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-accent);
}

.bento-card.large {
    grid-column: span 2;
    background: var(--c-primary);
    color: white;
}

.bento-card.large h3, .bento-card.large p { color: white; }
.bento-card.large .icon-box { background: rgba(255,255,255,0.1); color: white; }

.icon-box {
    width: 64px; height: 64px;
    background: rgba(15, 43, 72, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--c-primary);
    margin-bottom: 24px;
    transition: 0.3s;
}

.bento-card:hover .icon-box { background: var(--c-accent); color: white; transform: rotate(10deg); }

.bento-title { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.bento-desc { font-size: 15px; color: var(--c-text-sec); margin-bottom: 20px; }
.bento-link { font-weight: 700; display: flex; items-center; gap: 8px; font-size: 14px; }

/* REGIONS GRID - REQUESTED FEATURE */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.region-card {
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
}

.region-card:hover {
    border-color: var(--c-accent);
    background: #fff8f5; /* Light orange tint */
    transform: translateX(5px);
}

.region-card i { color: var(--c-accent); }
.region-card span { font-weight: 600; font-size: 15px; color: var(--c-primary); }

/* GALLERY - REQUESTED FEATURE */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 2; }

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-title { color: white; font-size: 20px; font-weight: 700; }
.gallery-loc { color: var(--c-accent); font-size: 14px; font-weight: 600; }

/* DYNAMIC PAGE CONTENT STYLES (Inner Pages) */
.dynamic-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

.content-box {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-border);
}

/* Reset Tailwind/Inline classes from PHP content to match new design */
.prose h1 { font-size: 3rem; font-weight: 800; color: var(--c-primary); margin-bottom: 24px; line-height: 1.1; }
.prose h2 { font-size: 2rem; font-weight: 700; color: var(--c-primary); margin: 40px 0 20px; }
.prose h3 { font-size: 1.5rem; font-weight: 700; margin: 30px 0 15px; }
.prose p { margin-bottom: 20px; font-size: 1.1rem; color: var(--c-text-sec); }
.prose ul { margin-bottom: 24px; }
.prose li { position: relative; padding-left: 24px; margin-bottom: 12px; }
.prose li::before { 
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; 
    position: absolute; left: 0; top: 2px; color: var(--c-accent); 
}
.prose .bg-blue-50, .prose .bg-orange-50, .prose .bg-green-50, .prose .bg-slate-50 {
    background: #f8fafc; border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 24px; margin: 24px 0;
}
.prose .border-l-4 { border-left: 4px solid var(--c-accent) !important; }

/* SIDEBAR WIDGETS */
.sidebar-widget {
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--c-border);
    margin-bottom: 24px;
}

.widget-header {
    font-size: 18px; font-weight: 700; color: var(--c-primary);
    padding-bottom: 16px; margin-bottom: 16px;
    border-bottom: 1px solid var(--c-border);
}

.link-list a {
    display: flex; justify-content: space-between;
    padding: 12px 16px;
    border-radius: 8px;
    background: #f8fafc;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--c-text-main);
}

.link-list a:hover {
    background: var(--c-primary);
    color: white;
    transform: translateX(4px);
}

.link-list a.active {
    background: var(--c-accent);
    color: white;
}

/* FOOTER - DARK & PREMIUM */
.footer {
    background: var(--c-primary-dark);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, var(--c-accent), #ff3300);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo { font-size: 24px; font-weight: 800; color: white; display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.footer-desc { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.8; margin-bottom: 24px; }

.footer h4 { font-size: 18px; font-weight: 700; margin-bottom: 24px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-links a:hover { color: var(--c-accent); padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* MOBILE NAV (STICKY BOTTOM) */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: white;
    border-top: 1px solid var(--c-border);
    padding: 12px 24px;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

.mobile-nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    font-size: 10px; font-weight: 600; color: var(--c-text-sec);
}
.mobile-nav-item i { font-size: 20px; }
.mobile-nav-item.active { color: var(--c-accent); }
.mobile-cta-btn {
    background: var(--c-accent); color: white;
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    transform: translateY(-25px);
    box-shadow: 0 10px 20px rgba(252, 84, 0, 0.4);
    border: 4px solid white;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
    .hero-title { font-size: 3.5rem; }
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .bento-card.large { grid-column: auto; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .gallery-item:nth-child(1) { grid-column: span 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-desktop, .btn-premium { display: none; }
    .dynamic-layout { grid-template-columns: 1fr; }
    .mobile-bottom-nav { display: flex; }
    .mobile-menu-toggle { display: block; font-size: 24px; color: var(--c-primary); }
}

@media (max-width: 768px) {
    .header-inner { padding: 0 20px; }
    .hero-title { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item:nth-child(1), .gallery-item:nth-child(2) { grid-column: auto; grid-row: auto; height: 250px; }
    .section-padding { padding: 60px 0; }
}