/*datrail/public/static/public/css/styles.css*/
/* Reset and basic styling */
body {
	font-family: 'Inter', sans-serif;
	margin: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background-color: #f3f4f6; /* gray-100 */
}

/* Header */
.header {
	background-color: #1d4ed8; /* blue-700 */
	color: white;
	padding: 1rem;
	position: sticky;
	top: 0;
	z-index: 50;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav.container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

/* Logo */
.logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.logo img {
	height: 40px;
	width: 40px;
	object-fit: cover;
	border-radius: 50%;
}

.logo span {
	font-weight: bold;
	font-size: 1.25rem;
}

/* Navigation Links */
.nav-links {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
}

.nav-links a {
	color: white;
	text-decoration: none;
	transition: all 0.2s;
}

.nav-links a:hover {
	text-decoration: underline;
}

.nav-links a.active {
	font-weight: bold;
	text-decoration: underline;
}

/* Main content grows to push footer down */
.main {
	flex-grow: 1;
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.5rem;
}

/* Global reset for headings & paragraphs */
h1, h2, h3, p {
	margin: 0;
	padding: 0;
}

/* ==========================
   Responsive Header & Layout
========================== */

/* Large screens / smaller desktops */
@media (max-width: 1024px) {
    .nav.container {
        justify-content: space-between;
        gap: 1rem;
    }

    .nav-links {
        gap: 0.75rem;
    }
}

/* Tablets / medium screens */
@media (max-width: 768px) {
    .nav.container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .logo span {
        font-size: 1.1rem;
    }

    .main {
        padding: 1rem;
    }
}

/* Small phones / very small screens */
@media (max-width: 480px) {
    .header {
        padding: 0.75rem 1rem;
    }

    .logo img {
        height: 32px;
        width: 32px;
    }

    .logo span {
        font-size: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .main {
        padding: 0.75rem;
    }
}







/* Hamburger Menu */
/* Hamburger Menu - Unique style */
.hamburger {
    display: none;
    width: 36px;
    height: 28px;
    position: relative;
    cursor: pointer;
    z-index: 100;
    transition: all 0.5s ease;
}

.hamburger i,
.hamburger i::before,
.hamburger i::after {
    content: '';
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    transition: all 0.5s ease;
}

.hamburger i {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger i::before {
    top: -10px;
}

.hamburger i::after {
    bottom: -10px;
}

/* Active state - morph to X */
.hamburger.active i {
    background: transparent;
}

.hamburger.active i::before {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active i::after {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Nav links hidden by default on mobile with scale + opacity */
/* Nav links hidden by default on mobile - slide from right */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 0;
        right: 0;
        height: 100vh;
        width: 0;
        background-color: #1d4ed8;
        overflow: hidden;
        border-radius: 0 0 0 1rem;
        transform: translateX(100%);
        opacity: 0;
        transition: transform 0.5s ease, width 0.5s ease, opacity 0.5s ease;
        z-index: 50;
        padding-top: 4rem; /* push menu items below header */
    }

    /* Show menu - slide in from right */
    .nav-links.show {
        width: 220px;
        transform: translateX(0);
        opacity: 1;
    }

    .nav-links li {
        margin: 1rem 0;
        text-align: left;
        padding-left: 1rem;
        transform: translateX(20px);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
    }

    /* Staggered reveal */
    .nav-links.show li {
        transform: translateX(0);
        opacity: 1;
    }

    .hamburger {
        display: block;
    }
}

/* Keep logo and hamburger in one row on mobile */
@media (max-width: 768px) {
    .nav.container {
        flex-direction: column; /* keep nav-links stacking */
        align-items: flex-start;
        gap: 0.75rem;
    }

    .logo-hamburger {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}










/* Footer Base */
.footer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
    background-color: #1f2937;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

/* Contact + Map Section */
.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background-color: #111827;
    padding: 2rem;
    border-radius: 0.75rem;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: space-between;
}

/* Centered Heading Above Columns */
.contact-heading {
    width: 100%;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Left Column: Contact Details */
.contact-info {
    flex: 1 1 300px;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-info p {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info a {
    color: #3b82f6; /* blue */
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Icons */
.icon-contact {
    color: #3b82f6; /* blue */
}

/* Right Column: Map */
.map-container {
    flex: 1 1 300px;
    min-width: 250px;
    height: 250px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Links Section */
.links-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    padding: 1rem 0;
    background-color: #111827;
    border-radius: 0.75rem;
    max-width: 1100px;
    margin: 0 auto;
}

.links-section a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    text-decoration: none;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    transition: all 0.2s ease-in-out;
    border-radius: 0.375rem;
}

.links-section a:hover {
    background-color: #374151; /* lighter gray hover */
    color: #3b82f6; /* blue on hover */
}

/* Policy Icons */
.icon-policy {
    color: #fbbf24; /* amber */
}

/* Info Icons */
.icon-info {
    color: #10b981; /* green */
}

/* Copyright */
.footer .copyright {
    font-size: 0.85rem;
    color: #9ca3af; /* gray-400 */
    text-align: center;
}

/* Social Media Icons */
.social-media {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #374151; /* dark gray background */
    border-radius: 50%;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-media a:hover {
    color: #ffffff;
}

/* Brand Colors on Hover */
.social-media a[href*="youtube"]:hover {
    background-color: #FF0000; /* YouTube Red */
}

.social-media a[href*="facebook"]:hover {
    background-color: #1877F2; /* Facebook Blue */
}

.social-media a[href*="twitter"], 
.social-media a[href*="x-twitter"]:hover {
    background-color: #1DA1F2; /* Twitter/X Blue */
}

.social-media a[href*="linkedin"]:hover {
    background-color: #0A66C2; /* LinkedIn Blue */
}


/* Responsive */
/* ==========================
   Footer Responsive
========================== */

/* Large screens / smaller desktops */
@media (max-width: 1024px) {
    .contact-section {
        flex-direction: column;
        gap: 1.5rem;
    }

    .map-container {
        height: 200px;
    }

    .links-section {
        gap: 1rem 1.5rem;
    }
}

/* Tablets / medium screens */
@media (max-width: 768px) {
    .contact-heading {
        font-size: 1.5rem;
    }

    .contact-info p,
    .links-section a {
        font-size: 0.9rem;
    }

    .map-container {
        height: 180px;
    }

    .social-media a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* Small phones / very small screens */
@media (max-width: 480px) {
    .contact-heading {
        font-size: 1.25rem;
    }

    .contact-info p,
    .links-section a {
        font-size: 0.85rem;
    }

    .map-container {
        height: 150px;
    }

    .social-media {
        justify-content: center;
        gap: 0.75rem;
    }

    .social-media a {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}













