@tailwind base;
@tailwind components;
@tailwind utilities;

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-size: 18px;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================
  Navbar Styling
=================================== */

/* Makes sure navbar stays above slider */
nav {
    position: relative;
    z-index: 50;
    display: flex;
    gap: 20px;
}

nav ul {
    display: flex;
    gap: 12px;
    list-style: none;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

nav a:hover { color: var(--button-hover-color); }

.nav-toggle {
    display: block;
    border-color: green;
}


/* ================================
   Hamburger Menu (Hidden on Desktop)
=================================== */
.phone-toggle {
    display: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--primary-color);
    background: none;
    border: none;
    outline: none;
    margin-left: auto;
    margin-top: 0.25rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    /*display: flex;*/
}

.phone-toggle.active {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}
/* Hamburger Menu (Hidden on Desktop) */

/* Navbar links style */
.nav-link {
    @apply text-gray-700 uppercase text-sm font-bold hover:text-blue-800;
}


.phone-toggle.active {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.text-center {
    text-align: center;
}
/*top right box*/
.pt-4 {
    padding-top: 1rem;
}

/*lower left box*/
.pt-6 {
    padding-top: 1.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.justify-between {
    justify-content: space-between;
}
/*.items-center {*/
/*    align-items: center;*/
/*}*/
.justify-center {
    justify-content: center;
}
.w-auto {
    width: auto;
}
.flex-wrap {
    flex-wrap: wrap;
}
.flex {
    display: flex;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.container {
    width: 100%;
}


.w-full {
    width: 100%;
}

/*user agent stylesheet*/
footer {
    display: block;
}
/*footer stuff*/
.text-gray-600 {
    --tw-text-opacity:1;
    color: rgb(75 85 99 / var(--tw-text-opacity));
}
.font-semibold {
    font-weight: 600;
}
.text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
}
.mt-9 {
    margin-top: 2.25rem;
}
.flex {
    display: flex
;
}
.mt-6 {
    margin-top: 1.5rem;
}
.mb-6 {
    margin-bottom: 1.5rem;
}

footer a {
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

/* ================================
 Responsive navigation
=================================== */

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 50px;
        right: 5px;
        background-color: #ffffff;
        width: 200px;
        padding: 12px;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    nav ul.active {
        display: flex;
    }

    .phone-toggle {
        display: block;
    }
}


@media (min-width: 768px) {
    .md\:w-1\/2 {
        width: 50%;
    }
}