/* /css/main.css */

/* NEW: Import a modern font for the logo */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');


/* --- PALETTE 1: Slate & Amber --- */
:root {
    --primary-color: #2d3748;      /* Dark Slate */
    --secondary-color: #f6ad55;    /* Amber */
    --background-color: #f7fafc;   /* Off-white */
    --surface-color: #ffffff;      /* White */
    --text-color: #1a202c;         /* Almost Black */
    --text-light-color: #718096;   /* Slate Gray */
    --border-color: #e2e8f0;       /* Light Gray */
    --shadow-color: rgba(0, 0, 0, 0.05);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}


/* Global Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    /* A slightly darker amber for hover effect */
    color: #dd9b4d; 
}

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

/* Main Layout - This class is no longer used, but kept for reference */
.content-area {
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* /css/main.css */

/* --- Updated Footer Styles --- */
.site-footer-bottom {
    padding: 2.5rem 5%;
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-about {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.footer-title {
    font-family: 'Poppins', var(--font-family);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 1rem;
    color: var(--text-light-color);
    line-height: 1.7;
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--text-light-color);
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}


/* --- Scroll to Top Button Styles --- */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--secondary-color);
}

/* --- NEW: Custom Cursor Styles --- */

/* Hide the default system cursor on devices that can hover */
@media (hover: hover) and (pointer: fine) {
    * {
        cursor: none;
    }
}

.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: opacity 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color); /* Amber dot */
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--secondary-color);
    transition-duration: 0s; /* Outline moves instantly */
}

/* Style for when hovering over interactive elements */
.cursor-outline.grow {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.5;
}


/* --- NEW: Loading Screen Styles --- */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color); /* Matches your site background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top of everything */
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out; /* For fade out effect */
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Allows clicks through once hidden */
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--secondary-color); /* Use your amber secondary color for a modern look */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite; /* Spin animation */
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-screen p {
    font-size: 1.25rem; /* Slightly larger text */
    color: var(--primary-color); /* Use your primary dark slate color for better contrast */
    font-family: 'Poppins', var(--font-family); /* Use the same modern font as your logo */
    font-weight: 600; /* Make it bolder */
    opacity: 0; /* Start hidden for animation */
    animation: text-fade-in 1s ease-out forwards; /* Text fade-in animation */
    animation-delay: 0.2s; /* Delay the text animation slightly after spinner starts */
}

@keyframes text-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

