/* ==================== CORE RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-cyan: #00BCD4;
    --primary-teal: #00ACC1;
    --accent-green: #4CAF50;
    --dark-navy: #1a2332;
    --white: #ffffff;
    --overlay: rgba(26, 35, 50, 0.88);
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: var(--font-secondary);
    color: var(--white);
    background: var(--dark-navy);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 65px;
    width: auto;
}

/* ==================== SIDE NAVIGATION ==================== */
.side-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot:hover,
.nav-dot.active {
    background: var(--primary-cyan);
    transform: scale(1.3);
}

/* ==================== WHATSAPP ==================== */
.whatsapp-float {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ==================== SWIPER ==================== */
.swiper {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

.swiper-slide {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--dark-navy), var(--primary-teal));
    overflow: hidden;
}

.swiper-slide:nth-child(1) {
    background: linear-gradient(135deg, #1a2332, #00ACC1);
}

.swiper-slide:nth-child(2) {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.swiper-slide:nth-child(3) {
    background: linear-gradient(135deg, #00ACC1, #4CAF50);
}

.swiper-slide:nth-child(4) {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.swiper-slide:nth-child(5) {
    background: linear-gradient(135deg, #134E5E, #71B280);
}

.swiper-slide:nth-child(6) {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1100px;
    height: calc(100vh - 160px);
    margin-top: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.slide-content::-webkit-scrollbar {
    width: 6px;
}

.slide-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.slide-content::-webkit-scrollbar-thumb {
    background: var(--primary-cyan);
    border-radius: 10px;
}

/* ==================== TYPOGRAPHY ==================== */
.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--white), var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
}

.tag {
    font-family: var(--font-secondary);
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary-cyan);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.tagline {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 2rem;
}

/* ==================== SCROLL HINT ==================== */
.scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-arrow {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary-cyan), transparent);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 1; transform: translateY(10px); }
}

/* ==================== TEXT CONTENT ==================== */
.text-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.text-content p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

/* ==================== STATS GRID ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
}

/* ==================== PROJECT LAYOUT - TWO COLUMN ==================== */
.project-layout {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.project-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlights h3 {
    font-family: var(--font-primary);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-bottom: 1.5rem;
    color: var(--primary-cyan);
}

.highlights ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlights li {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    padding-left: 1.8rem;
    position: relative;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.highlights li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
    font-size: 1.2rem;
}

.project-description p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* ==================== PROJECT IMAGE ==================== */
.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 188, 212, 0.4);
    transition: all 0.3s ease;
}

.image-wrapper:hover {
    transform: translateY(-8px);
    border-color: var(--primary-cyan);
    box-shadow: 0 15px 40px rgba(0, 188, 212, 0.4);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder when image doesn't exist */
.image-wrapper:empty::after,
.image-wrapper:has(img[src=""]):after {
    content: 'Project Image';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* ==================== CONTACT GRID ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.contact-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-box:hover {
    background: rgba(0, 188, 212, 0.15);
    transform: translateY(-5px);
}

.contact-box h3 {
    font-family: var(--font-primary);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 1rem;
    color: var(--primary-cyan);
}

.contact-box p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.95);
}

.contact-box a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-box a:hover {
    color: var(--primary-cyan);
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .slide-content {
        max-width: 1300px;
    }
}

/* Desktop/Laptop (1024px - 1439px) - Default styles apply */

/* Small Laptop/Large Tablet (969px - 1023px) */
@media (max-width: 1023px) {
    .slide-content {
        max-width: 900px;
    }

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

/* Tablet Landscape (769px - 968px) */
@media (max-width: 968px) {
    .project-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-right {
        order: 2;
    }

    .project-left {
        order: 1;
    }

    .image-wrapper {
        max-width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .stat-box {
        padding: 1.75rem 1.25rem;
    }
}

/* Tablet Portrait (481px - 768px) */
@media (max-width: 768px) {
    .header {
        height: 70px;
    }

    .logo {
        height: 50px;
    }

    .side-nav {
        right: 1.25rem;
        gap: 0.9rem;
    }

    .nav-dot {
        width: 10px;
        height: 10px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        right: 1.25rem;
        bottom: 1.5rem;
    }

    .whatsapp-float svg {
        width: 22px;
        height: 22px;
    }

    .slide-content {
        height: calc(100vh - 140px);
        margin-top: 70px;
        padding: 1.75rem;
    }

    .hero-subtitle {
        margin-bottom: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .scroll-hint {
        bottom: 2rem;
        font-size: 0.75rem;
    }
}

/* Mobile Landscape (481px - 667px) */
@media (max-width: 667px) and (orientation: landscape) {
    .slide-content {
        padding: 1.5rem;
        height: calc(100vh - 120px);
    }

    .hero-title {
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        margin-bottom: 1.5rem;
    }

    .scroll-hint {
        display: none;
    }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
    .header {
        height: 60px;
    }

    .logo {
        height: 42px;
    }

    .side-nav {
        right: 1rem;
        gap: 0.75rem;
    }

    .nav-dot {
        width: 9px;
        height: 9px;
        border-width: 1.5px;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        right: 1rem;
        bottom: 1rem;
    }

    .whatsapp-float svg {
        width: 20px;
        height: 20px;
    }

    .slide-content {
        height: calc(100vh - 120px);
        margin-top: 60px;
        padding: 1.25rem;
        width: 95%;
    }

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

    .stat-box {
        padding: 1.5rem 1rem;
    }

    .scroll-hint {
        bottom: 1.25rem;
        font-size: 0.7rem;
    }

    .highlights li {
        padding-left: 1.5rem;
    }
}

/* Small Mobile (320px - 375px) */
@media (max-width: 375px) {
    .logo {
        height: 38px;
    }

    .slide-content {
        padding: 1rem;
    }

    .tag {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .stat-box {
        padding: 1.25rem 0.75rem;
    }
}

/* iPhone SE / Very Small (max 320px) */
@media (max-width: 320px) {
    .logo {
        height: 35px;
    }

    .header {
        height: 55px;
    }

    .slide-content {
        padding: 0.875rem;
        margin-top: 55px;
    }

    .whatsapp-float {
        width: 44px;
        height: 44px;
    }
}