/* Custom Font */
@font-face {
    font-family: 'GT Flexa';
    src: url('GT-Flexa-X-Cm-Bd.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT Flexa Standard';
    src: url('GT-Flexa-Standard-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --primary-red: #FF3B3B;
    --light-gray: #ECECEC;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --border-radius: 50px;
    --transition: all 0.3s ease;
    --title-font: 'GT Flexa', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Sticky Header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-red);
    z-index: 1000;
    transition: var(--transition);
}

.sticky-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo a {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    text-transform: lowercase;
    position: relative;
    display: inline-block;
    transition: var(--transition);
    font-family: var(--title-font);
    letter-spacing: 0.03em;
}

.logo a:hover {
    opacity: 0.8;
}

.logo a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0.5ch;
    right: 0.5ch;
    height: 1px;
    background: var(--white);
    transition: var(--transition);
}

.logo a:hover::after {
    opacity: 0.8;
    height: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-menu li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
}

.nav-menu li a:hover {
    opacity: 0.8;
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 80px);
    height: calc(100vh - 80px);
    background: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
    padding: 4rem 2rem;
}

.hero-border {
    position: absolute;
    top: 3rem;
    left: 3rem;
    right: 3rem;
    bottom: 3rem;
    border: 1px solid #00D4FF;
    border-radius: 40px;
    pointer-events: none;
}

.city-badge-border {
    position: absolute;
    color: #00D4FF;
    font-weight: 700;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    background: var(--primary-red);
    padding: 0 1rem;
    letter-spacing: 0.1em;
}

.city-top {
    top: -0.7em;
    left: 50%;
    transform: translateX(-50%);
}

.city-bottom {
    bottom: -0.7em;
    left: 50%;
    transform: translateX(-50%);
}

.city-left {
    left: -1.7em;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center center;
    padding: 0.5rem 1rem;
}

.city-right {
    right: -1.7em;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center center;
    padding: 0.5rem 1rem;
}

.hero-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(4rem, 12vw, 12rem);
    font-weight: 800;
    text-transform: lowercase;
    line-height: 1;
    margin-bottom: 2rem;
    font-family: var(--title-font);
    letter-spacing: 0.03em;
}

.city-badges-hero {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.city-badge {
    color: #00D4FF;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 4rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Section Styles */
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.section-heading {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 800;
    color: var(--primary-red);
    text-transform: lowercase;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 1rem;
    font-family: var(--title-font);
    letter-spacing: 0.03em;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 800;
    color: var(--primary-red);
    text-transform: lowercase;
    text-align: center;
    line-height: 1.2;
    font-family: var(--title-font);
    letter-spacing: 0.03em;
    position: relative;
    z-index: 1;
}

/* Tagline Section */
.tagline-section {
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    margin: 0;
    position: relative;
}

.tagline-section .container {
    width: 100%;
}

.tagline-section::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 3rem;
    right: 3rem;
    bottom: 3rem;
    border: 1px solid var(--primary-red);
    border-radius: 40px;
    pointer-events: none;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.large-text {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    line-height: 1.5;
    color: var(--primary-red);
    font-weight: 500;
}

/* About Section */
.about-section {
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 3rem;
    right: 3rem;
    bottom: 3rem;
    border: 1px solid var(--primary-red);
    border-radius: 40px;
    pointer-events: none;
}

/* Our Work Section */
.our-work-section {
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    position: relative;
}

.our-work-section::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 3rem;
    right: 3rem;
    bottom: 3rem;
    border: 1px solid var(--primary-red);
    border-radius: 40px;
    pointer-events: none;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

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

.service-card {
    background: var(--white);
    border: 2px solid #B8D7E8;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}

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

.service-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    margin: 0;
    transition: var(--transition);
    font-family: 'GT Flexa Standard', var(--title-font);
}

.service-card .service-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--primary-red);
    margin-top: 1.5rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    text-align: center;
    display: none;
}

.service-card.expanded {
    background: var(--white);
    justify-content: flex-start;
    align-items: center;
}

