

:root {
    --color-primary: #fd2f05;
    --color-secondary: #2c3c53;
    --color-accent: #ff6a4c;
    --color-light: #F7F7F7;
    --color-dark: #111;

    --font-base: "Montserrat", sans-serif;
    --font-heading: "Montserrat", sans-serif;
    --style-heading: 600;

    --radius: 12px;
    --transition: 0.3s ease;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
}

/* Global resets */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* VARIABLE ITEMS */

body {
    font-family: var(--font-base);
    line-height: 1.6;
    color: var(--color-dark);
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    line-height: 1.3;
    margin-bottom: var(--space-md);
    font-weight: var(--style-heading);
}

h1 {font-size: 3.5rem;}
h2 {font-size: 2.25rem;}
h3 {font-size: 1.5rem;}

p {
    margin-bottom: var(--space-md);
    max-width: 60ch; /* perfect readability */
    font-weight: 400;
    font-size: 1rem;
}

.btn {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius);
    transition: var(--transition);
    font-size: 1rem;
}

.btn:hover {
    background: var(--color-dark);
}

/* /////////////////////// 
HEADER ITEMS 
////////////////////////// */

/* ---------- HEADER BASE ---------- */
.site-header {
    position: sticky;
    top: 20px;
    z-index: 999;
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    margin: 0 auto;
    width: min(1200px, 90%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ---------- LOGO ---------- */
.logo img {
    height: 30px;
    width: auto;
}

@media (max-width:900px) {
    .logo img {
        height: 30px;
    }
}

/* ---------- DESKTOP NAV ---------- */
.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 600;
    position: relative;
    padding-bottom: 3px;
}

.desktop-nav a:active {
    
    color: var(--color-secondary);
    
}

/* underline animation */
.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

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

/* slight hover fade */
.desktop-nav a:hover {
    opacity: 0.7;
}

/* ---------- CONTACT BUTTON (DESKTOP) ---------- */
.contact-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--color-secondary);
    color: white;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-btn:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

/* ---------- MOBILE STUFF ---------- */
.menu-toggle {
    display: none;
    font-size: 30px;
    background: none;
    color: var(--color-primary);
    border: none;
    cursor: pointer;
}

/* MOBILE NAV PANEL */
.mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    right: -100vw;
    height: 100vh;
    width: 100vw; /* FULL WIDTH ALWAYS */
    max-width: 100vw; 
    background: #fff;
    padding: 120px 60px;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
    z-index: 9999; /* above all containers */
}


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

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Fade-in animation for mobile menu links */
.mobile-nav ul li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* When menu is active, animate each link in order */
.mobile-nav.active ul li {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation delays */
.mobile-nav.active ul li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active ul li:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav.active ul li:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav.active ul li:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav.active ul li:nth-child(5) { transition-delay: 0.5s; }


.mobile-nav a {
    font-size: 20px;
    text-decoration: none;
    color: var(--color-secondary);
    font-weight: 600;
}

.mobile-nav a:active {
    font-size: 20px;
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 600;
}

/* Close button */
.close-menu {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 35px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
}

/* ---------- RESPONSIVE BREAKPOINT ---------- */
@media (max-width: 900px) {
    .desktop-nav,
    .contact-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

@media (min-width: 900px) {
    .mobile-nav {
        display: none;

    }
}




/*  FOOTER STYLING */

/* FOOTER */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #eee;
    margin-top: 60px;
    padding: 60px 0 20px;
    color: var(--color-secondary);
}

.footer-container {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding: 0 1rem; /* optional, keeps spacing consistent with header */
}



.footer-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
}

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


/* Footer Branding */
.footer-logo img {
    width: 150px;
    margin-bottom: 15px;
}

.footer-text {
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Footer Titles */
.footer-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Links */
.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a,
.footer-contact a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-primary);
}




/* Social Icons */
.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-socials a {
    color: #333;
    transition: color 0.2s ease;
}

.footer-socials a:hover {
    color: var(--color-primary);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ececec;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;

}






/* main for header adjustment */
main{
    margin-top: -69px;
    

}









/* BUTTON STYLING */
.button {
    font-family: var(--font-base);
    padding: 15px 25px;
    border-radius: var(--radius);
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}



.primary {
    background-color: var(--color-primary);
    transition: 0.3s ease;

}

.secondary {
    background-color: var(--color-secondary);
    transition: 0.3s ease;
}

.tertiary {
    background-color: var(--color-light);
    transition: 0.3s ease;
    color: var(--color-secondary);
}

.primary:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

.secondary:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}


.tertiary:hover {
    background-color: var(--color-accent);
    color: var(--color-light);
    transform: translateY(-2px);
}


