/* assets/css/style.css */
/* Premium Frontend Stylesheet - Aslan Medya */

:root {
    --bg-color: #050505;
    --bg-card: rgba(15, 15, 15, 0.7);
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(255, 10, 42, 0.35);
    --primary-color: #ff0a2a;
    --primary-hover: #ff2a4b;
    --text-color: #ffffff;
    --muted-text: #9a9a9f;
    --max-width: 1200px;
    --font-heading: 'Outfit', sans-serif;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Premium Cursor (Desktop Only) */
@media (min-width: 992px) {
    .custom-cursor {
        width: 8px;
        height: 8px;
        background-color: var(--primary-color);
        border-radius: 50%;
        position: fixed;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 10000;
        transition: width 0.3s, height 0.3s, background-color 0.3s;
    }
    .custom-cursor-ring {
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 10, 42, 0.3);
        border-radius: 50%;
        position: fixed;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 9999;
        transition: transform 0.08s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
    }
    
    /* Cursor hover modifications */
    body.cursor-hover .custom-cursor {
        width: 12px;
        height: 12px;
        background-color: #ffffff;
    }
    body.cursor-hover .custom-cursor-ring {
        width: 60px;
        height: 60px;
        border-color: #ffffff;
        background-color: rgba(255, 255, 255, 0.05);
    }
}

/* Scroll Reveal Elements */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header & Navigation */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s;
}

header.site-header.scrolled {
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.95);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 1.5px;
}

.logo a span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

.nav-links li a:hover,
.nav-links li.active a {
    color: var(--text-color);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-links li a:hover::after,
.nav-links li.active a::after {
    width: 100%;
}

.nav-cta .btn-cta {
    display: inline-block;
    padding: 10px 22px;
    background: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 10, 42, 0.3);
    transition: all 0.3s;
}

.nav-cta .btn-cta:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(255, 10, 42, 0.5);
    transform: translateY(-2px);
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

/* Typography Helpers */
.outline-text {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
}

/* Section Common */
section {
    padding: 100px 20px;
    position: relative;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 50px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -10%;
    right: -10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 10, 42, 0.12) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-tagline {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero-tagline span {
    display: block;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--muted-text);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 16px 35px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(255, 10, 42, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 22px rgba(255, 10, 42, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background: rgba(255, 10, 42, 0.03);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 10, 42, 0.4);
    position: relative;
    animation: rotate 20s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle-inner {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #8a0010);
    box-shadow: 0 0 50px rgba(255, 10, 42, 0.5);
    opacity: 0.9;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Services Page & Home Grids */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 10, 42, 0.08);
}

.service-icon {
    width: 54px;
    height: 54px;
    background: rgba(255, 10, 42, 0.05);
    border-radius: 12px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: var(--text-color);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--muted-text);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.service-link svg {
    transition: transform 0.3s;
}

.service-card:hover .service-link {
    color: var(--primary-color);
}

.service-card:hover .service-link svg {
    transform: translateX(5px);
}

/* Projects/Portfolio Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 10, 42, 0.08);
}

.project-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: #111;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.project-category {
    color: var(--primary-color);
}

.project-client {
    color: var(--muted-text);
}

.project-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.project-title:hover {
    color: var(--primary-color);
}

.project-desc {
    color: var(--muted-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Brands Carousel / Logo Section */
.brands-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}

.brand-logo {
    color: rgba(255, 255, 255, 0.25);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.brand-logo:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Contact Page Form & Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.contact-info-item p {
    font-size: 1.15rem;
    font-weight: 500;
}

.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--muted-text);
}

.contact-form .form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.04);
}

.contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-form .alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.contact-form .alert-success {
    background: rgba(0, 230, 118, 0.1);
    color: #00e676;
    border: 1px solid rgba(0, 230, 118, 0.2);
}

.contact-form .alert-danger {
    background: rgba(255, 10, 42, 0.1);
    color: #ff4a5a;
    border: 1px solid rgba(255, 10, 42, 0.2);
}

/* Detail Pages Layout */
.detail-layout {
    max-width: 900px;
    margin: 0 auto;
    padding: 140px 20px 80px;
}

.detail-header {
    margin-bottom: 40px;
}

.detail-category {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
}

.detail-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.detail-meta-row {
    display: flex;
    gap: 30px;
    color: var(--muted-text);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    margin-bottom: 40px;
}

.detail-meta-item strong {
    color: var(--text-color);
}

.detail-banner {
    width: 100%;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
    background: #111;
}

@media (max-width: 768px) {
    .detail-banner {
        height: 280px;
    }
}

.detail-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.detail-content p {
    margin-bottom: 25px;
}

.detail-content h3 {
    font-size: 1.75rem;
    margin: 40px 0 20px;
    font-weight: 700;
}

.detail-content h4 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    font-weight: 700;
}

.detail-content ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.detail-content li {
    margin-bottom: 10px;
}

/* Sleek Footer */
footer.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 20px 40px;
    background-color: #020202;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.footer-brand h3 span {
    color: var(--primary-color);
}

.footer-brand p {
    color: var(--muted-text);
    font-size: 0.95rem;
    max-width: 320px;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--muted-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-link:hover {
    color: var(--text-color);
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul li a {
    color: var(--muted-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-giant-text {
    font-size: clamp(3rem, 15vw, 9rem);
    font-weight: 800;
    line-height: 0.8;
    text-align: center;
    margin-top: 40px;
    letter-spacing: -2px;
    text-transform: uppercase;
    user-select: none;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    color: var(--muted-text);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

/* Responsive Adaptations */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: #050505;
        flex-direction: column;
        align-items: center;
        padding: 50px 20px;
        transform: translateY(-150%);
        transition: transform 0.5s ease;
        z-index: 998;
    }
    
    .nav-links.open {
        transform: translateY(0);
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 30px;
    }
}
