/* Main Layout CSS - Common across all pages using main layout */

:root {
    --color-bg: #000000;
    --color-primary: #00AEEF;
    --color-text: #FFFFFF;
    --color-text-secondary: #AAAAAA;
    --color-border: #00AEEF;
    --font-main: 'Poppins', sans-serif;
    --max-width: 1400px;
    --section-spacing: 100px;
}

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

html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0095cc;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

main {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

/* Header */
.main-header {
    border-bottom: 1px solid var(--color-primary);
    padding: 20px 40px;
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 174, 239, 0.1);
    transition: all 0.3s ease;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 174, 239, 0.3));
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(0, 174, 239, 0.8));
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: var(--color-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(0, 174, 239, 0.5);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link.active-section {
    color: var(--color-primary);
}

.nav-link.active-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 174, 239, 0.7);
}

.cta-button {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 10px 20px;
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--color-primary);
    transition: width 0.4s ease, height 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.cta-button:hover {
    color: var(--color-bg);
    box-shadow: 0 0 20px rgba(0, 174, 239, 0.5), 0 0 40px rgba(0, 174, 239, 0.2);
    transform: translateY(-2px);
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

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

/* Footer */
.main-footer {
    border-top: 1px solid var(--color-primary);
    padding: 40px 40px;
    margin-top: var(--section-spacing);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    display: block;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--color-primary);
}

/* Common Section Styles */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    max-width: var(--max-width);
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 174, 239, 0.5);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    text-shadow: 0 0 30px rgba(0, 174, 239, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    box-shadow: 0 0 10px rgba(0, 174, 239, 0.8);
}

