/* CSS Variables for Dynamic Theming */
:root {
    /* Light Theme Colors */
    --primary-color: #00b4d8;
    --secondary-color: #0077b6;
    --accent-color: #ff6b35;
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --background-primary: #ffffff;
    --background-secondary: #f8f9fa;
    --background-overlay: rgba(0, 0, 0, 0.1);
    --border-color: #e9ecef;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --logo-bg: #1a1a1a;
    --logo-alpha: #00d4aa;
    --logo-text: #cccccc;
    --contact-bg: rgba(255, 255, 255, 0.9);
    --footer-bg: #2c3e50;
    --footer-text: #ffffff;
    --footer-link: #00b4d8;
}

/* Dark Theme Colors */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #00d4aa;
        --secondary-color: #00b4d8;
        --accent-color: #ff6b35;
        --text-primary: #ffffff;
        --text-secondary: #b0b0b0;
        --background-primary: #1a1a1a;
        --background-secondary: #2d2d2d;
        --background-overlay: rgba(0, 0, 0, 0.3);
        --border-color: #404040;
        --shadow-color: rgba(0, 0, 0, 0.3);
        --logo-bg: #2d2d2d;
        --logo-alpha: #00d4aa;
        --logo-text: #ffffff;
        --contact-bg: rgba(45, 45, 45, 0.9);
        --footer-bg: #1a1a1a;
        --footer-text: #ffffff;
        --footer-link: #00d4aa;
    }
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
}

.shape-5 {
    width: 70px;
    height: 70px;
    top: 40%;
    left: 60%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Main Container */
.main-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 2rem 0;
}

/* Logo Section */
.logo-section {
    margin-bottom: 3rem;
}

.logo-container {
    display: inline-block;
    position: relative;
}

.logo {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

.logo-letter {
    position: absolute;
    font-size: 4rem;
    font-weight: 700;
    color: var(--logo-bg);
    font-family: 'Playfair Display', serif;
    z-index: 1;
}

.logo-alpha {
    position: absolute;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--logo-alpha);
    font-family: 'Playfair Display', serif;
    z-index: 2;
    transform: translateX(-5px) translateY(-5px);
    animation: alphaPulse 2s ease-in-out infinite;
}

.logo-text {
    position: absolute;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--logo-text);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    transform: rotate(-15deg) translateX(15px) translateY(-10px);
    z-index: 3;
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(0, 212, 170, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(0, 212, 170, 0.6));
    }
}

@keyframes alphaPulse {
    0%, 100% {
        opacity: 1;
        transform: translateX(-5px) translateY(-5px) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-5px) translateY(-5px) scale(1.05);
    }
}

/* Content Section */
.content-section {
    max-width: 800px;
    margin: 0 auto;
}

/* Main Title */
.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.title-line {
    display: block;
    margin-bottom: 0.5rem;
}

.highlight {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Subtitle */
.subtitle {
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.subtitle-text {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-secondary);
    font-style: italic;
}

/* Lottie Animation Container */
.lottie-container {
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

#lottie-animation {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--contact-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px var(--shadow-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Section */
.contact-section {
    opacity: 0;
    animation: fadeInUp 1s ease-out 2s forwards;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    background: var(--contact-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-info p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Social Section */
.social-section {
    opacity: 0;
    animation: fadeInUp 1s ease-out 2.5s forwards;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--contact-bg);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 2rem 0;
    margin-top: 4rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 3s forwards;
}

.footer-text {
    margin: 0;
    font-size: 0.9rem;
}

.footer-link {
    color: var(--footer-link);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle-text {
        font-size: 1.2rem;
    }
    
    .logo {
        width: 100px;
        height: 100px;
    }
    
    .logo-letter {
        font-size: 3rem;
    }
    
    .logo-alpha {
        font-size: 2.5rem;
    }
    
    .logo-text {
        font-size: 0.8rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    #lottie-animation {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.5rem;
    }
    
    .subtitle-text {
        font-size: 1rem;
    }
    
    .logo {
        width: 80px;
        height: 80px;
    }
    
    .logo-letter {
        font-size: 2.5rem;
    }
    
    .logo-alpha {
        font-size: 2rem;
    }
    
    .logo-text {
        font-size: 0.7rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
.social-link:focus,
.contact-item:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .background-animation,
    .floating-shapes,
    .social-section {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
