@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;
}

body {
    font-size: 18px;
}


.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
 .px-4 {
     padding-left: 1rem;
     padding-right: 1rem;
 }
 .px-2 {
     padding-left: 0.5rem;
     padding-right: 0.5rem;
 }
 .justify-between {
     justify-content: space-between;
 }

 .items-center {
     align-items: center;
 }
 .flex-wrap {
     flex-wrap: wrap;
 }
 .flex {
     display: flex
 ;
 }
 .mx-auto {
     margin-left: auto;
     margin-right: auto;
 }
 .container {
     width: 100%;
 }


/* ================================
  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;
}


/* Navbar links style */
.nav-link {
    @apply text-gray-700 uppercase text-sm font-bold hover:text-blue-800;
}

.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%;
    }
}