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


/* Custom Variables */
:root {
    --primary-color: #2196F3;
    --secondary-color: #FF4081;
    --background-color: #f5f5f5;
    --card-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
    --footer-bg: #1976D2;
    --footer-dark: #1565C0;
}

html, body, 
input, textarea, select, button,
h1, h2, h3, h4, h5, h6,
p, span, a, li {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
}

body {
    font-family: 'Nunito', sans-serif;
}

/* Global Styles */
html {
    height: 100%;
}

/* Background animations */
@keyframes gradientShift {
    0% { background-color: rgba(33, 150, 243, 0.65); }
    50% { background-color: rgba(25, 118, 210, 0.75); }
    100% { background-color: rgba(33, 150, 243, 0.65); }
}

@keyframes bgPan {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@keyframes bgZoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

main {
    flex: 1 0 auto;
    background-color: transparent !important;
    margin-top: 64px; /* Height of navbar */
    padding: 20px 0;
    min-height: calc(100vh - 64px);
    position: relative;
    z-index: 1;
}

/* Navbar Enhancement */
nav {
    box-shadow: var(--card-shadow);
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav .brand-logo {
    font-weight: 500;
    font-size: 1.5rem;
    white-space: nowrap;
}

/* Sidenav Enhancement */
.sidenav {
    top: 64px !important;
    height: calc(100% - 64px) !important;
    background-color: white;
    z-index: 999;
}

.sidenav li > a {
    color: var(--primary-color);
    font-weight: 500;
}

.sidenav li > a:hover {
    background-color: rgba(33, 150, 243, 0.1);
}

@media only screen and (max-width: 600px) {
    nav .brand-logo {
        font-size: 1.2rem;
    }
    
    .sidenav {
        top: 56px !important;
        height: calc(100% - 56px) !important;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(33, 150, 243, 0.5), rgba(25, 118, 210, 0.5)), 
    url('/static/images/pet-background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.4rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}


/* Query Form Enhancement */
.query-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    margin: 10px 0;
}

.query-form .input-field {
    margin-bottom: 20px;
}

.query-form textarea {
    min-height: 120px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: var(--transition);
    margin-top: 10px;
}

.query-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 1px 0 0 var(--primary-color);
}

.query-form textarea:focus + label {
    color: var(--primary-color) !important;
}

.query-form .btn {
    background-color: var(--primary-color);
    transition: var(--transition);
}

.query-form .btn:hover {
    background-color: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Override Materialize default colors */
.input-field input:focus + label,
.input-field textarea:focus + label {
    color: var(--primary-color) !important;
}

.input-field input:focus,
.input-field textarea:focus {
    border-bottom: 1px solid var(--primary-color) !important;
    box-shadow: 0 1px 0 0 var(--primary-color) !important;
}

/* Override Materialize active states */
input:not([type]):focus:not([readonly]),
input[type=text]:focus:not([readonly]),
input[type=password]:focus:not([readonly]),
input[type=email]:focus:not([readonly]),
input[type=url]:focus:not([readonly]),
input[type=time]:focus:not([readonly]),
input[type=date]:focus:not([readonly]),
input[type=datetime]:focus:not([readonly]),
input[type=datetime-local]:focus:not([readonly]),
input[type=tel]:focus:not([readonly]),
input[type=number]:focus:not([readonly]),
input[type=search]:focus:not([readonly]),
textarea.materialize-textarea:focus:not([readonly]) {
    border-bottom: 1px solid var(--primary-color) !important;
    box-shadow: 0 1px 0 0 var(--primary-color) !important;
}

input:not([type]):focus:not([readonly]) + label,
input[type=text]:focus:not([readonly]) + label,
input[type=password]:focus:not([readonly]) + label,
input[type=email]:focus:not([readonly]) + label,
input[type=url]:focus:not([readonly]) + label,
input[type=time]:focus:not([readonly]) + label,
input[type=date]:focus:not([readonly]) + label,
input[type=datetime]:focus:not([readonly]) + label,
input[type=datetime-local]:focus:not([readonly]) + label,
input[type=tel]:focus:not([readonly]) + label,
input[type=number]:focus:not([readonly]) + label,
input[type=search]:focus:not([readonly]) + label,
textarea.materialize-textarea:focus:not([readonly]) + label {
    color: var(--primary-color) !important;
}

/* Override Materialize prefix icon color */
.input-field .prefix.active {
    color: var(--primary-color) !important;
}

/* Response Area Enhancement */
.response-area {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    margin-top: 10px;
    position: relative;
}

.response-area h5 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.response-area p {
    line-height: 1.6;
    color: #424242;
}

/* Features Section */
.features-section {
    padding: 20px 0;
    background: white;
    margin-top: 10px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h5 {
    font-weight: 500;
    margin-bottom: 15px;
}

/* Footer Enhancement */
footer {
    flex-shrink: 0;
    background: var(--footer-bg);
    color: white;
    padding: 10px 0;
    margin-top: 0;
}

footer .container {
    padding-bottom: 20px;
}

footer h5 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 15px;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.9;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a {
    font-size: 0.9rem;
    opacity: 0.9;
    transition: var(--transition);
}

footer ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-copyright {
    background-color: var(--footer-dark) !important;
    padding: 10px 0;
    font-size: 0.9rem;
}

.footer-copyright .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.made-with-love {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.made-with-love i {
    color: #FF4081;
    font-size: 1rem;
    margin: 0 4px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* About Page Styles */
.about-section {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    margin: 40px 0;
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 300;
}

.about-section p {
    line-height: 1.8;
    color: #424242;
    margin-bottom: 20px;
}

.about-section .company-info {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 4px;
    margin-top: 30px;
}

.about-section .company-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 500;
}

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

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Responsive Design */
@media only screen and (max-width: 600px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .carousel {
        height: 300px !important;
    }
    
    .carousel-item {
        height: 300px !important;
    }
    
    .query-form {
        padding: 20px;
    }
    
    .about-section {
        padding: 20px;
    }
} 