/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --primary-color: #fcfbf9; /* warm white / ivory */
  --text-color: #333333; /* charcoal */
  --text-light: #666666;
  --accent-color: #d8b4a0; /* soft brown / dusty pink tone */
  --bg-color: #fdfcfb;
  --bg-alt: #f7f3f0; /* soft beige */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', 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-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--text-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--accent-color);
  color: #fff;
}

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

.btn-outline:hover {
  background-color: var(--text-color);
  color: #fff;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(253, 252, 251, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 40px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--text-color);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 80px);
  background-color: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
  z-index: 2;
}

.hero-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  flex: 1;
  height: calc(100vh - 80px);
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Intro */
.about-intro {
  text-align: center;
  background-color: #fff;
}

.about-intro h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.about-intro p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  color: var(--text-light);
}

/* Features */
.features {
  background-color: var(--bg-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #fff;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: var(--transition);
}

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: width 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-14px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-card:hover::after {
    width: 60%;
}

.feature-card .feature-icon {
    display: inline-block;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.25) rotate(-8deg);
}.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: width 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-14px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-card:hover::after {
    width: 60%;
}

.feature-card .feature-icon {
    display: inline-block;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.25) rotate(-8deg);
}

/* Gallery */
.gallery {
  background-color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.gallery-image-wrap {
  width: 100%;
  height: 400px;
  overflow: hidden;
  background-color: var(--bg-alt);
}

.gallery-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image-wrap img {
  transform: scale(1.05);
}

.gallery-content {
  padding: 1.5rem;
  background: #fff;
  text-align: center;
}

.category-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
  display: block;
  margin-bottom: 0.5rem;
}

.gallery-content h3 {
  margin: 0;
  font-size: 1.2rem;
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--text-color);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Editorial / Why Cotora */
.editorial {
  background-color: var(--bg-alt);
}

.editorial-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.editorial-image {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  background-color: #e5e5e5;
  min-height: 400px;
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-content {
  flex: 1;
}

.editorial-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.editorial-list {
  margin-bottom: 2rem;
}

.editorial-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

.editorial-list li::before {
  content: '✓';
  color: var(--accent-color);
  font-weight: bold;
  margin-right: 10px;
}

/* Callout / Kerala Delivery */
.callout {
  background-color: var(--text-color);
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
}

.callout h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.callout p {
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.callout .btn-primary {
  background-color: #fff;
  color: var(--text-color);
}

.callout .btn-primary:hover {
  background-color: var(--accent-color);
  color: #fff;
}

/* Final CTA */
.final-cta {
  text-align: center;
  background-color: #fff;
}

.final-cta h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background-color: var(--bg-alt);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

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

.footer-brand .logo img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.footer-links h4,
.footer-info h4,
.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-links ul li,
.footer-info ul li,
.footer-contact ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a,
.footer-contact ul li span,
.footer-info ul li {
  color: var(--text-light);
  font-size: 0.95rem;
}

.footer-links ul li a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  color: var(--text-light);
  font-size: 0.9rem;
}

/* About Page Specific */
.page-hero {
  background-color: var(--bg-alt);
  text-align: center;
  padding: 6rem 0;
}

.page-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.about-story {
  background: #fff;
}

.philosophy {
  background-color: var(--bg-alt);
  text-align: center;
}

.philosophy h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.philosophy p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  color: var(--text-light);
}

/* Contact Page Specific */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: #fff;
  padding: 2rem;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.contact-card p {
  color: var(--text-light);
}

.contact-section {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.contact-form-container {
  flex: 1;
  background: #fff;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(216, 180, 160, 0.2);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-message {
  display: none;
  padding: 1rem;
  background-color: #d4edda;
  color: #155724;
  border-radius: 8px;
  margin-top: 1rem;
  text-align: center;
}

.contact-info-side {
  flex: 1;
}

/* Utilities / Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
  }
  .hero-content {
    padding: 4rem 2rem;
    text-align: center;
  }
  .hero-label {
    margin-bottom: 1rem;
  }
  .hero p {
    margin: 0 auto 2rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image {
    width: 100%;
    height: 50vh;
  }
  .editorial-container {
    flex-direction: column;
  }
  .contact-section {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    transition: var(--transition);
  }
  .nav-links.active {
    left: 0;
  }
  .nav-links a {
    font-size: 1.5rem;
  }
  .hamburger {
    display: block;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .about-intro h2, .editorial-content h2, .final-cta h2, .callout h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .about-intro h2, .editorial-content h2, .final-cta h2, .callout h2 {
    font-size: 2rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* What Makes Cotora Different — single-card carousel */
.feature-carousel {
    max-width: 850px;
    width: 92%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
}

.feature-carousel-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.feature-slide {
    flex: 0 0 100%;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3.5rem 4rem;
    box-sizing: border-box;
}

.feature-slide h3 {
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
}

.feature-slide p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.75rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: rgba(51, 51, 51, 0.18);
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent-color);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .feature-carousel {
        width: 90%;
        border-radius: 15px;
    }
    .feature-slide {
        min-height: auto;
        padding: 2.5rem 1.75rem;
    }
    .feature-slide h3 {
        font-size: 1.5rem;
    }
}
.contact-card p a {
    color: var(--text-light);
    text-decoration: none;
    display: inline-block;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.contact-card p a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-card {
    overflow: hidden;
}