@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary: #003366;
    --primary-light: #164e8a;
    --primary-dark: #002244;
    --secondary: #d6b88b;
    /* A subtle gold/bronze for accents, fits the history */
    --text-main: #333333;
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-light: #f5f7fa;
    --bg-gray: #eaeaeb;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
.section-subtitle {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.text-center {
    text-align: center;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 65px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary);
    color: var(--bg-white);
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    border: 2px solid var(--primary);
    cursor: pointer;
}

.btn:hover {
    background-color: var(--bg-white);
    color: var(--primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
}

/* Layout Sections */
section {
    padding: 5rem 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('public/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--bg-white);
    margin-top: 0;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    color: var(--bg-white);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: backwards;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: backwards;
}

.hero .btn-outline {
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.hero .btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary);
}

.badge-sinds {
    position: absolute;
    top: 100px;
    right: 5%;
    width: 120px;
    height: 120px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-dark);
    font-family: var(--font-heading);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: rotate(15deg);
    animation: float 4s ease-in-out infinite;
    z-index: 10;
}

.badge-sinds span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.badge-sinds strong {
    font-size: 1.8rem;
    line-height: 1;
}

/* Service Highlights */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 250px;
    width: 100%;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.service-link:hover::after {
    transform: translateX(5px);
}

/* History Block */
.history-section {
    background-color: var(--bg-light);
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.history-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.history-image img {
    width: 100%;
    display: block;
}

.history-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 10px solid var(--secondary);
    box-sizing: border-box;
    transform: translate(20px, 20px);
    z-index: -1;
}

/* Timeline */
.timeline {
    margin-top: 3rem;
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--primary-light);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--secondary);
    border: 2px solid var(--bg-white);
}

.timeline-date {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 1rem;
    background: white;
    padding: 10px;
    border-radius: 4px;
}

.footer-links h4 {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(15deg);
    }

    50% {
        transform: translateY(-10px) rotate(12deg);
    }

    100% {
        transform: translateY(0) rotate(15deg);
    }
}

/* Contact Section & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 3rem;
    border-radius: 8px;
}

.contact-info h3 {
    color: var(--bg-white);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-top: 5px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2rem;
}

/* Full Pages Additions */
.page-header {
    background-color: var(--primary-dark);
    padding: 10rem 0 5rem;
    text-align: center;
    color: var(--bg-white);
}

.page-header h1 {
    color: var(--bg-white);
    font-size: 3rem;
}

/* Responsive */
@media (max-width: 900px) {

    .history-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .badge-sinds {
        display: none;
    }

    .hero {
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }
}