/* 
   DJ Esquadrias - Minimalist Design System
   Color Palette: Graphite, Slate, Brushed Silver, Pure White
*/

:root {
    --primary: #1e40af; /* Vibrant Navy Blue */
    --secondary: #1e293b; /* Dark Slate Blue for text */
    --accent: #f8fafc; /* Very light blue/grey background */
    --brand-blue: #3b82f6; /* Bright Royal Blue for highlights */
    --text-main: #0f172a; 
    --text-muted: #475569;
    --white: #ffffff;
    --silver: #e2e8f0;
    --container-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    position: relative;
}

.section-padding {
    padding: 100px 0;
}

.secondary-bg {
    background-color: var(--accent);
}

.text-center {
    text-align: center;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    color: var(--primary);
}

h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.section-tag {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.highlight {
    color: var(--brand-blue);
    font-weight: 300;
    font-style: italic;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 500;
    font-family: var(--font-heading);
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid var(--primary);
    cursor: pointer;
}

.btn-primary {
    background: var(--brand-blue);
    color: var(--white);
    border-color: var(--brand-blue);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Header & Navbar */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

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

.nav-links img {
  height: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 64, 175, 0.6), rgba(30, 64, 175, 0.2)), url('https://images.unsplash.com/photo-1600607687940-4e5272a530f2?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1);
    animation: zoomOut 10s ease infinite alternate;
}

@keyframes zoomOut {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.hero h1 {
    font-size: 5rem;
    max-width: 800px;
    margin-bottom: 2rem;
    color: var(--white);
}

.hero p {
    font-size: 1.5rem;
    max-width: 600px;
    margin-bottom: 3rem;
    color: var(--silver);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* About Section */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image .img-wrapper {
    position: relative;
    padding-bottom: 125%; /* 4:5 aspect ratio */
}

.placeholder-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    font-size: 0.8rem;
}

.features-list {
    margin-top: 2rem;
    list-style: none;
}

.features-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    background: var(--primary);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--white);
    padding: 60px 40px;
    border: 1px solid var(--silver);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 60px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

.service-icon {
    margin-bottom: 2rem;
    color: var(--brand-blue);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 350px);
    gap: 20px;
    margin-top: 40px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    background: var(--secondary);
}

.portfolio-item.large {
    grid-row: span 2;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    transition: var(--transition);
}

.portfolio-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-item:hover .portfolio-overlay {
    background: rgba(0,0,0,0.6);
}

.portfolio-content span {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.2rem;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--silver);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
}

.info-item {
    margin-top: 2rem;
}

.info-item strong {
    display: block;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1rem;
    margin-bottom: 0.3rem;
}

/* Footer */
.main-footer {
    padding: 60px 0;
    border-top: 1px solid var(--silver);
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    height: 30px;
    filter: grayscale(1);
    margin-bottom: 1rem;
}

.footer-social a {
    text-decoration: none;
    color: var(--text-muted);
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary);
}

/* Animations Trigger */
.animate-up, .animate-left, .animate-right {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.animate-up { transform: translateY(50px); }
.animate-left { transform: translateX(-50px); }
.animate-right { transform: translateX(50px); }

.show {
    opacity: 1;
    transform: translate(0,0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 968px) {
    h2 { font-size: 2.2rem; }
    .hero h1 { font-size: 3rem; }
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
