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

:root {
    --primary-color: #FDB813;
    --secondary-color: #65BEC2;
    --secondary-hover: #50AAB0;
    --bg-color: #E1E9F0;
    --bg-alt: #EFF4F7;
    --text-color: #2B2C28;
    --text-light: #555651;
    --white: #FFFFFF;
    --footer-bg: #1A1A1A;
    --footer-text: #E0E0E0;
    --nav-height: 110px; /* Account for top bar and nav */
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Header & Nav */
header {
    background-color: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.top-bar {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.top-bar a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

nav a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.social-icons a {
    color: var(--text-color);
    font-size: 1.3rem;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(101, 190, 194, 0.4);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(101, 190, 194, 0.6);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 750px;
    display: flex;
    align-items: center;
    padding: 0 5%;
    margin-top: var(--nav-height); /* Offset fixed header */
    background-image: url('images/herodog.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(225,233,240,0.95) 0%, rgba(225,233,240,0.8) 50%, rgba(225,233,240,0) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
    animation: fadeInLeft 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-mobile-logo {
    max-width: 300px;
    margin-bottom: 30px;
    display: none;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-color);
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hero h1 .highlight {
    color: var(--primary-color);
    text-shadow: 1px 1px 0px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 500;
    max-width: 550px;
}

/* Features Section */
.features {
    padding: 120px 5%;
    background-color: var(--bg-alt);
    text-align: center;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--bg-alt);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    z-index: 2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 80px auto 0;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: var(--white);
    border-radius: 24px;
    padding: 70px 30px 40px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.feature-img-wrapper {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 6px solid var(--white);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    background-color: var(--bg-color);
}

.feature-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-img-wrapper img {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 10px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(101, 190, 194, 0.3);
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    padding: 80px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cta h2 {
    color: var(--text-color);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.cta .btn-cta {
    background-color: var(--text-color);
    color: var(--white);
    font-size: 1.2rem;
    padding: 15px 40px;
    position: relative;
    z-index: 2;
}

.cta .btn-cta:hover {
    background-color: #000;
    transform: translateY(-3px) scale(1.05);
}

/* Footer Section */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 80px 5% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 50px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 15px;
}

.footer-col a {
    color: #A0A0A0;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 0.95rem;
    color: #777;
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.footer-bottom-links a {
    color: #777;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-container {
        flex-wrap: wrap;
    }
    nav ul {
        display: none; /* In a real app, implement a hamburger menu here */
    }
    .hero {
        align-items: center;
        text-align: center;
        background-position: 70% center;
    }
    .hero::before {
        background: linear-gradient(180deg, rgba(225,233,240,0.85) 0%, rgba(225,233,240,0.95) 100%);
    }
    .hero-content {
        margin: 0 auto;
        animation: fadeInUp 1s ease-out;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero-mobile-logo {
        display: inline-block;
    }
    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 10px;
    }
    :root {
        --nav-height: 130px;
    }
    .section-title {
        font-size: 2.3rem;
    }
    .features {
        padding: 80px 5%;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    .footer-bottom-links {
        margin-top: 10px;
    }
    .footer-bottom-links a {
        margin: 0 10px;
    }
}

/* Auth & Dashboard Styles */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 5% 50px;
    background-color: var(--bg-alt);
}

.auth-card {
    background: var(--white);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 500px;
    animation: fadeInUp 0.8s ease;
}

.auth-card h2 {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.auth-form input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--bg-color);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.auth-form .btn {
    width: 100%;
    margin-top: 10px;
    font-size: 1.1rem;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

.error-msg, .success-msg {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.error-msg {
    background: #ffebee;
    color: #c62828;
}

.success-msg {
    background: #e8f5e9;
    color: #2e7d32;
}

.dashboard-page {
    padding: 180px 5% 80px;
    min-height: 100vh;
    background-color: var(--bg-color);
}

.dashboard-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bg-color);
}

.dashboard-header h1 {
    font-size: 2.2rem;
    color: var(--text-color);
}

/* About Us Page */
.about-hero {
    background-image: url('https://dogomnia.com/wp-content/uploads/2025/04/Denis-header.jpg');
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(253, 184, 19, 0.8) 0%, rgba(101, 190, 194, 0.8) 100%);
}

.about-hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 800px;
    padding: 0 5%;
    margin-top: calc(var(--nav-height) + 30px);
}

.about-hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.about-hero-content p {
    font-size: 1.4rem;
    font-weight: 500;
}

/* Story Layout Styles */
.story-wrapper {
    background-color: var(--bg-alt);
    padding-bottom: 80px;
}

.story-container {
    max-width: 1000px;
    margin: -100px auto 0;
    padding: 90px 15%;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    position: relative;
    z-index: 20;
}

.story-content {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-light);
}

.story-content p {
    margin-bottom: 30px;
}

.story-content h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-top: 60px;
    margin-bottom: 25px;
    font-weight: 800;
}

.story-content h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.drop-cap::first-letter {
    float: left;
    font-size: 5rem;
    line-height: 0.8;
    padding-right: 15px;
    padding-top: 10px;
    color: var(--primary-color);
    font-weight: 900;
    font-family: serif;
}

.img-float-right {
    float: right;
    margin: 10px 0 30px 40px;
    width: 45%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: transform 0.4s ease;
}

.img-float-left {
    float: left;
    margin: 10px 40px 30px 0;
    width: 45%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: transform 0.4s ease;
}

.img-float-right:hover, .img-float-left:hover {
    transform: scale(1.02);
}

.story-quote {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    margin: 60px 0;
    padding: 40px 50px;
    border-left: 6px solid var(--primary-color);
    border-right: 6px solid var(--secondary-color);
    background: linear-gradient(90deg, rgba(253, 184, 19, 0.05) 0%, rgba(101, 190, 194, 0.05) 100%);
    border-radius: 16px;
    font-style: italic;
    position: relative;
    clear: both;
}

.story-quote::before {
    content: '"';
    font-family: serif;
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(253, 184, 19, 0.2);
    line-height: 1;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
    margin-bottom: 50px;
    align-items: center;
    clear: both;
}

.mission-grid img {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    width: 100%;
}

.photo-gallery {
    padding: 80px 5%;
    text-align: center;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px 20px;
    transition: bottom 0.4s ease;
    text-align: left;
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

.gallery-overlay h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: var(--primary-color);
    font-weight: 600;
}

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

@media (max-width: 900px) {
    .img-float-right, .img-float-left {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .about-hero-content h1 { font-size: 3rem; }
    .img-float-right, .img-float-left {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 20px 0 30px 0;
    }
    .story-container {
        padding: 50px 6%;
        margin-top: -50px;
        border-radius: 20px;
    }
    .drop-cap::first-letter {
        font-size: 4rem;
    }
    .mission-grid {
        grid-template-columns: 1fr;
    }
}

