/* VARIABLES - Caramel, Coffee & Cream Palette */
:root {
    --primary: #c98a6c;
    --primary-light: #e6b8a2;
    --primary-dark: #9b5a3e;
    --secondary: #d4a373;
    --secondary-light: #faedcd;
    --bg-main: #fcf9f2;
    --bg-card: #ffffff;
    --bg-alt: #f1ede1;
    --text-dark: #4a3b32;
    --text-muted: #8c7667;
    --shadow-sm: 0 4px 12px rgba(139, 94, 52, 0.05);
    --shadow-md: 0 10px 30px rgba(139, 94, 52, 0.08);
    --shadow-hover: 0 20px 40px rgba(201, 138, 108, 0.15);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-pill: 9999px;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* BASE STYLES (same as your CSS) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    cursor: none; /* Hide default cursor */
}

/* CUSTOM CURSOR */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-dark);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
}

.cursor-paw {
    width: 30px;
    height: 30px;
    color: var(--primary);
    font-size: 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: left 0.15s ease-out, top 0.15s ease-out, transform 0.2s;
    opacity: 0.7;
}

/* Show normal cursor on links to ensure usability */
a, button, .btn {
    cursor: pointer;
}

a:hover ~ .cursor-paw,
button:hover ~ .cursor-paw,
.btn:hover ~ .cursor-paw {
    transform: translate(-50%, -50%) scale(1.5) rotate(15deg);
    opacity: 1;
}

h1,
h2,
h3,
h4,
.logo {
    color: var(--text-dark);
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
}

.cursive-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.section {
    padding: 100px 20px;
}

.bg-light {
    background-color: var(--bg-alt);
    background-image: radial-gradient(var(--secondary-light) 1px, transparent 1px);
    background-size: 20px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary);
}

.w-100 {
    width: 100%;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 6px 20px rgba(155, 90, 62, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(155, 90, 62, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

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

.logo {
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.navbar.scrolled .logo {
    color: var(--primary-dark);
    text-shadow: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: var(--transition);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
    text-shadow: none;
}

.nav-links a:hover {
    color: var(--secondary);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: white;
    padding: 10px 20px;
    border-radius: var(--radius-md);
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    background: url("https://images.unsplash.com/photo-1514888286974-6c03e2ca1dba?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(74, 59, 50, 0.5), rgba(74, 59, 50, 0.85));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: white;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 5px;
}

.hero .cursive-subtitle {
    color: var(--secondary);
    font-size: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 25px;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* CARDS */
.about-card,
.cat-card,
.contact-form-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative; /* ensure absolute positioning inside */
}

.about-card:hover,
.cat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* CAT GRID */
.cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.cat-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.cat-info {
    margin-top: 20px;
}

.cat-info h3 {
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.cat-info .cat-breed,
.cat-info .cat-age {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-card {
    border: 3px solid var(--primary-light);
    border-radius: var(--radius-lg);
}

/* Cat Ears for Form */
.contact-form-card::before,
.contact-form-card::after {
    content: '';
    position: absolute;
    top: -25px;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 45px solid var(--primary-light);
    z-index: -1;
    transition: var(--transition);
}

.contact-form-card::before {
    left: 40px;
    transform: rotate(-15deg);
}

.contact-form-card::after {
    right: 40px;
    transform: rotate(15deg);
}

.contact-form-card:hover::before {
    transform: rotate(-25deg) scale(1.1);
}

.contact-form-card:hover::after {
    transform: rotate(25deg) scale(1.1);
}

.form-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-status.success {
    display: block;
    background-color: var(--secondary-light);
    color: var(--primary-dark);
    border: 1px solid var(--secondary);
    animation: fadeIn 0.4s ease-out;
}

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

/* FOOTER */
.footer {
    background: linear-gradient(to bottom, var(--text-dark), #1a1625);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 20px 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 40px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.brand-col .footer-logo {
    color: white;
    margin-bottom: 15px;
    display: inline-flex;
    text-shadow: none;
}

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

.links-col ul, .contact-info {
    list-style: none;
}

.links-col li, .contact-info li {
    margin-bottom: 12px;
}

.links-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.links-col a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    color: var(--primary-light);
    margin-top: 5px;
}

.social-col p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(155, 126, 222, 0.4);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* LIGHTBOX OVERLAY */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    max-width: 90%;
    max-height: 90vh;
    width: 600px;
    position: relative;
    box-shadow: var(--shadow-hover);
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow-y: auto;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.close-lightbox {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--text-muted);
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.close-lightbox:hover {
    color: var(--primary-dark);
    transform: rotate(90deg);
}

#lightbox-img {
    width: 100%;
    object-fit: contain;
    max-height: 50vh;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.lightbox-info {
    text-align: center;
}

.lightbox-info h3 {
    color: var(--primary-dark);
    font-size: 2rem;
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
}

.lightbox-info .lightbox-extra {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.lightbox-info p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Hover Effect for Lightbox */
.cat-card .cat-img {
    cursor: pointer;
    transition: var(--transition);
}

.cat-card:hover .cat-img {
    transform: scale(1.05); /* Slight zoom to indicate clickability */
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Cats Container */
.floating-cats {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

/* Each Cat */
.floating-cats span {
  position: absolute;
  bottom: -50px;
  font-size: 24px;
  animation: floatUp 10s linear infinite;
  opacity: 0.8;
}

/* Different positions & speeds */
.floating-cats span:nth-child(1) {
  left: 10%;
  animation-duration: 8s;
}
.floating-cats span:nth-child(2) {
  left: 30%;
  animation-duration: 12s;
}
.floating-cats span:nth-child(3) {
  left: 50%;
  animation-duration: 10s;
}
.floating-cats span:nth-child(4) {
  left: 70%;
  animation-duration: 14s;
}
.floating-cats span:nth-child(5) {
  left: 90%;
  animation-duration: 9s;
}

/* Floating Animation */
@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(-110vh) scale(1.5);
    opacity: 0;
  }
}
