/* WIN TAI MARINE - Shared Styles */
:root {
    --navy-deep: #0A1628;
    --navy-primary: #1E3A5F;
    --navy-light: #2E5A88;
    --teal-accent: #4ECDC4;
    --white: #FFFFFF;
    --gray-light: #F8FAFC;
    --gray-medium: #94A3B8;
    --gray-dark: #64748B;
    --gold-accent: #C9A227;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--navy-deep);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav.transparent {
    background: transparent;
    box-shadow: none;
}

.nav.transparent.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.logo-text span {
    display: block;
    font-size: 0.6rem;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-accent);
    transition: width 0.3s ease;
}

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

.nav-contact {
    background: var(--teal-accent);
    color: var(--navy-deep);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-contact:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-primary) 50%, var(--navy-light) 100%);
    padding: 10rem 5% 5rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 50 Q25 30 50 50 T100 50' fill='none' stroke='rgba(78,205,196,0.08)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 200px 100px;
    animation: wave 15s linear infinite;
}

@keyframes wave {
    0% { background-position: 0 0; }
    100% { background-position: 200px 0; }
}

.page-header-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
}

.breadcrumb {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--teal-accent);
    text-decoration: none;
}

.breadcrumb span {
    color: rgba(255,255,255,0.6);
}

/* Section Styling */
section {
    padding: 5rem 5%;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-label {
    color: var(--teal-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy-deep);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-desc {
    color: var(--gray-dark);
    font-size: 1.1rem;
}

/* Buttons */
.btn-primary {
    background: var(--teal-accent);
    color: var(--navy-deep);
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--navy-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(78,205,196,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--navy-primary);
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--navy-primary);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--navy-primary);
    color: var(--white);
}

/* Footer */
footer {
    background: var(--navy-deep);
    color: var(--white);
    padding: 4rem 5% 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo { margin-bottom: 1.5rem; }

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

.footer-links h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--teal-accent); }

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(78,205,196,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover { background: var(--teal-accent); }

.social-link svg {
    width: 20px;
    height: 20px;
    stroke: var(--teal-accent);
    stroke-width: 2;
    fill: none;
}

.social-link:hover svg { stroke: var(--navy-deep); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

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

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--navy-deep);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        gap: 2rem;
    }
    .nav-links.active { right: 0; }
    .nav-contact { display: none; }
    .footer-content { grid-template-columns: 1fr; }
}
