/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

:root {
    --orange: #FF6B35;
    --black: #1a1a1a;
    --dark-gray: #2a2a2a;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-intro {
    text-align: center;
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--light-gray);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-tagline {
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
    margin: 0;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--orange);
}

.nav-link.nav-link-cta {
    background: var(--orange);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

.nav-link.nav-link-cta:hover {
    background: var(--black);
    color: var(--white) !important;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--black);
    border-color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    font-size: 1.5rem;
    padding: 1.5rem 3rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding-top: 100px;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.sun-decoration {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: var(--orange);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.highlight {
    color: var(--orange);
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #666;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-tagline {
    font-size: 1rem;
    color: #999;
    font-style: italic;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ============================================
   GAP SECTION
   ============================================ */

.gap-section {
    padding: 6rem 0;
    background: var(--black);
    color: var(--white);
}

.gap-content {
    max-width: 1000px;
    margin: 0 auto;
}

.gap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: start;
}

.gap-item h3 {
    color: var(--orange);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.gap-item p {
    opacity: 0.9;
    line-height: 1.6;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 6rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card:last-child {
    grid-column: 1 / -1;
}

.service-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
    border: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--black);
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: bold;
}

/* Foundation Card Styles */
.service-card-foundation {
    background: var(--light-gray);
}

.foundation-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.foundation-header {
    max-width: 600px;
}

.foundation-header h3 {
    font-size: 2rem;
    color: var(--black);
}

.service-list-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
}

.service-list-horizontal li {
    padding: 1rem;
    background: var(--orange);
    color: var(--white);
    border-radius: 10px;
    text-align: center;
    padding-left: 1rem;
    font-weight: 500;
}

.service-list-horizontal li::before {
    content: '';
    display: none;
}

.service-card-highlight {
    background: var(--orange);
    color: var(--white);
    grid-column: span 2;
}

.service-card-highlight h3,
.service-card-highlight p {
    color: var(--white);
}

.result-text {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.result-outcome {
    font-size: 2rem;
    margin: 0;
}

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */

.philosophy {
    padding: 6rem 0;
    background: var(--light-gray);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.philosophy-intro {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 3rem;
}

.philosophy-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.philosophy-point h3 {
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.philosophy-point p {
    color: #666;
    line-height: 1.8;
}

.philosophy-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.seized-sun {
    width: 250px;
    height: 250px;
    animation: pulse 4s ease-in-out infinite;
}

.seized-sun img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ============================================
   WORK SECTION
   ============================================ */

.work {
    padding: 6rem 0;
    background: var(--white);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.work-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition);
}

.work-card:hover {
    border-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.work-label {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.work-card h3 {
    margin-bottom: 1rem;
    color: var(--black);
}

.work-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.work-details {
    border-top: 2px solid var(--light-gray);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.work-detail {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.detail-label {
    font-weight: 600;
    color: var(--black);
}

.work-detail span:last-child {
    color: #666;
}

.work-cta {
    text-align: center;
    margin-top: 4rem;
}

.work-cta p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--black);
    font-weight: 600;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--orange) 0%, #ff8555 100%);
    color: var(--white);
}

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

.contact h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-intro {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

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

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

.contact-note {
    margin-top: 1.5rem;
    opacity: 0.9;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
}

.footer-tagline {
    color: #999;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-cta {
    background: var(--orange);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.footer-cta:hover {
    background: var(--white);
    color: var(--orange) !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    color: #666;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 968px) {
    .gap-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gap-divider {
        width: 200px;
        height: 2px;
        margin: 0 auto;
        background: linear-gradient(to right, transparent, var(--orange), transparent);
    }

    .philosophy-content {
        grid-template-columns: 1fr;
    }

    .service-card-highlight {
        grid-column: span 1;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }
}

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

    .service-card:last-child {
        grid-column: 1;
    }

    .service-list-horizontal {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 0.875rem 1.75rem;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-link:not(.nav-link-cta) {
        display: none;
    }

    .logo-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .logo-img {
        height: 40px;
    }

    .logo-tagline {
        font-size: 0.75rem;
    }

    .btn-large {
        font-size: 1.25rem;
        padding: 1.25rem 2rem;
    }
}
