/*
Theme Name: Incorrect Static
Theme URI: https://incorrectdesign.com
Author: Incorrect Team
Author URI: https://incorrectdesign.com
Description: Custom theme for Incorrect company website
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: incorrect-static
Tags: custom-design, one-page, portfolio
*/


@font-face {
    font-family: 'bunya';
    src: url('/wp-content/themes/incorrect-static/assets/fonts/bunya_bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'made-future';
    src: url('/wp-content/themes/incorrect-static/assets/fonts/made_future_thin.otf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

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

body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
a,
a[class^="btn"],
a[class^="button"],
a[class$="button"],
button,
label {
    font-family: 'bunya', sans-serif;
}

input {
    font-family: 'made-future', sans-serif;
}


p,
.feature-description {
    color: #787878;
    font-family: 'made-future', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Button Styles */
.btn,
.btn-contact {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 0.5rem 2.5rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn:hover,
.btn-contact:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.btn-contact {
    background-color: #fff;
    color: #000;
    border: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 5px;
}

.btn-contact:hover {
    background-color: #333;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    transition: .3s;
}

.site-header .hamburger-icon,
.site-header .hamburger-icon:before,
.site-header .hamburger-icon:after {
    background-color: #fff;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #000;
}

.site-header.scrolled .hamburger-icon,
.site-header.scrolled .hamburger-icon:before,
.site-header.scrolled .hamburger-icon:after {
    background-color: #000;
}

.site-header.scrolled .btn-contact {
    background-color: #000;
    color: #fff;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    filter: brightness(0) invert(1);
    height: 30px;
    transition: filter 0.3s ease;
}

.site-header.scrolled .logo img {
    filter: none;
}

.header-right {
    display: flex;
    align-items: center;
}

.site-header .header-right .btn-contact:hover {
    background-color: #e9e9e9;
}

.site-header.scrolled .header-right .btn-contact:hover {
    background-color: #333;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 20px;
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    align-items: center;
}

.hamburger-icon {
    width: 24px;
    height: 2px;
    background-color: #000;
    position: relative;
}

.hamburger-icon:before,
.hamburger-icon:after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #000;
    left: 0;
}

.hamburger-icon:before {
    top: -6px;
}

.hamburger-icon:after {
    bottom: -6px;
}

/* Hero Section */
.site-theme-hero {
    position: relative;
    height: 100vh;
    background-color: #222;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.site-theme-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-logo {
    margin-bottom: 80px;
}

.hero-logo img {
    max-width: 400px;
    margin: 0 auto;
    filter: brightness(1.2);
    /* Make logo appear brighter against dark background */
}

.hero-title {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-description {
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    opacity: 0.9;
}

.hero-cta {
    margin-top: 20px;
}

.hero-cta .btn {
    background-color: #000;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* What We Offer Section */
.what-we-offer {
    padding: 100px 20px;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-description {
    max-width: 800px;
    line-height: 1.6;
    font-size: 16px;
    color: #333;
}

.services-grid {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    margin-bottom: 80px;
    align-items: center;
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-content {
    flex: 1;
    padding-right: 40px;
}

.service-item:nth-child(even) .service-content {
    padding-right: 0;
    padding-left: 40px;
}

.service-image {
    flex: 1;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5;
    /* Fallback background */
    min-height: 300px;
    /* Minimum height even without image */
}

.service-image img {
    transition: transform 0.5s ease;
    display: block;
    width: 100%;
    height: auto;
}

.service-image img:hover {
    transform: scale(1.03);
}

.service-title {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-description {
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-cta {
    margin-top: 10px;
}

.service-cta .btn {
    background-color: #000;
    padding: 10px 24px;
    font-size: 14px;
}

@media (max-width: 992px) {

    .service-item,
    .service-item:nth-child(even) {
        flex-direction: column;
    }

    .service-content,
    .service-item:nth-child(even) .service-content {
        padding: 0;
        margin-bottom: 30px;
    }
}

/* Online Shop Section */
.online-shop {
    background-color: #000;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.online-shop-title {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 600;
}

.online-shop-description {
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-size: 16px;
    opacity: 0.9;
}

.subscribe-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.subscribe-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background-color: transparent;
    color: #fff;
    font-size: 14px;
}

.subscribe-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.subscribe-form button {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

/* Footer */
.site-footer {
    padding: 60px 40px;
    background-color: #fff;
    border-top: 1px solid rgb(233, 233, 233);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}


.footer-contact a {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
}

.footer-contact a i {
    margin-right: 10px;
    width: 15px;
    display: inline-block;
}

.footer-nav ul,
.footer-links ul {
    list-style: none;
}

.footer-contact-links a {
    font-size: .9rem;
    display: block;
    margin-bottom: 10px;
    font-family: "Inter", sans-serif;
    font-weight: bold;
}

.footer-nav li,
.footer-links li {
    margin-bottom: 10px;
}

.footer-nav a,
.footer-links a {
    color: #333;
    font-size: 1rem;
    margin-left: 5px;
    display: inline-block;
    transition: .3s ease;
}


.footer-links a:hover,
.footer-nav a:hover {
    transition: .3s ease;
    transform: translateX(3px);
    color: #333;
}

.footer-logo img {
    height: 30px;
    filter: brightness(0);
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Page Styles */
.page-fullwidth {
    margin-top: 0;
}

.page-header {
    position: relative;
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    margin-bottom: 60px;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.simple-header {
    background-color: #f5f5f5;
    color: #333;
    height: auto;
    padding: 100px 0 50px;
}

.page-title {
    font-size: 42px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.page-content {
    padding: 0 0 80px;
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .page-header {
        min-height: 250px;
    }

    .page-title {
        font-size: 32px;
    }
}

/* 404 Page */
.error-404 {
    padding: 120px 0;
    text-align: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-404 .page-title {
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0;
}

.error-subtitle {
    font-size: 36px;
    font-weight: 600;
    margin: 0 0 30px;
}

.error-description {
    margin-bottom: 40px;
    color: #666;
}

@media (max-width: 768px) {
    .error-404 {
        padding: 80px 0;
    }

    .error-404 .page-title {
        font-size: 100px;
    }

    .error-subtitle {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .error-404 .page-title {
        font-size: 80px;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .site-header {
        padding: 15px 20px;
    }

    .container {
        padding: 0 20px;
    }

    .hero-logo img {
        max-width: 300px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 15px;
    }

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

    .service-title {
        font-size: 22px;
    }

    .online-shop-title {
        font-size: 28px;
    }

    .online-shop-description {
        font-size: 15px;
    }

    .footer-container {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-logo img {
        max-width: 250px;
    }

    .hero-title {
        font-size: 24px;
    }

    .btn,
    .btn-contact {
        padding: 0.5rem 1.5rem;
        font-size: 13px;
    }

    .section-title {
        font-size: 24px;
    }

    .service-content,
    .service-item:nth-child(even) .service-content {
        padding: 0;
    }

    .service-image {
        margin-bottom: 20px;
    }

    .online-shop-title {
        font-size: 24px;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form input[type="email"] {
        padding: 12px;
        text-align: center;
    }

    .subscribe-form button {
        padding: 12px;
    }
}

.wp-block-list {
    font-family: "made-future";
}

.page-header.simple-header {
    background: rgba(0, 0, 0, .9);
    color: #fff;
}



/* Default Gutenberg blocks constraint */
.wp-block-paragraph,
.wp-block-heading,
.wp-block-list,
.wp-block-quote,
.wp-block-code,
.wp-block-preformatted,
.wp-block-pullquote,
.wp-block-table,
.wp-block-verse,
.wp-block-image:not(.alignfull),
.wp-block-gallery:not(.alignfull),
.wp-block-cover:not(.alignfull),
.wp-block-file,
.wp-block-video:not(.alignfull),
.wp-block-columns:not(.alignfull),
.wp-block-media-text:not(.alignfull),
.wp-block-button:not(.alignfull),
.wp-block-buttons:not(.alignfull),
.wp-block-embed:not(.alignfull),
.content-wrapper>p {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

.wp-block-heading {
    margin: 4rem auto 0 auto;
}

h1.wp-block-heading {
    font-size: 4rem;
}

h2.wp-block-heading {
    font-size: 3rem;
}

.content-wrapper>p {
    font-size: 1.2rem;
    margin: 2rem auto;
}

/* Full-width blocks remain full-width */
.alignfull {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Basic responsive adjustments following your pattern */
@media (max-width: 768px) {

    h1.wp-block-heading {
        font-size: 3rem;
    }

    h2.wp-block-heading {
        font-size: 2.25rem;
    }

    .content-wrapper>p {
        font-size: 1.1rem;
        margin: 2rem auto;
    }

    .wp-block-paragraph,
    .wp-block-heading,
    .wp-block-list,
    .wp-block-quote,
    .wp-block-code,
    .wp-block-preformatted,
    .wp-block-pullquote,
    .wp-block-table,
    .wp-block-verse,
    .wp-block-image:not(.alignfull),
    .wp-block-gallery:not(.alignfull),
    .wp-block-cover:not(.alignfull),
    .wp-block-file,
    .wp-block-video:not(.alignfull),
    .wp-block-columns:not(.alignfull),
    .wp-block-media-text:not(.alignfull),
    .wp-block-button:not(.alignfull),
    .wp-block-buttons:not(.alignfull),
    .wp-block-embed:not(.alignfull) {
        padding-left: 15px;
        padding-right: 15px;
    }
}
