/* Modern Home Page - Orange Red Theme */
:root {
    --primary-orange: #ff4500;
    --dark-orange: #cc0000;
    --light-orange: #ff6b35;
    --accent-orange: #ff8c42;
    --bg-dark: #1a0a0a;
    --bg-darker: #2d0a0a;
    --text-light: #ffffff;
    --text-gray: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --gradient-orange: linear-gradient(135deg, #ff4500 0%, #cc0000 100%);
    --gradient-dark: linear-gradient(135deg, rgba(255, 69, 0, 0.3) 0%, rgba(204, 0, 0, 0.3) 100%);
}

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

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.background-image {
    background-image: url("/img/index-background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.25) 0%, rgba(204, 0, 0, 0.25) 100%);
}

.main {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.transparent-box {
    display: flex;
    padding: 50px 40px;
    max-width: 1300px;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 250, 245, 0.85) 100%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(255, 69, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2); 
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.transparent-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 69, 0, 0.02) 10px,
        rgba(255, 69, 0, 0.02) 20px
    );
    animation: movePattern 20s linear infinite;
    pointer-events: none;
}

@keyframes movePattern {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.transparent-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 69, 0, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(204, 0, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.section-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-right: 40px;
    border-right: 3px solid transparent;
    border-image: linear-gradient(180deg, transparent, rgba(255, 69, 0, 0.4), transparent) 1;
    position: relative;
    z-index: 1;
}

.section-left::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 60%;
    background: linear-gradient(180deg, transparent, rgba(255, 69, 0, 0.3), transparent);
    filter: blur(4px);
}

.section-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 40px;
    position: relative;
    z-index: 1;
}

.aifiretechlogo {
    width: 200px;
    height: auto;
    display: block;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 12px rgba(255, 69, 0, 0.3)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-align: left;
    margin-top: 20px;
}

.title h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(255, 69, 0, 0.1);
}

.title-hr {
    border: none;
    height: 4px;
    background: var(--gradient-orange);
    width: 80px;
    margin: 20px 0;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.4);
    position: relative;
}

.title-hr::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.title p {
    background: linear-gradient(135deg, #ff4500, #cc0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.6;
    margin-top: 15px;
}

.menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 300px;
}

.dropdown {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.dropdown button {
    background: var(--gradient-orange);
    width: 100%;
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 119, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.dropdown button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.dropdown button:hover::before {
    left: 100%;
}

.dropdown button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 119, 0, 0.4);
}

.dropdown .content {
    display: none;
    background: white;
    position: absolute;
    width: 100%;
    min-width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    z-index: 1000;
    border: 2px solid rgba(255, 119, 0, 0.3);
}

.dropdown:hover .content,
.dropdown .content:hover {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.dropdown a {
    display: block;
    color: #1a1a2e;
    text-decoration: none;
    padding: 14px 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown a:last-child {
    border-bottom: none;
}

.dropdown a:hover {
    background: linear-gradient(90deg, rgba(255, 119, 0, 0.1), rgba(255, 153, 51, 0.1));
    color: var(--primary-orange);
    padding-left: 28px;
}

.button {
    background: var(--gradient-orange);
    width: 100%;
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 119, 0, 0.3);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 119, 0, 0.4);
}

.menu-hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    width: 100%;
    margin: 25px 0;
}

.social-media {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 1px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.social-media-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.social-media-link form {
    margin: 0;
    padding: 0;
}

.social-media-link input[type="image"] {
    transition: all 0.3s ease;
    filter: grayscale(0);
    border-radius: 50%;
}

.social-media-link input[type="image"]:hover {
    transform: scale(1.1) translateY(-3px);
    filter: brightness(1.2);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fullscreen-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .transparent-box {
        padding: 40px 30px;
    }
    
    .section-left {
        padding-right: 30px;
    }
    
    .section-right {
        padding-left: 30px;
    }
}

@media (max-width: 768px) {
    .background-image {
        background-image: url("/img/index-background-phone.jpg");
        background-attachment: scroll;
    }
    
    .main {
        padding: 10px;
    }
    
    .transparent-box {
        flex-direction: column;
        padding: 30px 20px;
        margin: 15px;
        border-radius: 16px;
    }
    
    .section-left {
        border-right: none;
        border-bottom: 2px solid rgba(255, 119, 0, 0.2);
        padding-right: 0;
        padding-bottom: 30px;
        margin-bottom: 30px;
        align-items: center;
        text-align: center;
    }
    
    .section-right {
        padding-left: 0;
        padding-top: 0;
    }
    
    .aifiretechlogo {
        width: 150px;
        margin: 0 auto 20px;
    }
    
    .title {
        text-align: center;
        margin-top: 10px;
    }
    
    .title h1 {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .title-hr {
        margin: 15px auto;
    }
    
    .title p {
        font-size: 1rem;
    }
    
    .menu {
        max-width: 100%;
        width: 100%;
    }
    
    .button {
        font-size: 15px;
        padding: 14px 20px;
        margin-bottom: 12px;
    }
    
    .dropdown button {
        font-size: 15px;
        padding: 14px 20px;
    }
    
    .dropdown .content {
        font-size: 15px;
    }
    
    .social-media {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .social-media-link {
        gap: 5px;
    }
    
    .social-media-link input[type="image"] {
        max-width: 60px;
        max-height: 60px;
    }
    
    .menu-hr {
        margin: 20px 0;
    }
    
    .fullscreen-image {
        max-width: 95%;
        max-height: 95%;
    }
}

@media (max-width: 480px) {
    .title h1 {
        font-size: 1.1rem;
    }
    
    .title p {
        font-size: 0.9rem;
    }
    
    .button,
    .dropdown button {
        font-size: 14px;
        padding: 12px 18px;
    }
    
    .aifiretechlogo {
        width: 120px;
    }
    
    .social-media-link input[type="image"] {
        max-width: 50px;
        max-height: 50px;
    }
}