@import url('https://fonts.googleapis.com/css2?family=Saira:wght@400;600;700&display=swap');

:root {
    --brand-red: #E02828;
    --tagline-color: #333333;
    --bg-color: #ffffff;
    --text-color: #333333;
    --nav-color: #666666;
    --nav-active: #000000;
    --button-bg: #E02828;
    --button-text: #ffffff;
    --transition-speed: 0.3s;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #f5f5f5;
    --tagline-color: #cccccc;
    --nav-color: #aaaaaa;
    --nav-active: #ffffff;
    --button-bg: #E02828;
    --button-text: #ffffff;
}

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

body {
    font-family: 'Saira', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color var(--transition-speed), color var(--transition-speed);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
header {
    padding: 2rem 5%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    gap: 2rem;
    margin-right: 3rem;
}

nav a {
    text-decoration: none;
    color: var(--nav-color);
    font-weight: 600;
    font-size: 1rem;
    transition: color var(--transition-speed);
    cursor: pointer;
}

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

/* Theme Switch */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    display: inline-block;
    height: 24px;
    position: relative;
    width: 44px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 16px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 16px;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--brand-red);
}

input:checked+.slider:before {
    transform: translateX(20px);
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.content-section {
    display: none;
    animation: fadeIn 0.8s ease-out forwards;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Home Section */
.logo {
    font-size: 5rem;
    font-weight: 700;
    color: var(--brand-red);
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.tagline {
    font-size: 1.5rem;
    color: var(--tagline-color);
    margin-bottom: 3rem;
    font-weight: 400;
}

.btn-contact {
    display: inline-block;
    background-color: var(--button-bg);
    color: var(--button-text);
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(224, 40, 40, 0.4);
}

/* Contact Section */
.address-card {
    font-size: 1.8rem;
    line-height: 1.8;
}

.address-card strong {
    display: block;
    margin-bottom: 1rem;
    color: var(--brand-red);
}

.address-card a {
    color: var(--text-color);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    header {
        justify-content: center;
        flex-direction: column-reverse;
        gap: 1rem;
        padding: 1rem;
    }

    nav {
        margin-right: 0;
    }
}