/*
Theme Name: Z-Graphics Portfolio
Theme URI: http://yourwebsite.com/
Author: Kasun Herath
Author URI: http://kasunherath.me/
Description: A custom WordPress theme for the Z-Graphics portfolio website.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zgraphics
*/

/* =========================================
   GLOBAL STYLES (from global.css)
   ========================================= */
@font-face {
    font-family: 'Nasalization';
    src: url('fonts/nasalization.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

:root {
    --color-primary: #030333;
    --color-white: #ffffff;
    --bg-hero: linear-gradient(180deg, #D8C6E2, #B4E6EF);
    --bg-coming-soon: linear-gradient(to top, #c2e9fb, #a1c4fd);
    --font-primary: 'Nasalization', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: var(--font-primary) !important;
}

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

/* =========================================
   HEADER STYLES (from Header.css)
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    background: transparent;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    z-index: 1000;
}

/* When Scrolling - Sticky Navbar */
.header.sticky {
    color: #030333;
    height: 70px;
    background: #fff !important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 60px;
}

/* LOGO */
.logo a {
    font-size: 22px;
    font-weight: 600;
    color: #030333;
    text-decoration: none;
    flex-shrink: 0;
}

/* NAV MENU */
.nav-menu {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* NAV LINKS */
.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
}

.nav-links li a {
    font-size: 18px;
    font-weight: 400;
    color: #030333;
    text-decoration: none;
    transition: color 0.3s ease-in-out, border-bottom 0.3s ease-in-out;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: #030333;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Close Button */
.close-menu {
    display: none;
}

/* Hover Effect */
.nav-links li a:hover {
    border-bottom: 2px solid rgb(3, 3, 51, 0.75);
    color: rgb(3, 3, 51, 0.75);
}

/* RESPONSIVE DESIGN FOR HEADER */
@media screen and (max-width: 992px) {
    .header {
        padding: 10px 30px;
    }

    .menu-toggle {
        display: block;
        top: 20px;
    }

    .menu-toggle {
        font-size: 30px;
        position: absolute;
        top: 20px;
        right: 20px;
        font-weight: 1000;
        padding: 10px 20px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgb(255, 255, 255);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease-in-out;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.open {
        right: 0;
    }

    .close-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 40px;
        font-size: 50px;
        color: #030333;
        background: none;
        border: none;
        cursor: pointer;
    }

    .nav-links {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links li a {
        font-size: 20px;
    }
}

/* =========================================
   FOOTER STYLES (from Footer.css)
   ========================================= */
.footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-top: auto;
    width: 100%;
}

/* =========================================
   HOME PAGE STYLES (from Home.css)
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: var(--bg-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.big-title {
    position: absolute;
    font-size: 180px;
    font-weight: 400;
    font-family: 'Nasalization', sans-serif;
    color: white;
    width: 72vw;
    height: auto;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
    letter-spacing: 0%;
    line-height: 1.2;
    z-index: 1;
}

.hero-image {
    position: absolute;
    width: 40vw;
    height: auto;
    max-width: 550px;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: float 4s infinite ease-in-out;
}

.big-title-outline {
    position: absolute;
    font-size: 180px;
    font-weight: 400;
    font-family: 'Nasalization', sans-serif;
    color: white;
    width: 72vw;
    height: auto;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
    letter-spacing: 0%;
    line-height: 1.2;
    z-index: 3;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: rgba(255, 255, 255, 1);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.tagline {
    font-size: 1.3vw;
    color: white;
    position: absolute;
    top: 65%;
    left: 65%;
    transform: translateX(-50%);
    text-transform: lowercase;
    letter-spacing: 10px;
    opacity: 0.8;
    z-index: 4;
    text-align: center;
}

@keyframes float {

    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, -55%);
    }
}

.about-section {
    width: 70%;
    max-width: 900px;
    margin: 100px auto;
    text-align: center;
    color: #111;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #111;
    margin: 10px auto 0;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 750px;
    margin: 15px auto;
}

/* Responsive Home */
@media screen and (max-width: 992px) {

    .big-title,
    .big-title-outline {
        font-size: 10vw;
        width: 80vw;
    }

    .hero-image {
        width: 45vw;
    }
}

@media screen and (max-width: 768px) {

    .big-title,
    .big-title-outline {
        -webkit-text-stroke-width: 1px;
        -webkit-text-stroke-color: rgba(255, 255, 255, 0.5);
        font-size: 15vw;
        width: 85vw;
    }

    .hero-image {
        width: 60vw;
    }

    .tagline {
        letter-spacing: 3px;
        top: 55%;
        font-size: 2vw;
    }

    .about-section {
        width: 85%;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-text {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {

    .big-title,
    .big-title-outline {
        font-size: 15vw;
        width: 90vw;
        -webkit-text-stroke-width: 1px;
        -webkit-text-stroke-color: rgba(255, 255, 255, 0.5);
    }

    .hero-image {
        width: 60vw;
    }

    .tagline {
        letter-spacing: 2px;
        top: 53%;
        font-size: 2vw;
    }

    .about-section {
        width: 90%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-text {
        font-size: 0.9rem;
    }
}

/* =========================================
   COMING SOON STYLES (from ComingSoon.css)
   ========================================= */
.coming-soon-body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    height: auto;
    background: var(--bg-hero);
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

.coming-soon-hand {
    position: absolute;
    width: 40vw;
    height: auto;
    max-width: 550px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.3;
    filter: blur(3px);
    animation: float 4s infinite ease-in-out;
}

.coming-soon-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px 20px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.coming-soon-title {
    font-size: 4rem;
    color: #000;
    text-transform: capitalize;
    border: none;
    display: block;
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -1px;
}

.coming-soon-message {
    font-size: 1.25rem;
    color: #000;
    background: transparent;
    padding: 0;
    margin-top: 10px;
    max-width: 600px;
    line-height: 1.4;
    font-weight: 400;
}

.coming-soon-footer {
    position: relative;
    margin-top: auto;
    padding: 40px 0 20px 0;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #333;
    font-family: sans-serif;
    z-index: 10;
}

.footer-left {
    opacity: 0.8;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info {
    font-weight: 500;
    opacity: 0.8;
}

.chat-button {
    padding: 10px 25px;
    background: #4A55A2;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-family: sans-serif;
    font-weight: 500;
    transition: background 0.3s;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}

.chat-button:hover {
    background: #3a4385;
}

/* Coming Soon Responsive */
@media screen and (max-width: 768px) {
    .coming-soon-title {
        font-size: 2.5rem;
    }

    .coming-soon-message {
        font-size: 1rem;
    }

    .coming-soon-hand {
        width: 60vw;
        max-width: 400px;
    }

    .coming-soon-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        width: 100%;
        padding: 20px;
    }

    .footer-right {
        flex-direction: column;
        gap: 10px;
    }
}

@media screen and (max-width: 480px) {
    .coming-soon-title {
        font-size: 1.8rem;
    }

    .coming-soon-message {
        font-size: 0.9rem;
        padding: 0 15px;
    }

    .coming-soon-hand {
        width: 80vw;
        opacity: 0.25;
    }

    .coming-soon-footer {
        font-size: 0.75rem;
    }

    .chat-button {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}