.service-card.expanded .service-description {
    max-height: 500px;
    opacity: 1;
    display: block;
}

/* Theories Section */
.theories-section {
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    position: relative;
}

.theories-section::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 3rem;
    right: 3rem;
    bottom: 3rem;
    border: 1px solid var(--primary-red);
    border-radius: 40px;
    pointer-events: none;
}

/* Projects Section */
.projects-section {
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    position: relative;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 3rem;
    right: 3rem;
    bottom: 3rem;
    border: 1px solid var(--primary-red);
    border-radius: 40px;
    pointer-events: none;
}

/* Education Section */
.education-section {
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    position: relative;
}

.education-section::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 3rem;
    right: 3rem;
    bottom: 3rem;
    border: 1px solid var(--primary-red);
    border-radius: 40px;
    pointer-events: none;
}

/* Contact Section */
.contact-section {
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 6rem 2rem;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 3rem;
    right: 3rem;
    bottom: 3rem;
    border: 1px solid var(--primary-red);
    border-radius: 40px;
    pointer-events: none;
}

.contact-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-title {
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 800;
    color: var(--primary-red);
    text-transform: lowercase;
    margin-bottom: 1rem;
    font-family: var(--title-font);
    letter-spacing: 0.03em;
}

.contact-email {
    font-size: clamp(2rem, 5vw, 5rem);
    font-weight: 800;
    color: var(--primary-red);
    text-transform: lowercase;
    margin-bottom: 2rem;
    font-family: var(--title-font);
    letter-spacing: 0.03em;
}

.contact-instagram {
    display: inline-block;
    font-size: clamp(2rem, 5vw, 5rem);
    font-weight: 800;
    color: var(--primary-red);
    text-decoration: none;
    transition: var(--transition);
    font-family: var(--title-font);
    letter-spacing: 0.03em;
}

.contact-instagram:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--white);
    padding: 2rem 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    flex: 1;
}

.footer-copyright {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.footer-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-social-link {
    display: inline-flex;
    transition: var(--transition);
}

.footer-social-link:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.footer-social-link svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 1.5rem;
    }

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

    .footer-right {
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-red);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.15);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-section {
        padding-top: 80px;
        min-height: calc(100vh - 70px);
        height: calc(100vh - 70px);
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        margin-bottom: 1rem;
    }

    .hero-border {
        top: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
        bottom: 1.5rem;
        border-radius: 25px;
    }

    .city-badge-border {
        font-size: 1rem;
    }

    .city-top {
        top: -0.7em;
    }

    .city-bottom {
        bottom: -0.7em;
    }

    .city-left {
        left: -1.7em;
    }

    .city-right {
        right: -1.7em;
    }
}

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

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

    section {
        padding: 2rem 0;
    }

    .container {
        padding: 2rem 1rem;
    }

    .tagline-section,
    .about-section,
    .our-work-section,
    .theories-section,
    .projects-section,
    .education-section,
    .contact-section {
        padding: 3rem 1rem;
    }

    .tagline-section::before,
    .about-section::before,
    .our-work-section::before,
    .theories-section::before,
    .projects-section::before,
    .education-section::before,
    .contact-section::before {
        top: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
        bottom: 1.5rem;
        border-radius: 25px;
    }

    .tagline-section,
    .about-section,
    .our-work-section,
    .theories-section,
    .projects-section,
    .education-section {
        min-height: auto;
    }

    .section-heading {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .large-text {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }

    .service-card {
        min-height: 150px;
        padding: 1.5rem 1rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card .service-description {
        font-size: 1rem;
    }

    .contact-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .contact-email {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .contact-instagram {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .footer {
        padding: 1.5rem 1rem;
    }

    .footer-copyright {
        font-size: 0.75rem;
    }

    .footer-social-link svg {
        width: 24px;
        height: 24px;
    }

    :root {
        --border-radius: 25px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling offset for fixed header */
section {
    scroll-margin-top: 100px;
}
