/* ====================================
   POLASENSE - WEBSITE VERSION
   ==================================== */

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #000000;
    line-height: 1.8;
    overflow-x: hidden;
    padding-top: 70px; /* Space for fixed navbar */
}

/* COLOR VARIABLES */
:root {
    --navy: #1a2332;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-gray: #E8E8E8;
    --medium-gray: #CCCCCC;
    --black: #000000;
    --gold: #C8A882;
}

/* ====================================
   NAVIGATION
   ==================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 3px;
    cursor: pointer;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--black);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--navy);
    transition: all 0.3s ease;
}

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

.hero-section {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 0 80px;
    margin-left: auto;
    margin-right: 20%;
}

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 120px;
    font-weight: 300;
    color: var(--white);
    letter-spacing: 12px;
    line-height: 1.0;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.hero-title-line {
    display: block;
}


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

.btn-primary {
    display: inline-block;
    background: var(--white);
    color: var(--black);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 4px;
    padding: 16px 48px;
    border: none;
    border-radius: 40px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--black);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
    padding: 16px 48px;
    border: 2px solid var(--black);
    border-radius: 40px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-arrow {
    width: 56px;
    height: 56px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.arrow-icon {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
}

.btn-arrow:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ====================================
   ABOUT SECTION
   ==================================== */

.about-section {
    position: relative;
    width: 100%;
    min-height: auto;
    background: var(--off-white);
    padding: 100px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.decorative-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.decorative-circle-top-left {
    width: 700px;
    height: 700px;
    background: linear-gradient(135deg, #E8E8E8, #F0F0F0);
    opacity: 0.5;
    top: -350px;
    left: -350px;
}

.decorative-circle-bottom-right {
    width: 650px;
    height: 650px;
    background: #DADADA;
    opacity: 0.5;
    bottom: -325px;
    right: -325px;
}

.decorative-circle-left {
    width: 800px;
    height: 800px;
    background: var(--white);
    opacity: 0.8;
    top: 50%;
    left: -400px;
    transform: translateY(-50%);
}

.decorative-circle-right {
    width: 700px;
    height: 700px;
    background: var(--light-gray);
    opacity: 0.6;
    top: 50%;
    right: -350px;
    transform: translateY(-50%);
}

.about-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    max-width: 520px;
}

.section-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 56px;
    font-weight: 300;
    color: var(--black);
    letter-spacing: 8px;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.about-paragraph {
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
    line-height: 2.0;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.circle-image {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    overflow: hidden;
}

.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ====================================
   EXPERTISE SECTION
   ==================================== */

.expertise-section {
    position: relative;
    width: 100%;
    min-height: auto;
    background: var(--off-white);
    padding: 100px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.expertise-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 45fr 55fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.expertise-text {
    max-width: 480px;
}

.expertise-paragraph {
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
    line-height: 2.0;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.circle-image-large {
    width: 700px;
    height: 700px;
    border-radius: 50%;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-image-black {
    background: var(--black);
}

.circle-image-large img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

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

.services-section {
    width: 100%;
    background: var(--off-white);
    padding: 100px 40px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 64px;
}

.services-intro {
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
    line-height: 1.8;
    letter-spacing: 0.5px;
    max-width: 900px;
    margin: 0 auto 24px;
    text-transform: uppercase;
}

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

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-card-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-content {
    background: var(--navy);
    padding: 32px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-card-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
    margin: 0;
}

/* ====================================
   NEWSLETTER
   ==================================== */

.newsletter-section {
    width: 100%;
    min-height: 600px;
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.newsletter-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.newsletter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsletter-content {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--white);
}

.newsletter-heading {
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--black);
    letter-spacing: 1px;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 48px;
}

.newsletter-heading-line {
    display: block;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

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

.contact-section {
    position: relative;
    width: 100%;
    min-height: 700px;
    overflow: hidden;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form-container {
    position: absolute;
    top: 50%;
    right: 80px;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: 500px;
    padding: 40px;
}

.contact-heading {
    font-family: 'Oswald', sans-serif;
    font-size: 56px;
    font-weight: 300;
    color: var(--white);
    letter-spacing: 2px;
    text-align: right;
    margin-bottom: 40px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 400px;
}

/* ====================================
   FORM INPUTS
   ==================================== */

.form-input {
    width: 100%;
    height: 56px;
    background: var(--white);
    border: 2px solid var(--black);
    border-radius: 40px;
    padding: 0 32px;
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: #999999;
    font-weight: 400;
    text-transform: lowercase;
}

.form-input:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(26, 35, 50, 0.1);
}

.contact-form .form-input {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.newsletter-form .form-input {
    margin-bottom: 24px;
}

.contact-form .btn-secondary,
.newsletter-form .btn-secondary {
    align-self: center;
    margin-top: 8px;
}

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

@media (max-width: 1024px) {
    body {
        padding-top: 60px;
    }

    .hero-title {
        font-size: 80px;
        letter-spacing: 8px;
    }

    .hero-section {
        height: 70vh;
        min-height: 500px;
    }

    .about-container,
    .expertise-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-section,
    .expertise-section,
    .services-section {
        padding: 80px 40px;
    }

    .circle-image {
        width: 400px;
        height: 400px;
        margin: 0 auto;
    }

    .circle-image-large {
        width: 500px;
        height: 500px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .newsletter-section {
        grid-template-columns: 1fr;
        height: auto;
    }

    .newsletter-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 1.5rem;
    }

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

    .hero-title {
        font-size: 60px;
        letter-spacing: 6px;
    }

    .hero-section {
        height: 60vh;
        min-height: 450px;
    }

    .hero-content {
        padding: 0 40px;
        margin-right: 0;
    }

    .section-heading {
        font-size: 40px;
        letter-spacing: 6px;
    }

    .about-section,
    .expertise-section,
    .services-section {
        padding: 60px 24px;
    }

    .about-paragraph,
    .expertise-paragraph,
    .services-intro {
        font-size: 14px;
    }

    .circle-image {
        width: 300px;
        height: 300px;
    }

    .circle-image-large {
        width: 350px;
        height: 350px;
    }

    .newsletter-heading {
        font-size: 32px;
    }

    .contact-heading {
        font-size: 40px;
    }

    .contact-form-container {
        right: 40px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 40px;
        letter-spacing: 3px;
    }

    .hero-section {
        height: 50vh;
        min-height: 400px;
    }

    .btn-primary {
        padding: 12px 28px;
        font-size: 13px;
        letter-spacing: 2px;
    }

    .section-heading {
        font-size: 28px;
    }

    .circle-image {
        width: 250px;
        height: 250px;
    }

    .about-section,
    .expertise-section,
    .services-section {
        padding: 50px 20px;
    }

    .contact-section {
        min-height: 600px;
    }
}

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

.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

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