/* Import Tabular font from local fonts folder */
@font-face {
    font-family: 'Tabular';
    src: url('fonts/Tabular-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tabular';
    src: url('fonts/Tabular-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tabular';
    src: url('fonts/Tabular-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Tabular';
    src: url('fonts/Tabular-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

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

:root {
    /* Primary colors */
    --primary-red: #D0202A;
    --primary-blue: #3259A3;
    --primary-yellow: #D4DF48;
    --primary: #D0202A;
    
    /* Background colors */
    --background-primary: #E4E2DD;
    --background-secondary: #EAECE7;
    --background-dark: #202020;
    
    /* Border colors */
    --border-on-light: #C9C8C7;
    --border-on-dark: rgba(228, 226, 221, 0.1);
    
    /* Text colors */
    --text-on-default: #202020;
    --text-on-light-primary: #202020;
    --text-on-light-secondary: rgba(32, 32, 32, 0.7);
    --text-on-dark-primary: #FFFFFF;
    --text-on-dark-secondary: rgba(255, 255, 255, 0.7);
    
    /* Neutral colors */
    --neutral-0: #ffffff;
    --neutral-50: #ebecee;
    --neutral-100: #c1c4c9;
    --neutral-200: #a3a8af;
    --neutral-300: #79808a;
    --neutral-400: #5f6774;
    --neutral-500: #374151;
    --neutral-600: #323b4a;
    --neutral-700: #272e3a;
    --neutral-800: #1e242d;
    --neutral-900: #171b22;
}

body {
    font-family: 'Tabular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background-primary);
    color: var(--text-on-default);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-on-light);
    border-top: 4px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-text {
    margin-top: 20px;
    font-size: 18px;
    color: var(--text-on-light-secondary);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Main Content */
#main-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

#main-content.visible {
    opacity: 1;
}

.container {
    text-align: center;
    padding: 40px 20px;
    max-width: 600px;
}

/* Logo Section */
.logo-section {
    margin-bottom: 40px;
}

.logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Page Title */
.page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-on-default);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
    animation: fadeInUp 0.8s ease-out;
}

/* Under Construction Text */
.under-construction {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subtitle {
    font-size: 18px;
    color: var(--text-on-light-secondary);
    margin-bottom: 50px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}


.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.button:active {
    transform: translateY(0);
}

/* Instagram Button */
.button-instagram {
    background-color: var(--primary-red);
    color: var(--text-on-dark-primary);
}

.button-instagram:hover {
    background-color: #b01c24;
}

/* Contact Button */
.button-contact {
    background-color: var(--primary-blue);
    color: var(--text-on-dark-primary);
}

.button-contact:hover {
    background-color: #2a4a8c;
}

/* Notify Button */
.button-notify {
    background-color: var(--primary-yellow);
    color: var(--text-on-default);
}

.button-notify:hover {
    background-color: #c4cf42;
}

/* Instagram Icon */
.instagram-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Responsive Design */
@media (max-width: 640px) {
    .page-title {
        font-size: 24px;
    }
    
    .under-construction {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .button {
        padding: 14px 24px;
        font-size: 14px;
        min-width: 180px;
    }
    
    .logo {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 20px;
    }
    
    .under-construction {
        font-size: 28px;
    }
    
    .container {
        padding: 20px 16px;
    }
}
