/* ===== VARIABLES ===== */
:root {
    --navy-dark: #1a2b4a;
    --navy-medium: #2d4263;
    --navy-light: #3d5a80;
    --gold: #c9963d;
    --gold-light: #d4a855;
    --gold-dark: #b8852d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --text-dark: #1a2b4a;
    --text-light: #ffffff;
    --shadow: rgba(26, 43, 74, 0.15);
    --shadow-heavy: rgba(26, 43, 74, 0.3);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px var(--shadow-heavy);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container {
    max-width: 250px;
}

.logo {
    width: 100%;
    height: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--navy-dark);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--navy-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 50%, var(--navy-light) 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0 L50 50 L0 100 M50 0 L100 50 L50 100" stroke="rgba(201,150,61,0.05)" fill="none"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(26, 43, 74, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-icon {
    max-width: 200px;
    margin: 0 auto 50px;
    animation: fadeInDown 1s ease-out, float 3s ease-in-out infinite;
}

.hero-icon svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(201, 150, 61, 0.4));
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.title-main {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-sub {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.2rem;
    margin: 30px 0 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-left: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(-45deg);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(201, 150, 61, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-full {
    width: 100%;
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gold);
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--navy-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 100px 0;
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--gold);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-heavy);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    color: var(--gold);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--navy-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: var(--navy-light);
    line-height: 1.7;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--navy-light);
    margin: 30px 0;
}

.about-description strong {
    color: var(--navy-dark);
    font-weight: 700;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    min-width: 80px;
}

.feature-text {
    font-size: 1rem;
    color: var(--navy-dark);
    font-weight: 600;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-text-logo {
    max-width: 450px;
    width: 100%;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium));
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow-heavy);
    position: relative;
    overflow: hidden;
}

.about-text-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(201, 150, 61, 0.1), transparent 60%);
    pointer-events: none;
}

.text-logo-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.text-logo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
}

.text-logo-icon svg {
    width: 100%;
    height: 100%;
}

.text-logo-main {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 4px;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.text-logo-line {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 25px;
}

.text-logo-sub {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.6;
}

/* ===== ADVANTAGES SECTION ===== */
.advantages {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium));
    color: var(--white);
}

.advantages .section-title {
    color: var(--white);
}

.advantages .title-underline {
    background: var(--gold);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(201, 150, 61, 0.2);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.advantage-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0.7;
}

.advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.advantage-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 0;
    background: var(--light-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--navy-light);
    margin: 30px 0 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
}

.contact-text h4 {
    color: var(--navy-dark);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-text a,
.contact-text p {
    color: var(--navy-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--gold);
}

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: #999;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.85rem;
    background: var(--white);
    padding: 0 5px;
    color: var(--gold);
}

.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-color: var(--navy-light);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-info {
    flex: 1;
    max-width: 500px;
}

.footer-logo img {
    max-width: 280px;
    height: auto;
    margin-bottom: 20px;
}

.footer-tagline {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-text {
    display: flex;
    align-items: flex-end;
}

.footer-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-text-logo {
        max-width: 400px;
        margin: 0 auto;
        padding: 50px 30px;
    }

    .text-logo-main {
        font-size: 2rem;
    }

    .text-logo-sub {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: 0 5px 15px var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .logo-container {
        max-width: 200px;
    }

    .hero-icon {
        max-width: 150px;
    }

    .title-main {
        font-size: 2.2rem;
    }

    .title-sub {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: left;
    }

    .footer-info {
        max-width: 100%;
    }

    .footer-text {
        width: 100%;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .logo-container {
        max-width: 160px;
    }

    .hero-icon {
        max-width: 120px;
    }

    .title-main {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .title-sub {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .footer-logo img {
        max-width: 220px;
    }
}