/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #fff;
    color: #000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Container */
.container {
    max-width: 99%;
    margin: 0 auto;
    padding: 0 50px;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #000 !important;
    background: #000 !important;
    color: #fff;
    padding: 25px 0;
}

.header-container {
    max-width: 99%;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 0;
    letter-spacing: 3px;
}

.logo-hog {
    font-family: 'Bruno Ace', sans-serif;
    font-weight: 700;
}

.logo-group {
    font-family: 'Bruno Ace', sans-serif;
    font-weight: 400;
    font-size: 23px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    font-family: 'Genos', sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1.5px;
    transition: opacity 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links .current-menu-item>a::after,
.nav-links .current_page_item>a::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.98);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin: 30px 0;
}

.mobile-nav-links a {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #fff;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    /* Dynamic viewport height for mobile */
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-color: #000;
    color: #fff;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

#hog3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 99%;
    text-align: center;
    padding: 0 50px;
    width: 100%;
}

.hero-text {
    font-family: 'Bruno Ace', sans-serif;
    font-size: clamp(24px, 5vw, 52px);
    font-weight: 300;
    line-height: 1.5;
    font-style: normal;
    letter-spacing: 0.5px;
    animation: fadeInUp 1.2s ease-out;
    word-wrap: break-word;
    hyphens: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background-color: #111;
    padding: 60px 0 30px;
    font-family: 'Happy Monkey', cursive;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 99%;
    margin: 0 auto;
    padding: 0 50px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-company p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-company .company-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-company .company-name .logo-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
}

.footer-contact p {
    font-size: 17px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    transform: translateY(-2px);
}

.footer-nav {
    gap: 12px;
}

.footer-nav a {
    font-family: 'Genos', sans-serif;
    font-size: 18px;
    /* Increased slightly as Genos is often condensed/small */
    font-weight: 500;
    letter-spacing: 1px;
    color: #fff;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.footer-map {
    display: flex;
    flex-direction: column;
}

.footer-map iframe {
    width: 100%;
    min-height: 200px;
    height: 100%;
    border: 0;
}

.footer-bottom {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    max-width: 99%;
    margin: 0 auto;
    padding: 25px 50px 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.privacy-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
}

.privacy-link:hover {
    color: #fff;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .container,
    .header-container {
        padding: 0 25px;
    }

    .header {
        padding: 20px 0;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 140px 0 120px;
        min-height: 70vh;
    }

    .hero-content {
        padding: 0 25px;
        max-width: 100%;
    }

    .hero-text {
        font-size: clamp(20px, 6vw, 32px);
        line-height: 1.6;
        letter-spacing: 0;
    }

    .footer {
        padding: 40px 0 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 0 25px 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 25px 25px 0;
    }
}

@media (max-width: 480px) {

    .container,
    .header-container,
    .footer-content,
    .footer-bottom {
        padding-left: 15px;
        padding-right: 15px;
    }

    .logo {
        font-size: 20px;
    }

    .logo-group {
        font-size: 19px;
    }

    .logo-icon {
        font-size: 20px;
    }

    .hero {
        padding: 130px 0 110px;
        min-height: 65vh;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-text {
        font-size: clamp(18px, 5.5vw, 26px);
        line-height: 1.6;
    }
}

@media (max-width: 360px) {

    .container,
    .header-container,
    .footer-content,
    .footer-bottom {
        padding-left: 10px;
        padding-right: 10px;
    }

    .hero {
        padding: 120px 0 100px;
        min-height: 60vh;
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero-text {
        font-size: 17px;
        line-height: 1.7;
    }
}

/* Smooth scroll offset for fixed header */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(0, 123, 255, 0.3);
    color: #000;
}


/* desktop margin top */
@media (min-width: 1024px) {
    .margin-top-25 {
        margin-top: 25px;
    }
}

/* Footer Adjustments */
.footer-spacer {
    height: 36px;
    margin-bottom: 25px;
    display: block;
}

.footer-heading {
    font-family: 'Bruno Ace', sans-serif;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    height: 36px;
    display: flex;
    align-items: center;
}

/* Adjust Service List Link Text */
.footer-services .footer-nav a {
    font-size: 19px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
}

.footer-quick-links .footer-nav a {
    font-size: 20px;
}

/* Specific styling for OUR SERVICES link only */
.footer-quick-links .footer-nav a.our-services-link {
    font-size: 19px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .footer-spacer {
        display: none;
    }

    .footer-heading {
        height: auto;
        margin-bottom: 15px;
    }
}

/* Footer Alignment Fixes */
.footer-column .logo {
    height: 36px;
    margin-bottom: 15px !important;
    display: flex;
    align-items: center;
}

/* Ensure visual top alignment for the first meaningful element in each column */
.footer-company p:first-of-type,
.footer-contact p:first-of-type,
.footer-quick-links .footer-nav>a:first-of-type,
.footer-services .footer-nav>a:first-of-type {
    margin-top: 0;
    line-height: 1.2 !important;
    display: block;
}

/* Re-apply standard line-height for subsequent lines in p tags */
.footer-company p,
.footer-contact p {
    margin-bottom: 5px;
}